• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Collapse

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "c#.NET Print Spooler Question"

Collapse

  • srikanth
    replied
    Hiiiiii Weltchy

    Originally posted by Weltchy View Post
    After 2 days hacking around with code, I've got it all working!!!!!

    If any1 ever needs a ref, pm me and i'll drop the code over!!!
    I am in real hurry about this code..
    let me explain you clearly what i want exactly..
    i need to get the printjob when ever a new print job arrived to the printerspool.Then i need to get the data of that print job and stops that print job and i need to send that data to the dot matrix printer from my application.Could you please help me to finish out this..
    i am expecting a quick reply from you.......
    if you want my mail id here it is..

    SrikanthG

    [mod]email snipped - if it's not too big, code can be placed here... [/mod]

    Leave a comment:


  • peterh1984
    replied
    Hi Weltchy, anychance of a peek at some code to get me started on a similar project?

    Thanks,
    Pete

    Leave a comment:


  • Weltchy
    replied
    I'll post some code shortly. In a nutshell, you need to use the SetJobA function of WinSpool.dll.

    Leave a comment:


  • Carla
    replied
    Originally posted by Weltchy View Post
    After 2 days hacking around with code, I've got it all working!!!!!

    If any1 ever needs a ref, pm me and i'll drop the code over!!!

    Hi Weltchy,

    Please i have a problem. I would like to automatically pause a new job enters the spool.
    Can you help me please.

    Leave a comment:


  • moszko
    replied
    Spooler in VB.NET

    Hi,

    I am looking for VB code for a multi-printers spooler.
    Any help is welcome !

    Thanks in advance

    Leave a comment:


  • Wizzard
    replied
    Facing the same problem....

    i am facing a similar problem that you faced...

    I want to monitor my printer activities. Whenever a new print job enters the spooler I want to automatically pause it, scan the file for confidentiality and then restart the print job if not confidential, else delete it from the list.

    Please can you help me me with any ideas or codes...

    Leave a comment:


  • Weltchy
    replied
    After 2 days hacking around with code, I've got it all working!!!!!

    If any1 ever needs a ref, pm me and i'll drop the code over!!!

    Leave a comment:


  • Weltchy
    started a topic c#.NET Print Spooler Question

    c#.NET Print Spooler Question

    Has anyone had any experience using the FindFirstPrinterChangeNotification method found within winspool.drv.

    The c# examples I've found on the net are pretty useless, and I can't be arsed to spend the time to convert the VB.NET examples, as I'm feeling pretty lazy.

    Specifically, I want to call FindFirstPrinterChangeNotification for a callback whenever a new print job enters the spooler so that I can automatically pause it, rename the printer port to a unique filename and then restart the print job.

    Ideas and source code welcome

Working...
X