job name to lpr queue

garycarroll garycarroll at charter.net
Wed Dec 13 07:52:45 PST 2006


Helge Blischke wrote:
> gary wrote:
>> I am sending a job via cups to a queue on a front end for a xerox, 
>> which is
>> some specialized software running on a Sun. The job I am sending is
>> already a postscript file, and is being sent lpr via a raw cups queue by
>> the command lp -t $strnm -d doc1 /fixedfolder/$strnm.ps where doc1 is 
>> the name of the queue and $strnm resolves to the unique part
>> of the name of the file. My problem is that the jobs do not show up in 
>> the
>> front end queue with the unique name, but instead show something like
>> "261-1". The job does show up in CUPs webadmin queue with the correct
>> name. Jobs
>>
>> printed from Windows do show the name in the xerox queue.
>>
>> I tried changing the queue from raw to using the xerox ppd, but this did
>> not help (and added unneeded job ticket baggage). The job name shows 
>> up on the front-end as soon as the job is received,
>> before any processing is done, so I don't think it is embedded in the ps
>> anywhere.
>>
>> What am I doing wrong?
> 
> I guess you are talking about a DocuTech 61xx or the like, running
> DocuSP on the SUN box.
> 
> If you tell us how your CUPS queue is configured, I presumably can
> tell you how to pass the title to the Xerox box.
> 
> Helge
> 
> PS: The easiest way is to use the IPP gateway; in that case the
> title string will be correctly passed.

Actually not a true xerox front end, but similar.
I find that there is a known (but not very *widely* known) bug in the 
front end that does not accept jobs names correctly from LPR. A patch is 
forthcoming. I therefor presume cups is doing it right.
Thanks.




More information about the cups mailing list