|
-
Oct 5th, 2009, 11:22 AM
#1
Thread Starter
Fanatic Member
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?
-
Oct 5th, 2009, 11:47 AM
#2
Re: PaperBin & Printer.CurrentY problem
You may want to provide us the error description to give us a better view of the problem.
-
Oct 5th, 2009, 12:48 PM
#3
Thread Starter
Fanatic Member
Re: PaperBin & Printer.CurrentY problem
There is no error code. It prints incorrectly.
-
Oct 5th, 2009, 03:48 PM
#4
Re: PaperBin & Printer.CurrentY problem
what is the value of trayselect? is it a constant?
what type of printer?
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Oct 5th, 2009, 09:02 PM
#5
Thread Starter
Fanatic Member
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|