s there something better than EnumPrinters?

P

PyongHopscotch

Hi All I was just wondering if there was a better function/way to get
information on all the printers currently installed than EnumPrinters.
I only really need all the printer names but don't care to do the
memory management involved with EnumPrinters.

I looked at using GetProfileString with [devices] but that requires I
know the buffer size ahead of time.

Any alternatives would be appreciated
 
M

mlimber

Hi All I was just wondering if there was a better function/way to get
information on all the printers currently installed than EnumPrinters.
I only really need all the printer names but don't care to do the
memory management involved with EnumPrinters.

I looked at using GetProfileString with [devices] but that requires I
know the buffer size ahead of time.

Any alternatives would be appreciated

You should post to a platform-specific group, since your question is
outside the scope of this newsgroup. See this FAQ for what is on-topic
here and for some suggestions of where to post:

http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9

Cheers! --M
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top