When we preview the data report on the screen with multiple pages, it is perfect, but when i print the same on the dot matrix printer , it goes out of aligment after one or two pages. Because of this customer needs to take print one at a time which is very awesome. But if i take a word print with multiple pages on the same printer it does without any problem. Please suggest a solution to this problem.
Shakuntala
30-01-2006 at 10:44 AM
|
GeoffS Level: VB Lord Registered: 29-09-2004 Posts: 536
Re: VB Datareport Printing
Hi,
Guessing that you are using the VB6 DataReport Designer. Try changing the TopMargin and BottomMargin Properties so that you get the correct amount of feed between pages.
____________________________ multi-tasking - the ability to hang more than one app. at the same time.
Yes, I am using VB6 data reports. I have set the margins correctly. That is why in the preview the pages are shown properly, but when i print thru dot matrix, the content of 2nd page is moved to 3rd and so on.....
Shakuntala
01-02-2006 at 04:27 AM
|
GeoffS Level: VB Lord Registered: 29-09-2004 Posts: 536
Re: VB Datareport Printing
Hi,
Don't confuse the fact that the Print Preview shows each page seperately with the belief that top and bottom margins are correct. When a print job is sent to a printer it will be reformatted according to that particular printer's settings, which will probably include its own internal settings about margin and paper sizes. Check the setup pages of the actual Printer to see if you are able to adjust print position settings, and if you are using continuous fan-fold paper in the printer have you set that size correctly in your Report settings. You will need to ensure that all these are correct as it sounds to me as though you have either too much content for the size of the paper, or you are advancing the paper in the printer too far (by the size of the top and bottom margins) before the next page starts to print.
____________________________ multi-tasking - the ability to hang more than one app. at the same time.