Bug 195496 - Okular doesn't print to HP LaserJet 1018
Summary: Okular doesn't print to HP LaserJet 1018
Status: RESOLVED DOWNSTREAM
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.8.4
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-06 20:50 UTC by Dmitriy
Modified: 2009-06-16 18:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitriy 2009-06-06 20:50:43 UTC
Version:           0.8.4 (using KDE 4.2.4)
OS:                Linux
Installed from:    Debian testing/unstable Packages

I've just upgraded my KDE 4.2.3 to KDE 4.2.4 from debian ustable. Okular doesn't print any documents (.pdf, .djvu) to my HP LaserJet 1018, but it does it to pdf. All other KDE applications do it correct. The same thing was in KDE 4.2.3. But in KDE 4.2.2 it works at the very beginning. It seems to me that the problem may be somehow connected with the new versions of HP printing utility. Now I use kpdf instead of ocular. It works fine. Also there were problems with okular in KDE 4.2.2 connected with printing of more than one page per paper list. It refused printing. And page orientation of printing settings was changed. I used portrait when I needed landscape and viceversa. Now I'm using HPLip Software version 3.9.4b and Device manager version 15.0.
Comment 1 Pino Toscano 2009-06-06 22:04:03 UTC
Please post the output your get when running okular from a console and then printing. Make sure that if running `kdebugdialog` you have all the okular debug areas enabled.
Comment 2 Dmitriy 2009-06-07 13:48:39 UTC
Here is the output from terminal during printing:

geser@asus-f3tc:~$ okular
usage: lpr [-cdfghlmnpqrstv] [-#num] [-1234 font] [-C class] [-i [numcols]]
        [-J job] [-Pprinter] [-T title] [-U user] [-wnum] [name ...]
Comment 3 Albert Astals Cid 2009-06-07 16:29:22 UTC
Can you paste the output of
dpkg -l cups-bsd lpr lprng
?
Comment 4 Dmitriy 2009-06-07 16:57:26 UTC
asus-f3tc:/home/geser# dpkg -l cups-bsd lpr lprng
Желаемый=неизвестно[u]/установить[i]/удалить[r]/вычистить[p]/зафиксировать[h]
| Состояние=нет[n]/установлен[i]/настроен[c]/распакован[U]/ошибка настройки[F]/
            частично установлен[H]/trig-aWait/Trig-pend
|/ Ошибка?=<нет>/зафиксирован[H]/требуется переустановка[R]/X=и то, и другое
(верхний регистр в полях состояния и ошибки указывает на ненормальную ситуацию)
||/ Имя                  Версия            Описание
+++-=======================-=======================-==============================================================
pn  cups-bsd                <нет>                (описание недоступно)
ii  lpr                     1:2008.05.17            BSD lpr/lpd line printer spooling system
un  lprng                   <нет>                (описание недоступно)
Comment 5 Dmitriy 2009-06-08 12:44:15 UTC
I've changed lpr with cups-bsd and everything works fine at the moment. Even those bugs with paper orientation disappeared. Smth is not right with debian lpr package I think.
Comment 6 Pino Toscano 2009-06-16 16:32:30 UTC
Unfortunately, detecting the variant of lpr is not possible (no command line options/arguments which can make it output version info), thus it is (sadly) up to the distros provide the right lpr (CUPS' one) by default for Okular.
Sorry.
Comment 7 Dmitriy 2009-06-16 18:05:32 UTC
I'm of the same opinion. That's why KDE 4.2 is still in testing and unstable.