Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printer Object - Printer not advancing

Status
Not open for further replies.

luanahubbart

Programmer
Jul 28, 2004
18
US
Hi,

I am using the Printer Object to print a report. The first report comes out fine, when I do the 2nd report in the same session, the printer does not advance and prints everything on the same line. I display the CurrentY and it is advancing, but there seems to be no CR on the end of the line to advance the printer.

Any Help will be appreciated!

Thanks.
 
Hi luanahubbart
The only thing I can think of without looking at the code is you have a semi-colon (;) on the last line of your code. Could you post your code?
[bigcheeks]
 
Sorry I forgot to add, and it may seem obvious, but without looking at the code, I am also guessing the you are not issuing the Printer.NewPage command.
[bigcheeks]
 
Thanks, for your response!

I found the problem. I don't know why it does this, but I had the definition of the different fonts I was using in one of the functions that was processed to perform the print. When I moved the definition of the fonts to a function that would only be perform at the startup of the project, the problem was solved! Weird!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top