Click to See Complete Forum and Search --> : Any Gurus on Net For Printer Problems


Shiv Kumar G.M.
August 27th, 2001, 05:05 AM
Sir,
Sir, I am getting data from table(s), that data is given to Crystal Reports 7.0, where it does

Grouping, sorting and others.

We have a button on the Form. Clicking on button will open the Crystal Report, which has a

toolbar which contains a button for printing.

when I click on that the report will go for printing. I have not written any code to control/do

the printing.

Sir, the printing is done by the Crystal Reports when I click on the print button.

During this, the data gets splitted like this.

Customer No : A001

Date : 1-1-2001
Item Code Item Name
P001 Abc
P002 Xyz

Date : 1-2-2001
Item Code Item Name
P100 ABc1
P110 ABc2
P122 ABc3
P133 ABc4
P130 ABc1
P140 ABc2
P172 ABc3
P183 ABc4

printing will be something like this.
If my page size is say 2" by 2" then the 1-1-2001 will come properly.
1-2-2001 will be splitted over two or three pages, where between each page, it leaves a single

line space which looks
this way.

Date : 1-2-2001
Item Code Item Name
P100 ABc1
P110 ABc2

P122 ABc3
P133 ABc4
P130 ABc1
P140 ABc2

P172 ABc3
P183 ABc4

Please Help me sir,
Thank You,
Shivakumar G.M.

Cimperiali
August 27th, 2001, 05:25 AM
If matter is about splitted records on pages, you may have to redraw your report. Using detail section to show a record will tile together informations about single records. You may repeat intestations (headers) using appropriate sections of Crystal Report. However, the width of the page should be fixed (you should not change it) after you draw your report. If customer printer has different size paper, you may add a printer in control panel which can point to the customer printer with the correct size of paper for your report, and make the report print with that printer.
Hope this may help.

Cesare

Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright, Bruno Paris, Dr_Micahel
and all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.

The Rater