M
Mota
Hello;
I have 2 reports,named OrdersRpt and PricesRpt,and want to print them by two
separate printers connected to my system.For now,i use this code to print
them by
default printer:
Private Sub cmdPrint_Click
DoCmd.OpenReport "OrdersRpt"
DoEvents
DoCmd.OpenReport "PricesRpt"
MsgBox "Two reports been printed
Successfully",VbOkOnly+VbInformation,"Printing Reports"
End Sub
The prints are followingly,but since paper sizes are not equal i preffer to
send them to two separate printers and print them synchronizingly.I want to
do this through CODE not thru Page SetUp Dialogue Box and what i need is a
Built In Function that can select multiple active printers connected to
system,and i've forgot it.
How can i do this?any suggestion?
Thank you so much in advance.
I have 2 reports,named OrdersRpt and PricesRpt,and want to print them by two
separate printers connected to my system.For now,i use this code to print
them by
default printer:
Private Sub cmdPrint_Click
DoCmd.OpenReport "OrdersRpt"
DoEvents
DoCmd.OpenReport "PricesRpt"
MsgBox "Two reports been printed
Successfully",VbOkOnly+VbInformation,"Printing Reports"
End Sub
The prints are followingly,but since paper sizes are not equal i preffer to
send them to two separate printers and print them synchronizingly.I want to
do this through CODE not thru Page SetUp Dialogue Box and what i need is a
Built In Function that can select multiple active printers connected to
system,and i've forgot it.
How can i do this?any suggestion?
Thank you so much in advance.