On Monday 18 December 2006 11:40, Johannes Meixner wrote:
Hello,
On Dec 17 03:40 Rikard Johnels wrote (shortened):
cupsdoprint -P 'Lj4' -J 'rename.script' -H '192.168.1.16:631' -o ' 4L, CUPS+Gimp-Print LaserJet copies=1 cups" multiple-document-handling=separate-documents-collated-copies on orientation-requested=3 printer-make-and-model="HP printer-state-change-time=1164216569 printer-type=4102 v4.2.5' '/tmp/kde-rikjoh/kdeprint_xmcdWRCb' : execution failed with message: client-error-bad-request
cupsdoprint is part of KDE. I cannot help you regarding KDE. The option setting looks totally broken at least it is broken for CUPS which may lead to the client-error-bad-request but I don't know if it might be o.k. for cupsdoprint: -------------------------------------------------------------------- -o ' 4L, CUPS+Gimp-Print LaserJet copies=1 cups" multiple-document-handling=separate-documents-collated-copies on orientation-requested=3 printer-make-and-model="HP printer-state-change-time=1164216569 printer-type=4102 v4.2.5' --------------------------------------------------------------------
Try to print via CUPS command line, e.g.:
lpr -H 192.168.1.16:631 -P Lj4 -J rename.script filename
or
lp -h 192.168.1.16:631 -d Lj4 -t rename.script filename
As a workaround you might be able to specify a print command in KDE like
lpr -H 192.168.1.16:631 -P Lj4
or
lp -h 192.168.1.16:631 -d Lj4
or
kprinter
or
kprinter --stdin
Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/
All i get (In every case) is bad request. lpr -H 192.168.1.16:631 -P Lj4 -J test.printing olyckan lpr: Bad Request lp -h 192.168.1.16:631 -d Lj4 -t test.printing olyckan lp: Bad Request Where to go from here? -- /Rikard ----------------------------------------------------------------------------- email : rikard.j@rikjoh.com web : http://www.rikjoh.com mob: : +46 (0)763 19 76 25 ------------------------ Public PGP fingerprint ---------------------------- < 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 >