Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Hardware & Devices
  4. getting print job information using c#

getting print job information using c#

Scheduled Pinned Locked Moved Hardware & Devices
csharpdelphicssdatabasehelp
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mbams
    wrote on last edited by
    #1

    Hi everyone. Am currently tasked with a responsibility of developing a small application to monitor and log all printing jobs in an a Internet cafe.the application should be able to do the following:- -when a user sends a print command,information such as the number of pages (sent for printing and those successful printed) and document name user intends to print should be captured and stored in a database. -the name of the computer from which the job is sent should be captured In case the printer prints less pages as intended by user,the system should be able to get the reason why it printed less pages (maybe printer running out of papers,or process cancel led by user) The problem is that i don't know where to start from.Any helpful information(ie tutorials and suggestions) is highly appreciated. THANKS IN ADVANCE. Pascal

    G 1 Reply Last reply
    0
    • M mbams

      Hi everyone. Am currently tasked with a responsibility of developing a small application to monitor and log all printing jobs in an a Internet cafe.the application should be able to do the following:- -when a user sends a print command,information such as the number of pages (sent for printing and those successful printed) and document name user intends to print should be captured and stored in a database. -the name of the computer from which the job is sent should be captured In case the printer prints less pages as intended by user,the system should be able to get the reason why it printed less pages (maybe printer running out of papers,or process cancel led by user) The problem is that i don't know where to start from.Any helpful information(ie tutorials and suggestions) is highly appreciated. THANKS IN ADVANCE. Pascal

      G Offline
      G Offline
      Garth J Lancaster
      wrote on last edited by
      #2

      this might be a start http://www.biztalkgurus.com/blogs/biztalksyn/archive/2009/08/05/printmonitor-a-c-print-spooler-monitor.aspx[^] 'g'

      M 1 Reply Last reply
      0
      • G Garth J Lancaster

        this might be a start http://www.biztalkgurus.com/blogs/biztalksyn/archive/2009/08/05/printmonitor-a-c-print-spooler-monitor.aspx[^] 'g'

        M Offline
        M Offline
        mbams
        wrote on last edited by
        #3

        THANKS SO MUCH IT GAVE ME A STARTING POINT. I TRIED TO RUN IT BUT COULD NOT WORK. -WHEN SHOULD I RUN THE FORM(WHEN I SEND SOME JOB TO PRINTER OR BEFORE) AND -SHOULD THIS APPLICATION BE RUN FROM THE COMPUTER WHICH IS PHYSICALLY CONNECTED TO THE PRINTER? -ARE THERE CHANGES I NEED TO MAKE TO CUSTOMIZE THE APPLICATION IN ORDER TO SUITE MY REQUIREMENTS? ANY HELP IS APPRECIATED.THANKING YOU IN ADVANCE

        G 1 Reply Last reply
        0
        • M mbams

          THANKS SO MUCH IT GAVE ME A STARTING POINT. I TRIED TO RUN IT BUT COULD NOT WORK. -WHEN SHOULD I RUN THE FORM(WHEN I SEND SOME JOB TO PRINTER OR BEFORE) AND -SHOULD THIS APPLICATION BE RUN FROM THE COMPUTER WHICH IS PHYSICALLY CONNECTED TO THE PRINTER? -ARE THERE CHANGES I NEED TO MAKE TO CUSTOMIZE THE APPLICATION IN ORDER TO SUITE MY REQUIREMENTS? ANY HELP IS APPRECIATED.THANKING YOU IN ADVANCE

          G Offline
          G Offline
          Garth J Lancaster
          wrote on last edited by
          #4

          Im not sure if the print-monitor API runs 'across machines' .. I would build the print monitor into a dll, install it on all the machines with printers attached. The print monitor itself could connect to a centralised machine with MS-SQL installed on it to write the records of what you've captured, and include what machine wrote the log record with the number of pages etc Try these for brain food http://www.codeguru.com/cpp/w-p/printing/article.php/c5893[^] http://msdn.microsoft.com/en-us/library/ms802185.aspx[^] oh, here's some to help you get by on this forum .. STOP SHOUTING - drop the all caps replies please 'g'

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups