[cups.general] Problem with serial printer
kssingvo at suse.de
Mon Apr 18 01:35:45 PDT 2005
First of all: I missed the system you are running (Vendor, Version, etc).
There is general documentation how a backend has to work. Please have
a closer look at:
Antony Gelberg wrote:
> Hi all,
> I'm having a problem with a receipt printer that we're using in a POS
> system. It's got a serial connection and the manufacturer has provided
> filter and model files for CUPS. They also provided a serial backend
> binary. When I use their serial backend, I get:
> D [15/Apr/2005:16:27:05 +0100]
> start_process("/usr/lib/cups/backend/serial", 0xbfff0fb0, 0xbfff0320,
> 11, 12, 10)
> I [15/Apr/2005:16:27:05 +0100] Started backend
> /usr/lib/cups/backend/serial (PID 26269) for job 11.
> D [15/Apr/2005:16:27:05 +0100] ProcessIPPRequest: 7 status_code=0
> E [15/Apr/2005:16:27:05 +0100] PID 26268 stopped with status 22!
> E [15/Apr/2005:16:27:05 +0100] PID 26269 stopped with status 22!
> D [15/Apr/2005:16:29:01 +0100]
Under Linux this means EINVAL (= invalid argument)
> With the standard serial backend, it's no better.
> start_process("/usr/lib/cups/backend/serial", 0xbfff0fe0, 0xbfff0350,
> 11, 12, 10)
> I [15/Apr/2005:16:29:01 +0100] Started backend
> /usr/lib/cups/backend/serial (PID 26428) for job 11.
> D [15/Apr/2005:16:29:01 +0100] ProcessIPPRequest: 7 status_code=0
> E [15/Apr/2005:16:29:01 +0100] PID 26427 stopped with status 22!
Again: EINVAL (wrong arguments)
Are you sure your system is correct setup? Permissions, ownership, etc.
Maybe this document helps you for debugging (under Linux):
....especially the part "The Backend"
SUSE LINUX Products GmbH
Maxfeldstr. 5 E-Mail: Klaus.Singvogel at SuSE.de
90409 Nuernberg Phone: +49 (0) 911 740530
Germany GnuPG-Key-ID: 1024R/5068792D 1994-06-27
More information about the cups