0

I am using the code below to open the printer selection screen. when using it an a network

I have to unload my program after making a selection and then restart my program for the printer selection change to take effect.

any ideas on why this is happening? it used to work fine until an IT guy made some changes in the network some time back.


CommonDialog1.ShowPrinter

3
Contributors
9
Replies
10
Views
9 Years
Discussion Span
Last Post by steve585
0

yes, there is a default printer.

before we complain to the IT guy I was just checking to see if anybody had any ideas.

0

I was not aware that I had to use KillDoc in relation to the showprinter.

would I need that command before or after the printer dialog is on the screen?

0

This is how I work:

CommonDialog1.ShowPrinter
Printer.Print Tab(10); "Something"
Printer.KillDoc

0

when printing is finished, I use


Printer.enddoc

0

KillDoc is to stop a printing in progress, Enddoc is when you have finished sending all data to the printer, it resets the printer and gets it ready for teh next printing session.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.