[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using CUPS



* on the Wed, Jul 18, 2007 at 03:51:32PM +0100, Stroller wrote:
> >
> > [Wed Jul 18 11:01:33 2007] [error] [client 192.168.0.45] malformed
> > header from script. Bad header=request id is hplj4-260 (1 fil: is.pl,
> > referer:
> 
> Could you give an actual example of the entry in the [printers]  

Laser      = lp -d hplj4

> and the appropriate error, please?

the log error is shown above

> It might also help to tell us what o/s &/or distro you're using &  
> which version of CUPS.

Debian Etch
CUPS Version: 1.2.7-4
Apache Version: 2.2.3-4 (mpm-worker)


Using 
Laser      = lp -dhplj4
or
Laser      = lp -d hplj4
Job gets printed but still get the Apache error shown in original 
message.

Using
Laser      = "lp -d hplj4"
No job printed. Apache reports
sh: lp -d hplj4: command not found

Using
Laser      = lp "-d hplj4"
No job printed. Apache reports
lp: unable to print file: client-error-not-found


Hope this helps.
* on the Wed, Jul 18, 2007 at 03:51:32PM +0100, Stroller wrote:
> >
> > [Wed Jul 18 11:01:33 2007] [error] [client 192.168.0.45] malformed
> > header from script. Bad header=request id is hplj4-260 (1 fil: is.pl,
> > referer:
> 
> Could you give an actual example of the entry in the [printers]  

Laser      = lp -d hplj4

> and the appropriate error, please?

the log error is shown above

> It might also help to tell us what o/s &/or distro you're using &  
> which version of CUPS.

Debian Etch
CUPS Version: 1.2.7-4
Apache Version: 2.2.3-4 (mpm-worker)


Using 
Laser      = lp -dhplj4
or
Laser      = lp -d hplj4
Job gets printed but still get the Apache error shown in original 
message.

Using
Laser      = "lp -d hplj4"
No job printed. Apache reports
sh: lp -d hplj4: command not found

Using
Laser      = lp "-d hplj4"
No job printed. Apache reports
lp: unable to print file: client-error-not-found


Hope this helps.