PrintOut not reading the default printer (1 Viewer)

JPR

Registered User.
Local time
Today, 00:10
Joined
Jan 23, 2009
Messages
192
Hello,

I have a form with a cmd button which refers to a macro to quick print the active form. Suddenly, the print function does not recognize the default printer (PRT1) and all prints are sent to a different printer (PTR2) which is not the default. Both printers are shared as part of a network.

Behind the cmb button I have a macro with the PrintOut method (see screenshot attached).
Is there a way, I can fix this? Thank you
 

Attachments

  • PrintOut.JPG
    PrintOut.JPG
    55.3 KB · Views: 44

June7

AWF VIP
Local time
Yesterday, 23:10
Joined
Mar 9, 2014
Messages
5,471
Does this happen to everyone?

When you open printer dialog from other apps, such as Word, which printer shows as default?
 

JPR

Registered User.
Local time
Today, 00:10
Joined
Jan 23, 2009
Messages
192
Hi. All other apps work fine. They all print to the default printer
 

June7

AWF VIP
Local time
Yesterday, 23:10
Joined
Mar 9, 2014
Messages
5,471
Any code that changes default printer for any output?

Report Page Setup is set for default printer?
 

JPR

Registered User.
Local time
Today, 00:10
Joined
Jan 23, 2009
Messages
192
No code. I don’t use reports but just print the current record which is displayed on the form
 

sonic8

AWF VIP
Local time
Today, 09:10
Joined
Oct 27, 2015
Messages
998
I don’t use reports but just print the current record which is displayed on the form
Check which printer is configured for the form.
I have no clue how to do that via the GUI, but in VBA you can just check the Printer property of the form.
 

Users who are viewing this thread

Top Bottom