As Ulf pointed out, the windows common printer dialog offers
more than just location: document output selection (page ranges)
and printer selection. For features such as duplexing, it includes
a "properties" button which brings up a printer driver-specific
dialog to allow configuration of whatever options that printer /
driver provide (duplexing, paper size / orientation, etc.).
Not even clear how to find the driver-specific configuration
dialog API, and is there really a good reason to move away
from the reasonably high-content common print dialog?
regards,
Eric, Bluearc Engineering
-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx]On Behalf Of Guy Harris
Sent: Wednesday, July 28, 2004 1:12 AM
To: Ethereal development
Subject: Re: [Ethereal-dev] Re: [Ethereal-cvs] commit 11545: /trunk/gtk/
On Wed, Jul 28, 2004 at 10:00:31AM +0200, Ulf Lamping wrote:
> Of course. I'm not really an expert in the Win32 print API, but I
> think there is no such API to get that information :-(
"EnumPrinters()", asking for information level 2 - the PRINTER_INFO_2
structure contains a pLocation string pointer, along with other
information.
See
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/prntspol_62ia.asp
for information on printer APIs.
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev