A
AZ
Hello,
I have a form that has a command button with the following event
procedure:
Private Sub btnPrint_Click()
DoCmd.printOut (acSelection)
End Sub
This works fine--it lets the user print out the current record.
However, all users' records go to the same printer on our network,
TRU_10. I read in a few places that the printOut action will send the
output to the "default printer". But according to Windows Setting,
TRU_10 is not my default printer--it's not even on my list of
printers! Other users have the same problem--even though TRU_10 is
not their default printer, this form always prints there.
Even this would not be such a problem, but now my tech support people
want to take this printer away and I don't know how to get this form
to print elsewhere. Any idea how I can solve this?
Also, I thought that I might be able to see what Access thinks is my
default printer by looking in the database properties, but I get the
message "Microsoft Access is unable to load the database properties".
Not sure if this is related to my printing issue or not.
Anyway, I would be happy if this form printed to each user's default
printer, which I guess is the expected behaviour for DoCmd.printOut.
Any ideas?
Thanks,
Adam
Access 2000
Windows XP Professional
I have a form that has a command button with the following event
procedure:
Private Sub btnPrint_Click()
DoCmd.printOut (acSelection)
End Sub
This works fine--it lets the user print out the current record.
However, all users' records go to the same printer on our network,
TRU_10. I read in a few places that the printOut action will send the
output to the "default printer". But according to Windows Setting,
TRU_10 is not my default printer--it's not even on my list of
printers! Other users have the same problem--even though TRU_10 is
not their default printer, this form always prints there.
Even this would not be such a problem, but now my tech support people
want to take this printer away and I don't know how to get this form
to print elsewhere. Any idea how I can solve this?
Also, I thought that I might be able to see what Access thinks is my
default printer by looking in the database properties, but I get the
message "Microsoft Access is unable to load the database properties".
Not sure if this is related to my printing issue or not.
Anyway, I would be happy if this form printed to each user's default
printer, which I guess is the expected behaviour for DoCmd.printOut.
Any ideas?
Thanks,
Adam
Access 2000
Windows XP Professional