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

how to get printerstatus ?

hi!!!

ive tried to use WMI to get printerstatus, but it always report status "Idle".

is it a way to get the status of a printer ?
Jan 31 '06 #1
1 1053
Hi Geir,

Use WINAPI, there is a nice example http://www.kbalertz.com/kb_821769.aspx.
It may provide you the same result as you're having now but it's still worth
of trying.
--
Milosz Skalecki
MCP, MCAD
"Geir Sanne" wrote:
hi!!!

ive tried to use WMI to get printerstatus, but it always report status "Idle".

is it a way to get the status of a printer ?

Jan 31 '06 #2

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...
8
by: trint | last post by:
static void PrinterStatus(string args) ( ....code } I tried this: PrinterStatus(); and get this error: No overload for method 'PrinterStatus' takes '0' arguments
7
by: trint | last post by:
I am told by an experienced c#.net programmer that it is not possible to get the code to get a printers status. I've been hammering on this for a week and have combed through hp's web sites and...
3
by: Raymond Martin | last post by:
How do I find out if the default printer is offline or online (or has a paper jam)?
1
by: Vanessa | last post by:
Hi, I'm trying to select a printer in the system printers collection. I'm able to do this. However, if the printer is a network printer and happens that this printer is not on or not ready, I...
0
by: Harry Simpson | last post by:
I'm trying to grab printer status for a printer with WMI I got a mo("PrinterState").tostring of "128" for a paused HP printer. What is "128" equate to? It did give a mo("PrinterStatus").tostring...
1
by: dzemo | last post by:
How to check is printer on LPT connected or not? txh -- ----------------------------------------------------------------------------------------------------------------------- Dzemal Tipura...
0
by: notregister | last post by:
how do i get printerstaus using vb.net directly, bypassing the driver??
0
by: notregister | last post by:
I can sent a raw file directly to a printer bypassing the driver.. how do i get printerstatus using vb.net directly, bypassing the driver??
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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.