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!

Looking for Print in Different Tray

Status
Not open for further replies.

JuanjoZun

Programmer
Jul 20, 2002
82
MX
I'm Trying to print two Forms, FormA, FormB. FormA in Automatic and FormB in manual. Or different Try, default and another

I'm just starting to use print object, so if you want to send me a short code example to print something.

Thanks

Juanjo

Follow the dark side, so you can reach the light.
 
To print FormA using the printer's default tray, set the printer object's PaperBin property to vbPRBNAuto:

Printer.PaperBin = vbPRBNAuto

To use manual feed for FormB, set the PaperBin property to vbPRBNManual:

Printer.PaperBin = vbPRBNManual

I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson
 
ok thanks, let me try it

[peace]

Juanjo

Follow the dark side, so you can reach the light.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top