473,386 Members | 1,748 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,386 software developers and data experts.

win32_printer.vb

hi,
in .Net i have used 'Generate Managed Class' to generate
win32_printer.vb
how can i use this class to get all all the printer names on my
computer?
thanks

Jan 26 '06 #1
0 1050

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

Similar topics

2
by: J M | last post by:
Getting NullReferenceException walking through printer properties: ObjectQuery names = new ObjectQuery("SELECT * FROM Win32_Printer"); ManagementObjectSearcher printQueues = new...
1
by: Jonas Lewin | last post by:
Does anyone know how to check if the (default) printer has some problems like "Use printer offline" or Paperjam, or out of paper? Any status on the printer would be appreciated. (I don't need...
1
by: Tancev Sasa | last post by:
I am interesting how to determin is the selected printer a dot-matrix printer or is it a laser printer What property is relevant to detrmin what type is selected printer
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....
2
by: Stephen | last post by:
Greetings folks.... I have a app that needs to have the printer default changed ( if not using the default) prior to anything else happening in the program and when the program terminates, to...
1
by: dzemo | last post by:
How to check is printer on LPT connected or not? txh -- ----------------------------------------------------------------------------------------------------------------------- Dzemal Tipura...
2
by: Pete Smith | last post by:
How to query the printer about out of paper or paper jam or any other error message. I have written a print application which does the printing. VB.Net and .Net Framework 1.1. Windows 2000...
6
by: wavemill | last post by:
Hello, this is my code with vs20005: ManagementObjectSearcher searcher = new ManagementObjectSearcher("root\\CIMV2", "SELECT * FROM Win32_Printer"); foreach (ManagementObject queryObj in...
0
by: mafandon | last post by:
Hello all... My application uses custom reports from Microsoft's report viewer and not Crystal Reports. My understanding is there is no way to make the printdialog select a different printer...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.