Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to stop printer spooler in Visual Basic

Status
Not open for further replies.

alicemong

Programmer
Mar 20, 2003
17
0
0
HK
Hi,

I want to stop and restart printer spooler in my vb application. Does anyone know how to do it?


Alice
 
My printer management dll, PDXPro can set the pause/resume status for any connected printer. It only uses API functions, not the VB printer object.

You could download an evaluation copy from my web site and test if this meets your needs. It includes a test bench exe so you can test it without writing any code. If it does the job, post back and I'll see if I can dig out the source code.

Paul Bent
Northwind IT Systems
 

Search this site for devmode in your forums with any date and you will find the api on where to start to accomplish what you want.

Good Luck

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top