473,399 Members | 2,278 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,399 software developers and data experts.

Get Printer Device Names

Hi,
I wish to get all the names of printer devices using system.io or
system.drawing.printing or any other method. I know that you can do this in
Access so you should be able to do this in vb.net.

Thanx in advance

Geri
Nov 21 '05 #1
3 3128
See if System.Drawing.Printing.PrinterSettings.InstalledP rinters is what you
are looking for.

"Geraldine Hobley" <Ge*************@discussions.microsoft.com> wrote in
message news:BC**********************************@microsof t.com...
Hi,
I wish to get all the names of printer devices using system.io or
system.drawing.printing or any other method. I know that you can do this in
Access so you should be able to do this in vb.net.

Thanx in advance

Geri
Nov 21 '05 #2
Hello,
There doesn't seem to be any function name called
system.drawing.printersettings.installedprinters.

Geri

"Shiva" wrote:
See if System.Drawing.Printing.PrinterSettings.InstalledP rinters is what you
are looking for.

"Geraldine Hobley" <Ge*************@discussions.microsoft.com> wrote in
message news:BC**********************************@microsof t.com...
Hi,
I wish to get all the names of printer devices using system.io or
system.drawing.printing or any other method. I know that you can do this in
Access so you should be able to do this in vb.net.

Thanx in advance

Geri

Nov 21 '05 #3
System.Drawing.Printing.PrinterSettings class has a property named
InstalledPrinters

"Geraldine Hobley" <Ge*************@discussions.microsoft.com> wrote in
message news:04**********************************@microsof t.com...
Hello,
There doesn't seem to be any function name called
system.drawing.printersettings.installedprinters.

Geri

"Shiva" wrote:
See if System.Drawing.Printing.PrinterSettings.InstalledP rinters is what you are looking for.

"Geraldine Hobley" <Ge*************@discussions.microsoft.com> wrote in
message news:BC**********************************@microsof t.com...
Hi,
I wish to get all the names of printer devices using system.io or
system.drawing.printing or any other method. I know that you can do this in Access so you should be able to do this in vb.net.

Thanx in advance

Geri

Nov 21 '05 #4

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

Similar topics

2
by: Patrick Herb | last post by:
Hello, I'm trying to print the content of a RichTextBox from my VB 6 app. What I want is that the CommonDialog shows up, the user selects a printer and the content of the RichTextBox prints to...
1
by: Meyer1228 | last post by:
We're printing invoices using the printer function in VB6. If we print to an IBM-compatible dot-matrix, we can use a font called "12 CPI HSD" which works well, since we want to use 12-pitch. If...
8
by: kchengso | last post by:
One of my printers in my printer.devicename call returns in lower case. Is it possible for me to change it to upper case? I am also wondering how, in the first place, this particular printer...
0
by: Anson Ng | last post by:
I found out that VB.Net supports only TrueType and OpenType fonts, in other words, it doesn't load printer fonts (device fonts) that are associated with a printer. I'm writing an application that...
13
by: MLH | last post by:
I want to find a printer that will accept a print-stream from a database app JUST for time/date stamping on inbound documents received at a law office. The printer would have no paper tray, labels...
2
by: Ryan Gregg | last post by:
I've got a dot matrix printer that I need to print a line at a time to. This is being used for an audit log on an application and every event that occurs needs to print out right as it occurs. ...
1
by: Bruce Wood | last post by:
I'm having a devil of a time calling DeviceCapabilities() in order to get the list of paper names / codes / sizes for a printer. Here is my code and the input it produces: static extern Int32...
2
by: dever | last post by:
I checked my color printers's Printersettings.SupportsColor, which all showed false. What is wrong that I could not use this property. Also, what other way to detect if a printer is color...
4
ADezii
by: ADezii | last post by:
Recently, there seems to be several questions specifically related to Printers and changing Printing characteristics for Forms and Reports. For this reason alone, I decided to dedicate this week's...
3
by: Geeshan | last post by:
Hi All, I'm a newbie to the POS system. so please mind if my questions are stupid. I have an epson TM-U200 printer with USB connection and cash drawer connected to printer with RJ 11 cable. ...
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.