Results 1 to 8 of 8

Thread: Printing Program

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2009
    Posts
    5

    Printing Program

    Hi my name is Gary. I have been searching the web all week now and can't find what i am looking for. I want to create a program that will display certian lines from what is printing on an LED screen as it is printing. The reason for the program is that I run with a local fire dept. and we get print outs of the calls we are getting dispatched to. The problem is, is that it only prints out at one printer and there might not be anyone around when it prints. So if I we could get it to say "PRINTER" and or the nature of the call on the led screens we could place them all over the fire house.

  2. #2
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148

    Re: Printing Program

    Interesting challenge...does the printing go through a windows print queue?
    (i.e. is the printer attached to a PC and you can see the documents in the printer spool queue)

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2009
    Posts
    5

    Re: Printing Program

    The printer is connected to the pc. Our communications has created a program that will auto detect if there is a call put into the system and print it without user inter-action. The only screen you will see pop up is the status of the printer.

  4. #4

    Thread Starter
    New Member
    Join Date
    Aug 2009
    Posts
    5

    Re: Printing Program

    Would any of these codes work for what i'm trying to do? I am very new at this and im learning as i go. I already came to conclusions that this will be a long process.


    http://www.codeproject.com/KB/printi...select=3072593

  5. #5
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148

    Re: Printing Program

    That'd be the component I'd use ;-) although I'd recommend you get the latest version from the CodePlex project

    What you need to do (if possible) is set the printer to "Keep printed documents" then as soon as the print job is printed (a JobWritten event where PrintJob.Printed = True) you need to parse the spool file for that print job, extract the stuff you need and send it around your LCD screens.

    As it is a safety critical system you are going to need to set up a development/test rig that is not your production machine.

  6. #6

    Thread Starter
    New Member
    Join Date
    Aug 2009
    Posts
    5

    Re: Printing Program

    Quote Originally Posted by Merrion View Post
    That'd be the component I'd use ;-) although I'd recommend you get the latest version from the CodePlex project

    What you need to do (if possible) is set the printer to "Keep printed documents" then as soon as the print job is printed (a JobWritten event where PrintJob.Printed = True) you need to parse the spool file for that print job, extract the stuff you need and send it around your LCD screens.

    As it is a safety critical system you are going to need to set up a development/test rig that is not your production machine.
    The only fall back to that is when it prints out theres no other window that opens up. it somehow goes through the program they have created and prints it out.

  7. #7
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148

    Re: Printing Program

    Shouldn't matter - if the spool window (where you see the print job list) can see it the component can see it...

  8. #8

    Thread Starter
    New Member
    Join Date
    Aug 2009
    Posts
    5

    Re: Printing Program

    The thing is, is that its so fast at printing that i dont even have time to look at the job list.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width