How to Trap Print Action?

Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
Reply

Join Date: Jun 2005
Posts: 54
Reputation: senexom is an unknown quantity at this point 
Solved Threads: 0
senexom's Avatar
senexom senexom is offline Offline
Junior Poster in Training

How to Trap Print Action?

 
0
  #1
Jun 29th, 2005
I'm not sure if this is even possible, but does anyone know how I might be able to trap Print Action. Would prefer a cross platform solution like Java or something, but it absolutely has to work on a Mac (Unix).

What this is intended for is for a small advertising/print agency where I work, we need to track color copies and assign then to a client number. So when ever some one prints to a specific printer a prompt would come up and ask for a job number then stores it in a db of some sorts and at the end of the month we bill our clients for prints/copies we made for them. It became an issue this month when our printer lease was thousands of dollars and no client was charged, since we did not keep track.

Any suggestions? :rolleyes:
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 609
Reputation: freesoft_2000 is an unknown quantity at this point 
Solved Threads: 8
freesoft_2000 freesoft_2000 is offline Offline
Practically a Master Poster

Re: How to Trap Print Action?

 
0
  #2
Jul 31st, 2005
Hi everyone,

Java is your answer. Its cross platform. For more information you can check the PrinterJob and Printable classes of Java

This can only be achieved if your main application is written in java as well.

Richard West
Microsoft uses "One World, One Web, One Program" as a slogan.
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond

Tell me what type of software do you like and what would you pay for it

http://www.daniweb.com/techtalkforums/thread19660.html
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 54
Reputation: senexom is an unknown quantity at this point 
Solved Threads: 0
senexom's Avatar
senexom senexom is offline Offline
Junior Poster in Training

Re: How to Trap Print Action?

 
0
  #3
Jul 31st, 2005
Thanks for your suggestions, but this isn't a solution for me. I work for a design firm and our graphics people print from a wide variety of apps, and i don't think even one of which is written in java.

I was hoping for a way to interface with printer drivers or something of that nature and each time someone prints the drivers would send a command to launch an external app that would just collect simple info before a job would be sent to the printer. The external app would most likely be java based w/ db connection.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 2381 | Replies: 2
Thread Tools Search this Thread



Tag cloud for Computer Science
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC