Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #11689

Re: Getting muddled with printers

From Martin <Martin@spam.spam>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Getting muddled with printers
Date 2018-06-08 13:05 +0100
Organization A noiseless patient Spider
Message-ID <pfdre5$pui$2@dont-email.me> (permalink)
References <pfdrd4$pui$1@dont-email.me>

Show all headers | View raw


Just done it

_winPRINTER_INFO_2

and I can see the info I need

Probelm solved

On 08/06/2018 13:04, Martin wrote:
> Hello all
> 
> I want to read some printer setting from Windows, for example the port 
> (port configured to a file name).
> 
> I have the Windows printer name.
> 
> I am getting confused with the different methods and APIs
> 
> I have found EnumPrinters code and the two structures
> 
> _winPRINTER_INFO_4 - I presume this is the XP & 7 method
> _winPRINTER_INFO_5 - Is this for 98?
> 
> It is being used to produce a list of printers on the PC.
> 
> Can someone please point me in the correct direction to read these 
> settings?
> 
> I do expect it will be easy once I see how and that I will think I am 
> silly for asking.
> 
> 
> Thanks
> 
> Martin

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Getting muddled with printers Martin <Martin@spam.spam> - 2018-06-08 13:04 +0100
  Re: Getting muddled with printers Martin <Martin@spam.spam> - 2018-06-08 13:05 +0100
  Re: Getting muddled with printers Otto Christiaanse <ofchristiaanse@gmail.com> - 2018-06-19 07:44 -0700

csiph-web