<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Probably the easiest thing to do would be to write a small PHP script that used the cups_get_jobs function from the php_cups extension to list the pending jobs and present them to the users.  You'll need to run the "lp -i jobid -U user -H nohold" command from the PHP script (via the system function...) since there is no PHP function for that (yet).<div><div><div><br><div><div>On May 20, 2009, at 9:42 AM, peter wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi, I'm using the cups web gui as a print-release-station in a high school. I have thin clients next to each printer and the browser is showing: localhost:631/jobs.<br><br>It works really well, but students don't know which printer they printed to and they repeatedly go to the wrong release-station and release their jobs to the opposite printer.<br><br>I wish I could customize the jobs.tmpl file (or some other file) so that I could set the browser to only show the relevant print jobs. My idea was to copy jobs.tmpl file to printer2jobs.tmpl and edit that file to only show printer2 print jobs on Printer 2's release station.<br><br>This was further complicated by the <pre><meta http-equiv="refresh" content="2 ;url=/jobs/?FIRST=0&ORDER=dec"></pre><br>line I put at the beginning of jobs.tmpl to refresh the list of print jobs every 2 seconds and sort them in descending order.<br><br>Any suggestions?<br><br>Oh, and I can reconsider this, but I've been sending multiple queue's to the same printer so I'll need to filter for multiple queues.<br><br>-thanks<br>peter<br>_______________________________________________<br>cups-dev mailing list<br><a href="mailto:cups-dev@easysw.com">cups-dev@easysw.com</a><br>http://lists.easysw.com/mailman/listinfo/cups-dev<br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>________________________________________</div><div>Michael R Sweet, Senior Printing System Engineer</div></div></div></span></span>
</div>
<br></div></div></div></body></html>