X-Git-Url: http://git.rot13.org/?p=safeq;a=blobdiff_plain;f=README;h=5cf03fcc2c3bc67c01129763a9793e762590aa3f;hp=5304c2ca1ddb105eeb757041e79b47a54ff99084;hb=8a96b1652f740c190449571f9992b9c151eeba0e;hpb=189182090a81790aa41bc59bd48cd92e1113730b diff --git a/README b/README index 5304c2c..5cf03fc 100644 --- a/README +++ b/README @@ -1,5 +1,33 @@ Goal is to write replacement SafeQ using cups and samba For now, first goal is to support SafeQ terminal protocol so we can re-use devices not supported -by vendor any more. +by vendor any more. We are also annoyed by SafeQ "feature" which doesn't allow us to use scanning +if Xerox runs out of toner. This is arbitrary limitation which cripples this setup for us. + +./debian-install.sh # will install required Debian packages + + +We have old Xerox WorkCentre 5225 and 7232 machines (from 2008) and getting active jobs or +history is supported by web interface which is scraped and javascript variables inside +used to display info. + +./xwc-jobs.pl 10.60.3.35 # list active jobs on Xerox WorkCentre 5225 by scraping web +./xwc-jobs.pl 10.60.3.35 list + +./xwc-jobs.pl 10.60.3.35 hist # list completed jobs + +Script produces tab delimited output, but if you want to format it nicely you can always use +SEP enviroment variable to specify sparator and column to format it. This is included in +xwc-jobs helper shell script which is useful for interactive use: + +dpavlin@t42:~/safeq$ ./xwc-jobs 10.60.3.35 +IP id Job Name Owner Status Type Quantity +10.60.3.35 00015c2c - 10.60.3.10 3:User Action 1:Print 0 +10.60.3.35 00015c2f Test Page root 3:User Action 1:Print 0 +10.60.3.35 00015c32 - 10.60.3.10 3:User Action 1:Print 0 + + +You can delete job using: + +dpavlin@t42:~/safeq$ curl -XPOST -d OPR=CANCEL -d JOBS=00015c32/ http://10.60.3.35/JOBCTRL.cmd