Move printjob

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Philip Wagenaar

    #1

    Move printjob

    How can I move a printjob from one printqueue to another. The printqueue's
    both have the same printerdriver.
  • Steven Cheng[MSFT]

    #2
    RE: Move printjob

    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...plarch_6aecc06
    5-5eb8-4145-9081-c7418a466710.xm l.asp?frame=tru e

    #Printing Architecture


    How to monitor a printer queue from VB.NET


    #PrintMon.exe Demonstrates the Win32 Spooler API


    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: AcXey7kvjlMhGZj uS9qQQWwUU4CZaQ ==
    | X-WBNR-Posting-Host: 213.236.81.130
    | From: =?Utf-8?B?UGhpbGlwIFd hZ2VuYWFy?= <philip.wagenaa r@online.nospam >
    | Subject: Move printjob
    | Date: Tue, 1 Nov 2005 02:05:01 -0800
    | Lines: 2
    | Message-ID: <0CFD94A2-2FB0-464D-80D3-7C045430259A@mi crosoft.com>
    | 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.publi c.dotnet.langua ges.vb
    | NNTP-Posting-Host: TK2MSFTNGXA03.p hx.gbl 10.40.2.250
    | Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GXA03.phx.gbl
    | Xref: TK2MSFTNGXA01.p hx.gbl microsoft.publi c.dotnet.langua ges.vb:113000
    | X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.vb
    |
    | How can I move a printjob from one printqueue to another. The
    printqueue's
    | both have the same printerdriver.
    |

    Comment

    Working...