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

Spooler

Hello NG,

I want to make a tool, which checks if a printer (or driver) is capable to
print in color or not. If the Printer is Color then stop the task in the
spooler..

Does anybody have an idea or experience with this problem? API call and so
on..

regards

Rafael Odermatt
Nov 21 '05 #1
2 1196
Hi,

Take a look at the wmi class win32_printer.
http://msdn.microsoft.com/library/de...32_printer.asp

Ken
-------------------
"Rafael Odermatt" <od******@tabularaza.ch> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hello NG,

I want to make a tool, which checks if a printer (or driver) is capable to
print in color or not. If the Printer is Color then stop the task in the
spooler..

Does anybody have an idea or experience with this problem? API call and so
on..

regards

Rafael Odermatt

Nov 21 '05 #2
Thank you,

looks interesting. I am reading it at them moment.

Rafael

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:OV*************@TK2MSFTNGP15.phx.gbl...
Hi,

Take a look at the wmi class win32_printer.
http://msdn.microsoft.com/library/de...32_printer.asp
Ken
-------------------
"Rafael Odermatt" <od******@tabularaza.ch> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hello NG,

I want to make a tool, which checks if a printer (or driver) is capable to
print in color or not. If the Printer is Color then stop the task in the
spooler..

Does anybody have an idea or experience with this problem? API call and so
on..

regards

Rafael Odermatt

Nov 21 '05 #3

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

Similar topics

1
by: nhmark64 | last post by:
Hi, How do wait for a print spooler to be empty? My application sucks up all the CPU cycles after i print some reports. I want to delay the CPU intensive stuff until after the print...
0
by: RDI | last post by:
I need to watch a certain print spooler and if a print job appears, extract the print data to a PRN file on the hard disk and delete it from the spooler. Can VB.Net do this? If so, can someone...
9
by: Scott M | last post by:
I'm printing a directory of about 500 multi-page tifs to a high speed printer and the spooler process is killing me!!! here is a little code..... Public Function PrintImage(ByVal...
1
by: =?Utf-8?B?QXVzdGluIFN0ZXBoZW5z?= | last post by:
In my commercial financial application I run a deposit report. I use an option to copy the report to the Clipboard. I then run a .NET consol app to “grab” the Clipboard and format the data...
1
by: Joe | last post by:
I am printing bunch of stuff on a printer through my print vb8 app, but i would like to stop (pause) one in order to print the others before (just we print lots of stuff and want to keep them on...
2
by: James Wong | last post by:
Hi everybody, I would like to know whether there is a method to know how many pending jobs to be printed in print spooler from VB .NET 2005. My problem is that if a large document is sent to...
1
by: =?Utf-8?B?c2hlaWxh?= | last post by:
i have a lexmark series 1200 printer that was working fine untill we installed a new ink cartridge since then we have not been able to use printer have tried all listed solutions from run services...
1
by: =?Utf-8?B?c2hlaWxh?= | last post by:
i have a lexmark 1240 printer changed ink cartridge printer has not worked since have tried going to run services print spooler hitting automatic then start shows spooler started when i go back...
1
by: =?Utf-8?B?ZGF2aWR0aGV3ZWI=?= | last post by:
I have a recurring issue with a Print Spooler on a Windows 2000 Server. A print job will get stuck and take a large amount of the CPU time. I stop the print spooler in Services, go into Windows...
0
by: =?Utf-8?B?Sm9obg==?= | last post by:
If I'm posting in the wrong group please let me know. We've been experiencing issues with the print spooler service on our print server running Windows Server 2003 SP2. Occasionally the service...
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: 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
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...

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.