Guys:
After issuing a PrinterSetUp(), how can I detect the following:
- If the user exited via the cancel button or by closing the window ?
- Printer selected and its corresponding port ?
Thank you.
Guys:
After issuing a PrinterSetUp(), how can I detect the following:
Thank you.
Hunter,
PrinterSetup() returns the hDC of the selected printer if Accept is pressed, or zero if cancel is pressed.
PrnGetName() returns the name of the current printer.
I don't know how you can find the port as I have never needed to know this. Why do you?
Regards,
James
James Bott wrote:PrnGetName() returns the name of the current printer.
I don't know how you can find the port
PrnGetPort()