alter some printer settings on several different reports

L

Lord Kelvan

I have a report MDB that uses an ODBC database to do its reports from.

I have gotten a request from one of the users to change the default
settings for a printer. Because of how our network is set it the
printer settings for each of the printers get reset after a document
is closed the only thing that can be set is the default printer.

What I need to do is 3 fold.

The users that need these reports need to keep their default printer
as is for the rest of their work but for these reports they need to
use a different printer for duplex printing.

So these are the settings I need to change

Printer to \\HVH\PH_L_16_PA.PRN.INF.HVH
Duplex to side/vertical binding
Printer tray to tray 4

If someone could tell me what the code I would use for this that would
be great. I have tried to play with the prtdevmode and prtdevname
parts of ms access but for the life of me cannot figure them out.

Regards
Kelvan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top