Taking output from hplaserjet printer driver

S

Scott

HI-


I have setup a new printer using HP Laserjet 4000 printer drivers. The
output has been sent to "FILE:", so when a job is sent to the driver, it
presents the output file name dialog box.

Question: Is there VB code that will allow me to populate that dialog box,
so I can automate a batch report we have on site?

Scott
 
S

Sam

Use...

docmd.OutputTo

It has a parameter where you specify the path and filename and another to
specify the format. Check it out in help.

HTH
Sam
 
Top