Carina1628
Technical User
I have a problem with a database I recently got dumped with.
There is a button on an original form that opens a new form with the selected data, prints the data on a preprinted page, and closes the new form. It is supposed to switch printers before it prints, but it has quit doing that. (Someone else was 'helping', and I'm not sure what she did.) The only place I can find anything about the other printer is in a module which is connected to the new form. She changed the port, and it worked once, but then quit working.
What was in there:
Function Set_Printer()
Application.ActivePrinter = "IBM 2391 Plus on IP_192.168.93.85"
End Function
I tried changing it to:
Function Set_Printer()
Application.ActivePrinter = "IBM 2391 Plus on \\PR10A4EE\PR_LPT1"
End Function
but it still prints to the default printer.
How can I get it to print to the IBM 2391?
Any help would be greatly appreciated.
There is a button on an original form that opens a new form with the selected data, prints the data on a preprinted page, and closes the new form. It is supposed to switch printers before it prints, but it has quit doing that. (Someone else was 'helping', and I'm not sure what she did.) The only place I can find anything about the other printer is in a module which is connected to the new form. She changed the port, and it worked once, but then quit working.
What was in there:
Function Set_Printer()
Application.ActivePrinter = "IBM 2391 Plus on IP_192.168.93.85"
End Function
I tried changing it to:
Function Set_Printer()
Application.ActivePrinter = "IBM 2391 Plus on \\PR10A4EE\PR_LPT1"
End Function
but it still prints to the default printer.
How can I get it to print to the IBM 2391?
Any help would be greatly appreciated.