The following code (in atalk/etc) is supposed to return the page count from 
postscript printers:

%!PS-Adobe-3.0 Query
%%?BeginQuery: PageCount
statusdict begin pagecount (*) print = flush end
%%?EndQuery: Unknown
%%EOF

This works fine on most printers, but some are giving back 0 (zero).
Is there any other code that may work on those printers (Xerox C410 amongst 
others).

Are there any good Internet resources for advanced Postscript, including 
setting printer option/reading status values ?

Anyone know of any Internet resources detailing PCL codes, and PCL headers 
etc ?

Thanks
Michael.
-------------------------------------------------------------------
Michael J Harlow                    email : [EMAIL PROTECTED]
Computer Systems Officer, School of Geography and Env. Studies,
University of Tasmania, GPO Box 252-78, Hobart, Tas 7001, Australia.
Phone : (03) 6226 2212 or 0419 585 308      fax  : (03) 6226 2989
Web : http://www.geol.utas.edu.au/geog
-------------------------------------------------------------------

Reply via email to