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: Guy Harris <[email protected]>
Date: Wed, 28 Jul 2004 01:12:17 -0700
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.