PaperBin & Printer.CurrentY problem
Code:
Printer.PaperBin = TraySelect
This line is causing me problems, but not with the tray. When I add this line to my code it causes this line to err.
Code:
Printer.CurrentY = Printer.CurrentY - 200
What happens is that the next line after the CurrentY reset prints over the previous line.
I know that I am backing the print up the page with the CurrentY reset, but when I do NOT set the paperbin using the first line of this post everything works out correctly. In addition to this the following pages print out correct either way. Is there some error with the PaperBin property?
Re: PaperBin & Printer.CurrentY problem
You may want to provide us the error description to give us a better view of the problem.
Re: PaperBin & Printer.CurrentY problem
There is no error code. It prints incorrectly.
Re: PaperBin & Printer.CurrentY problem
what is the value of trayselect? is it a constant?
what type of printer?
Re: PaperBin & Printer.CurrentY problem
I found that placing Printer.PaperBin right before the Printer.EndDoc solved my problem. Still do not know why it would screw with the .CurrentY?