[opensuse] raw printer (pipe) to kprinter
Following the thread: Firefox 3.x will not print I tried to create a pipe to kprinter. I found this in YaST, printer, connexion wizard, pipe. In used /opt/kde3/bin/kprinter. When printing a page I get an IPP error (error printing to..). the IPP report is: Attribut Valeurs job-more-info ipp://localhost:631/jobs/232 job-preserved Vrai job-printer-up-time ven. août 21 20:26:25 2009 job-state-reasons job-stopped job-uri ipp://localhost:631/jobs/232 printer-uri ipp://localhost/printers/rawqueue job-originating-user-name root job-name YaST2testprint_rawqueue document-format application/postscript finishings 0x3 copies 1 job-hold-until no-hold job-priority 50 number-up 1 job-sheets none none page-label rawqueue:YaST2testprint@monacer job-uuid urn:uuid:a46524fa-fc51-321d-6ff0-62da295b1211 job-originating-host-name localhost time-at-creation ven. août 21 20:25:59 2009 time-at-processing ven. août 21 20:25:59 2009 time-at-completed job-id 232 job-state 0x6 job-media-sheets-completed 0 job-printer-uri ipp://monacer.perso:631/printers/rawqueue job-name YaST2testprint_rawqueue job-k-octets 17 job-printer-state-message Error occurred while executing /bin/cat /var/spool/cups/d00232-001 | /opt/kde3/bin/kprinter job-printer-state-reasons none and "/bin/cat /var/spool/cups/d00232-001 | /opt/kde3/bin/kprinter" works perfectly when issued from any terminal. any idea? thanks jdd -- http://www.dodin.net http://valerie.dodin.org http://news.opensuse.org/2009/04/13/people-of-opensuse-jean-daniel-dodin/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello, On Aug 21 20:32 jdd wrote (shortened):
I tried to create a pipe to kprinter. I found this in YaST, printer, connexion wizard, pipe.
In used /opt/kde3/bin/kprinter. When printing a page I get an IPP error (error printing to..).
the IPP report is: ... job-printer-state-message Error occurred while executing /bin/cat /var/spool/cups/d00232-001 | /opt/kde3/bin/kprinter ...
and "/bin/cat /var/spool/cups/d00232-001 | /opt/kde3/bin/kprinter" works perfectly when issued from any terminal.
When running if from a terminal, it is run as your user so that kprinter can open its window on your desktop. When kprinter is run "inside" the printing system (e.g. via the "pipe" backend), it is run as user "lp" who is not allowed to open a window on your desktop. Perhaps "/opt/kde3/bin/kprinter --nodialog" (see "kprinter --help") would work but I guess this is not want you want because this should make no difference to just print it directly. The solution would be to enter "kprinter" or "kprinter --stdin" (see "kprinter --help") as printing command in your application but I don't know how to do this for Firefox but I know, the real Firefox expert listens here too ;-) Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
jdd
-
Johannes Meixner