The How-To Geek Forums Have Migrated to Discourse


How-To Geek Forums / Apple / OS X

controlling print jobs (python)

(1 post)
  • Started 5 years ago by burninghay
  • Topic Viewed 779 times

PARTNER SPOTLIGHT

Recommended: Clean Your PC the Easy Way with CleanMyPC

If you want to clean up your PC the easy way, CleanMyPC is a great tool to get the job done easily, and it will even keep your computer clean automatically.

Unlike the competition, it also includes great tools like a Clean Uninstaller, to get rid of applications and clean up the junk that they leave behind. All with the click of a button.

Download CleanMyPC for Free Today

Posted yesterday 
Top
burninghay
Posts: 1

hi! im new to python and I'm curious about what's happening in print queue. Im using mac and i tried controlling the printing job but i FAILED. What i wanted is:

1. Get JobID
2. Get TimeStamp
3. If JobID exceeds TimeStamp, then Print Job
4. If JobID does not exceeds TimeStamp, log jobID and delete Job

I need snippets to understand the events. I appreciate if you reply in this post. Thank you :)

Posted 5 years ago
Top
 



Topic Closed

This topic has been closed to new replies.