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

Code which tray to print from

Status
Not open for further replies.

flaviooooo

Programmer
Joined
Feb 24, 2003
Messages
496
Location
FR
Hey,

I have a database that is being used by 2 different users.

There is a report that will always need to print from their printer tray 2 (labels), but they use a different printer (2 different types as well off course)

If I set in the page setup of the report that the tray 2 needs to be used from the default printer... it doesn't seem to work on both printers

I tried this link, to no avail (the report always prints from the default tray 3)

Any idea how to force this in VBA?

I'm using Access 97 btw

Grtz
Fabian
 
XP (2002) and later has a redesigned printer object model. If there is any way you can develop on one of the newer platforms, this link will show you all you need, plus a bunch of other neat stuff:

All I ask is a chance to prove that money can’t make me happy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top