Hi
How can I make so that when you press the print button a report shall be printed by a printer that i have wroten in the code?
to print a report i'm using this code
stDocName = "Report"
DoCmd.OpenReport stDocName, acNormal
but it prints out from the default printer. I don't want to change the default printer but just make so this button prints out a report form that printer.
thanks in advance
xxd
How can I make so that when you press the print button a report shall be printed by a printer that i have wroten in the code?
to print a report i'm using this code
stDocName = "Report"
DoCmd.OpenReport stDocName, acNormal
but it prints out from the default printer. I don't want to change the default printer but just make so this button prints out a report form that printer.
thanks in advance
xxd