borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Need to print Logo on the top (which changes))Next Topic (Changing Paper Size in data report) New Topic New Poll Post Reply
AndreaVB Forum : Printing : VB Datareport Printing
Poster Message
shakuntala50
Level: Protégé

Registered: 30-01-2006
Posts: 4

icon VB Datareport Printing

Hi

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
View Profile Send Email to User Show All Posts | Quote Reply
GeoffS
Level: VB Lord


Registered: 29-09-2004
Posts: 536
icon 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.

30-01-2006 at 04:27 PM
View Profile Send Email to User Show All Posts | Quote Reply
shakuntala50
Level: Protégé

Registered: 30-01-2006
Posts: 4
icon Re: VB Datareport Printing

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
View Profile Send Email to User Show All Posts | Quote Reply
GeoffS
Level: VB Lord


Registered: 29-09-2004
Posts: 536
icon 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.

01-02-2006 at 08:18 AM
View Profile Send Email to User Show All Posts | Quote Reply
kckoshy
Level: Graduate

Registered: 12-09-2006
Posts: 9
icon Re: VB Datareport Printing

hi
This is a drawback in datareport. try crystal report.


____________________________
kck

18-11-2006 at 04:54 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Printing : VB Datareport Printing
Previous Topic (Need to print Logo on the top (which changes))Next Topic (Changing Paper Size in data report) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder