[cups.general] How to send jobs to a SCSI printer with cups?

Michael Sweet mike at easysw.com
Fri Sep 10 04:18:58 PDT 2004


Mike Fedyk wrote:
> Michael Sweet wrote:
> 
>> Mike Fedyk wrote:
>>
>>> Does the scsi backend use SG (SCSI Generic) device files to send the 
>>> jobs to a printer?
>>
>>
>>
>> Yes.
> 
> 
> Ok, good.
> 
>>
>>> I have been unable to find device file names to use for the backend.
>>>
>>> Also my goal is to be able to send PCL to this printer:
>>>
>>> Host: scsi1 Channel: 00 Id: 05 Lun: 00
>>
>>
>>
>> Check your dmesg output to find out which device to use.  At some
>> point we may update the SCSI backend to work like the USB backend,
>> where the device ID is mapped to a SCSI address/device for you...
> 
> 
> I used a trick where you count the entries in /proc/scsi/scsi and the
> entry number of your device is your sg number.
> 
> Now, it looks like I'm getting a SCSI error when I try sending a job.
> I've been able to send jobs to non-scsi postscript hp lj8000 via
> jetdirect from this system in raw and foomatic configurations, so my
> base setup is working to some degree.

SCSI errors normally show up as kernel messages, so you can use
the dmesg command to see the last bunch of errors...

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Printing Software for UNIX                       http://www.easysw.com




More information about the cups mailing list