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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing PaperBin setting corrupts output.

Status
Not open for further replies.

bsmiller

Programmer
Mar 4, 2004
4
US
I have a very strange problem. I have a report that prints perfectly to the default printer with the default settings. The need has come up to have a couple PCs the software is running on print from tray 2 on multitray printers which are locally attached.

The problem is when I add the single line of code to tell the output to go to tray 2 it messes up the output. Text is missing in some places and lines drawn to make the output look like a printed form are messed up in some places as well.

This happens on the printers (HPs) attached to the local PCs I am doing this for as well as the network printer I print to from my workstation which is an IBM.

The only change I make is to manually set the output printer tray in the code by setting the PaperBins value. If the default setting is used without changing the PaperBins value everything prints perfectly.

Any ideas???
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top