Ethereal-dev: RE: [Ethereal-dev] Re: [Ethereal-cvs] commit 11545: /trunk/gtk/

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Eric Wedel" <[email protected]>
Date: Wed, 28 Jul 2004 12:12:42 -0700
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: [email protected]
[mailto:[email protected]]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
[email protected]
http://www.ethereal.com/mailman/listinfo/ethereal-dev