Passing options - stapling

Michael Sweet mike at easysw.com
Fri Dec 16 17:56:09 PST 2005


Edgar wrote:
> I would like to print from a SuSE Linux system using CUPS v 1.13
> to a Xerox Document Centre DC265 going thru a Solaris 9 print server
> using Xerox CentreWare software.
> 
> The jobs print fine, but the problem is passing the options.
> 
> For example, the option for stapling is -oStaple1P.
> 
> On Linux, I configured the printer using lpd://host/queue.
> 
> I then print using: lp -dprinter -oStaple1P filename.ps
> 
> I enabled debug2 logging and in /var/log/cups/error_log I see:
> 
> D [16/Dec/2005:17:54:43 -0500] StartJob: argv = "printer","9","user","filename.ps","1","Staple1P","/var/spool/cups/d00009-001"
> 
> However on the Solaris print server side, the option is not received.

Of course - printing via LPD will lose all command-line options;
instead, you need the PPD file for this device, at which time you
will be able to pass in the appropriate staple option and have it
embedded in the print data that is sent to the Solaris box.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com




More information about the cups mailing list