Wolfgang Enzinger
2007-04-11 11:46:44 UTC
Hi,
I'm having two problems with the statement "XPRINT ATTACH CHOOSE":
1. Each time the printer dialog pops up, the default printer is
preselected. Is there a way to preselect a different one? I tried
calling "XPRINT ATTACH PrinterName" before calling X. A. CHOOSE, but
to no effect.
2. I'm using X. A. CHOOSE in a DLL called from a VB program in order
to avoid the buggy VB Printer object; works like a charm, very stable.
However, I noticed that the printer dialog generated by X. A. CHOOSE
isn't modal to the calling form, i.e. if I click on my main form the
printer dialog disappears in the background. Is there a way to make
the printer dialog truely modal?
Any input is much appreciated.
I'm having two problems with the statement "XPRINT ATTACH CHOOSE":
1. Each time the printer dialog pops up, the default printer is
preselected. Is there a way to preselect a different one? I tried
calling "XPRINT ATTACH PrinterName" before calling X. A. CHOOSE, but
to no effect.
2. I'm using X. A. CHOOSE in a DLL called from a VB program in order
to avoid the buggy VB Printer object; works like a charm, very stable.
However, I noticed that the printer dialog generated by X. A. CHOOSE
isn't modal to the calling form, i.e. if I click on my main form the
printer dialog disappears in the background. Is there a way to make
the printer dialog truely modal?
Any input is much appreciated.
--
Viele Grüsse,
Wolfgang
http://www.enzinger.net
Viele Grüsse,
Wolfgang
http://www.enzinger.net