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


Groups > comp.lang.clipper.visual-objects > #11688 > unrolled thread

Getting muddled with printers

Started byMartin <Martin@spam.spam>
First post2018-06-08 13:04 +0100
Last post2018-06-19 07:44 -0700
Articles 3 — 2 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  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

#11688 — Getting muddled with printers

FromMartin <Martin@spam.spam>
Date2018-06-08 13:04 +0100
SubjectGetting muddled with printers
Message-ID<pfdrd4$pui$1@dont-email.me>
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

[toc] | [next] | [standalone]


#11689

FromMartin <Martin@spam.spam>
Date2018-06-08 13:05 +0100
Message-ID<pfdre5$pui$2@dont-email.me>
In reply to#11688
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

[toc] | [prev] | [next] | [standalone]


#11708

FromOtto Christiaanse <ofchristiaanse@gmail.com>
Date2018-06-19 07:44 -0700
Message-ID<9eeccf17-04ca-4e7d-9927-f04cb4e39725@googlegroups.com>
In reply to#11688
On Friday, June 8, 2018 at 2:04:53 PM UTC+2, Martin wrote:
> Hello all
> 
see http://compgroups.net/comp.clipper.visual-objects/how-can-i-get-a-list-of-installed/2899831
maybe that will give you the necessary info?

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web