473,403 Members | 2,222 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

s there something better than EnumPrinters?

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

Jan 26 '06 #1
3 2783

Py************@gmail.com wrote:
Any alternatives would be appreciated


Try a different newsgroup.

Jan 26 '06 #2
Py************@gmail.com wrote:
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-lit...t.html#faq-5.9

Cheers! --M

Jan 26 '06 #3
ok thx

Jan 26 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jason | last post by:
Hi, I am new to windows api programming and I wanted to create a little utility program for myself in c using the mini gw compiler. I bought petzold's book, programming windows 5th edition. I...
2
by: Patrick Blackman | last post by:
Need c# example of the API EnumPrinters function.
24
by: Bob | last post by:
Hi there, I am working on an application to be used in our local Forensics department... Among other things the app will connect to a digital camera and download the images to the hard drive....
3
by: Steve Armstrong | last post by:
I use the following code and can get all the correct printer information back for Printer_Info_1. However, when I try the same code for Printer_Info_2 or 5 I get a System.NullReferenceException....
44
by: Tolga | last post by:
As far as I know, Perl is known as "there are many ways to do something" and Python is known as "there is only one way". Could you please explain this? How is this possible and is it *really* a...
2
by: PyongHopscotch | last post by:
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...
61
by: vadam17 | last post by:
Thanks for your answers. I already know programming in Java and I am starting studying the perl. I would like to learn C or C++ but I need someone to tell me the + and - of each one. I have...
20
by: James | last post by:
I am new to vb.net (I am an old vb6 programmer). I cannot figure out an easy way to watch variables. In vb6 all I did was right click and could chose to stop execution when a variable chances as...
1
by: =?Utf-8?B?U3RlcGhhbmllIERvaGVydHk=?= | last post by:
Hello World, I am trying to get all the shared printers for a remote Windows 2003 server using the EnumPrinters function and keep getting an error returned that corresponds to the message: "The...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.