"client-error-bad-request"

vijay mvjp.183 at gmail.com
Tue Apr 27 22:49:04 PDT 2010


Hi Michael,

My tcl file contains code like this.
...
...
exec cat printerDriverFile.prn | lp -d printerName
...
...

The prn file is a hprtl driver output file.

Regards,
Vijay.


> How are you running your script from inside CUPS?
>
> On Apr 27, 2010, at 4:49 AM, vijay wrote:
>
> > Hi Michael,
> >=20
> > Thanks for your reply.
> >=20
> > No, i am able to see only "lp: unable to print file: =
> client-error-bad-request" in error_log.
> >=20
> > What are all the possible scenarios for getting this error?
> >=20
> > Because, if i use "lp -d printerName fileName" in bash terminal then =
> its working fine.
> >=20
> > Regards,
> > Vijay.
> >=20
> >> On Apr 26, 2010, at 6:47 AM, vijay wrote:
> >>> I am using my TCL Application. Inside my TCL Application i am =
> calling
> >>> "lp -d printer raster-file" then i am getting the following error
> >>> "lp: unable to print file: client-error-bad-request". My TCL =
> Application
> >>> uses tclsh shell.
> >>=20
> >> Do you see any errors in the /var/log/cups/error_log file?
> >>=20
> >> =
> ________________________________________________________________________
> >> Michael Sweet, Senior Printing System Engineer, PWG Chair
> >>=20
> >>=20
> >>=20
> >>=20
> >=20
> > _______________________________________________
> > cups mailing list
> > cups at easysw.com
> > http://lists.easysw.com/mailman/listinfo/cups
>
> ________________________________________________________________________
> Michael Sweet, Senior Printing System Engineer, PWG Chair
>
>
>
>





More information about the cups mailing list