Comment 2 for bug 365977

Revision history for this message
Darshaka Pathirana (dpat) wrote :

Hi!

Also stumbled over this problem.

System: Kubuntu 10.04

We have a Samsung CLP-510 and installed the printer driver provided by [1][2].

[1] http://www-personal.umich.edu/~tjwatt/suldr/
[2] http://www.bchemnet.com/suldr/

After installing the driver okular stopped printing. So I started okular by command line,
printed a page and got this output:

% okular testfile.pdf
okular(4483)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(4483)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(4483)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
QFileSystemWatcher: failed to add paths: /home/sysadmin/.config/ibus/bus
Bus::open: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon
Paket »cupsys-common« ist nicht verfügbar.
Verwenden Sie dpkg --info (= dpkg-deb --info) zum Untersuchen von Archiven,
und dpkg --contents (= dpkg-deb --contents) zum Auflisten ihres Inhalts.
WARNING: configuration file not found
lpr: invalid option -- 'r'
ProcessEx::execute: </usr/bin/lpr.orig|-P|clp510|-#1|-J|testfile.pdf|-o|media=A4|-o|landscape|-o|sides=one-sided|-o|outputorder=normal|-o|Collate=False|-r|/tmp/kde-sysadmin/okularFm4483.ps>
ProcessEx::execute: failed to launch

(Sorry for the german locale but "LANG=C okular testfile.pdf" did not bring up my printer and I had no time to debug that problem.)

It seems that "lpr" provided by Samsung does not implement the "-r" option ("Specifies that the named print files should be deleted after printing them.") and therefor fails to print. My workaround is to move the symlink out of the way:

% mv /usr/local/bin/lpr /usr/local/bin/lpr_samsung

The default "lpr" seems to work with Samsung drivers but I still have to investigate.

Regards,
 - Darsha