Bug 207540 - Okular doesn't print
Summary: Okular doesn't print
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-16 07:49 UTC by Salvo "LtWorf" Tomaselli
Modified: 2010-07-11 17:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
okular log when printing (3.46 KB, text/x-log)
2009-09-17 17:31 UTC, Salvo "LtWorf" Tomaselli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Salvo "LtWorf" Tomaselli 2009-09-16 07:49:15 UTC
Version:           0.9.1 (using 4.3.1 (KDE 4.3.1), Debian packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.31odino

I tried to partially print a pdf file, and nothing happened. So i opened wireshark to see if something was being sent to the printing server, and nothing was sent.
I have no clue if the problem is okular or upstream. All i know is that i used gwenview to print something and it worked.
Comment 1 Dario Andres 2009-09-16 16:24:15 UTC
- Can you provide more information about your setup ?
  - Which printer do you have ? How is it configured ? Which print server /daemon are you using ? - Does printing in other KDE4 apps work ? Does printing in other non-KDE4 apps work ?
Thanks
Comment 2 Salvo "LtWorf" Tomaselli 2009-09-16 16:52:23 UTC
Printing in open-office, evince, firefox works.
I had to print something with gwenview and it worked.
I am using cups, the printer is correctly listed into the dialog window.

The printer is connected to another machine, which is using cups too.
This is my printers.conf (even if i am sure it is totally irrelevant):
# Printer configuration file for CUPS v1.4.1
# Written by cupsd on 2009-09-16 10:54      
<Printer LX-800>                            
AuthInfoRequired none                       
Info Stampante vecchia ma che funziona
Location Sul tavolo di salvo
MakeModel Epson LX-1050 Foomatic/epson (recommended)
DeviceURI http://atreides:631/printers/LX-800
State Idle
StateTime 1253080986
Type 8433668
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-postscript 100 foomatic-rip
Filter application/vnd.cups-pdf 0 foomatic-rip
Filter application/vnd.apple-pdf 25 foomatic-rip
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
Comment 3 Salvo "LtWorf" Tomaselli 2009-09-17 17:31:22 UTC
Created attachment 37017 [details]
okular log when printing
Comment 4 Salvo "LtWorf" Tomaselli 2009-09-17 17:33:58 UTC
It appears that the problem is due to a wrong command line parameter to "lpr".
Comment 5 Pino Toscano 2009-09-17 18:02:31 UTC
The problem is that you have the wrong lpr version installed.
Please install the CUPS version, and it should be fine.
Either way, there's no way to recognize them via command line invocation.
Comment 6 Salvo "LtWorf" Tomaselli 2009-09-17 19:16:40 UTC
Mh ok so it was all my fault.
Anyway in the log, it tells to lpr to use A4 paper format, while in the dialog i said i want to use letter paper format.
Comment 7 Albert Astals Cid 2010-07-11 17:33:31 UTC
I gather you can print now that you installed the lpr tool, right?

A4 vs Paper bug is not our bug, it's Qt, it should be fixed in Qt 4.6.3 as far as i remember

So i'm closing the bug, please reopen if any of my assumptions is wrong