Move printjob

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I move a printjob from one printqueue to another. The printqueue's
both have the same printerdriver.
 
Hi Philip,

Welcome to MSDN newsgroup.
Regarding on the managing print job you mentioned, based on my experience,
the .NET framework dosn't directly provide such raw (low level) programming
interface. Interacting with printer need RAW platform api calls and on
windows operating system, we have the winspool components. So I'd suggest
you first try work this out through unmanaged code(like c/c++) than call
the unmanaged component through platform invoke in .net code. Here are some
related reference and article about windows spooler component programming:

#Introduction to Spooler Components
http://msdn.microsoft.com/library/en-us/graphics/hh/graphics/splarch_6aecc06
5-5eb8-4145-9081-c7418a466710.xml.asp?frame=true

#Printing Architecture
http://www.codeproject.com/useritems/wpa.asp

How to monitor a printer queue from VB.NET
http://www.codeproject.com/vb/net/printwatchvbnet.asp

#PrintMon.exe Demonstrates the Win32 Spooler API
http://support.microsoft.com/default.aspx?scid=kb;en-us;196805

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)



--------------------
| Thread-Topic: Move printjob
| thread-index: AcXey7kvjlMhGZjuS9qQQWwUU4CZaQ==
| X-WBNR-Posting-Host: 213.236.81.130
| From: =?Utf-8?B?UGhpbGlwIFdhZ2VuYWFy?= <[email protected]>
| Subject: Move printjob
| Date: Tue, 1 Nov 2005 02:05:01 -0800
| Lines: 2
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.languages.vb
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.dotnet.languages.vb:113000
| X-Tomcat-NG: microsoft.public.dotnet.languages.vb
|
| How can I move a printjob from one printqueue to another. The
printqueue's
| both have the same printerdriver.
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top