jhunter9999
asked on
Switching network queued printers in access 2000.
I have created a program that sends a print job to a remote printer on the network. When the job is printed and the end user exits the program, unless they manually reselect the default printer, all jobs go to that remote printer. I need to have some way to tell access 2000 that the default printer needs to be reset before one leaves the program.
Is there a variable that can be trapped to indicate what the current printer is before I switch printers with my program so I can use the variable to tell access to go back to this original printer that it knew about before the program caused the switch?
Is there a variable that can be trapped to indicate what the current printer is before I switch printers with my program so I can use the variable to tell access to go back to this original printer that it knew about before the program caused the switch?
After some reading, I think this site provides what you're looking for... (although somewhat more complicated)
http://support.microsoft.com/default.aspx?scid=kb;EN-US;266767#top
Hope you find this helpful, Imoutwest
http://support.microsoft.com/default.aspx?scid=kb;EN-US;266767#top
Hope you find this helpful, Imoutwest
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
See this site for a better explanation.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbaac11/html/acproPrinter_HV03081974.asp