Print and Fax Command Buttons

Dwaynair

New member
Local time
Today, 20:49
Joined
Jan 11, 2000
Messages
6
I would like all my Print Command buttons to use the default driver, which is already set up on all the reports Page setup.
So when someone clicks on PRINT it goes to the associated report and uses the print driver (in the page setup for that report).

Now when I click the FAX command button I would like it to use Winfaxpro driver. but fax that same report.

What is the best way, VB or Macro? And please be specific if you can I am not that strong on VB yet.
 
I have a similar problem, in fact, the exact same one. What I've had to do is create two reports, one for the fax, one for the printer (I had to do that anyway, because the fax printer didn't fax any drawn lines). I then send a test print of the Fax report to the fax driver from the Reports screen (NOT using the "Fax Report" command button on my form). From then on in, if I use the "Fax Report" command button on my form, it automatically prints to the Fax driver. Same thing for the regular report (Print a test report to the printer from the Reports screen, and then the "Print Report" command button on my form defaults to that printer).

Alternatively, you could simply have the user select which printer he/she would like to print to. The code for that is:

DoCmd.OpenReport strDocName, acViewPreview
DoCmd.RunCommand acCmdPrint


[This message has been edited by Jonathan Kok (edited 03-10-2000).]
 

Users who are viewing this thread

Back
Top Bottom