fax - specify printer in Visual basic?

M

mark r

I want my command button to print out to FAX rather than HP inkjet
in Docmd.openreport acview goes to printer
if I go to menu FILE Print and specify printer as fax prior to hitting
commandbutton, out put still goes to injet

How do I set the default printer in Vbasic
and then put it back to the inkjet after I print my report so I do not
affect, say someone trying to print a WORD document 5 minutes later?
 
J

Jeff C

Another approach:

Copy your report and assign the copy of the report you just made to your
fax. You can dedicate a report to a specific printer and then use your
OpenReport command in VB.
 
Top