It didn't worked at first attempt: no printout, no error message.
Printing the test page from the system settings did work indeed.
By command line I could get this error:
Code:
~ lpr anyfile.pdf
lpr: error while loading shared libraries: libpng.so.3: cannot open shared object file: No such file or directory
The bug has been already filed at Launchpad (but none seems paying attention to it).
The workaround for me was:
Code:
# ln -s /lib/libpng12.so.0 /lib/libpng.so.3
# ls -l /lib/*png*
lrwxrwxrwx 1 root root 18 2010-10-18 08:15 libpng.so.3 -> /lib/libpng12.so.0
lrwxrwxrwx 1 root root 18 2010-10-14 09:18 libpng12.so.0 -> libpng12.so.0.44.0
-rw-r--r-- 1 root root 158736 2010-06-29 13:30 libpng12.so.0.44.0
Then I did the test again:
Code:
~ lpr anyfile.pdf
Package `cupsys-common' is not available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
WARNING: configuration file not found
(12005) KSharedDataCache::Private::mapSharedMemory: Opening cache "/var/tmp/kdecache-enzo/icon-cache.kcache" page size is 4096
(12005) KSharedDataCache::Private::mapSharedMemory: Attached to cache, determining if it must be initialized
(12005) KSharedDataCache::Private::mapSharedMemory: Cache fully initialized -- attached to memory mapping
(12005) KSharedDataCache::Private::mapSharedMemory: 9203712 bytes available out of 10485760
ProcessEx::execute: </usr/bin/lpr.orig|-#|1|-P|SCX-4623-Series|-h|-o|auth-info-required=none device-uri=usb://Samsung/SCX-4623%20Series finishings=3 job-hold-until=no-hold job-priority=50 marker-change-time=0 number-up=1 printer-commands=AutoConfigure,Clean,PrintSelfTestPage printer-info=Samsung SCX-4623 Series printer-is-accepting-jobs=true printer-is-shared=true printer-location=uqbar printer-make-and-model=Samsung SCX-4623 Series printer-state=3 printer-state-change-time=1287382072 printer-state-reasons=none printer-type=8523844 printer-uri-supported=ipp://localhost:631/printers/SCX-4623-Series scaling=100|anyfile.pdf>
ProcessEx::execute: failed to launch
So there seems to be two more issues (marked WITH bold).
I tried to fix the first one:
Code:
# apt-get install cupsys-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package cupsys-common
No way, then. It was reported as a warning so I tried just to skip it.
Then I went to the second issue:
Code:
# sudo find / -name lpr\*
/var/log/lpr.log.1
/var/log/lpr.log
/usr/bin/lpr
/usr/bin/lprm
/usr/local/bin/lpr
/usr/share/app-install/desktop/lprof.desktop
/usr/share/app-install/icons/lprof.png
/usr/share/doc/pnm2ppa/examples/sample_scripts/lprbw
/usr/share/doc/pnm2ppa/examples/sample_scripts/lprcolor
/usr/share/doc/pnm2ppa/examples/sample_scripts/lpreco
/usr/share/man/man1/lpr.1.gz
/usr/share/man/man1/lprm.1.gz
/usr/share/vim/vim72/syntax/lprolog.vim
/usr/share/vim/vim72/ftplugin/lprolog.vim
Let's try a quick workaround first.
Code:
# ln -s /usr/bin/lpr /usr/bin/lpr.orig
# lpr anyfile.pdf
Package `cupsys-common' is not available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
WARNING: configuration file not found
(12042) KSharedDataCache::Private::mapSharedMemory: Opening cache "/var/tmp/kdecache-enzo/icon-cache.kcache" page size is 4096
(12042) KSharedDataCache::Private::mapSharedMemory: Attached to cache, determining if it must be initialized
(12042) KSharedDataCache::Private::mapSharedMemory: Cache fully initialized -- attached to memory mapping
(12042) KSharedDataCache::Private::mapSharedMemory: 9203712 bytes available out of 10485760
ProcessEx::execute: </usr/bin/lpr.orig|-#|1|-P|SCX-4623-Series|-h|-o|auth-info-required=none device-uri=usb://Samsung/SCX-4623%20Series finishings=3 job-hold-until=no-hold job-priority=50 marker-change-time=0 number-up=1 printer-commands=AutoConfigure,Clean,PrintSelfTestPage printer-info=Samsung SCX-4623 Series printer-is-accepting-jobs=true printer-is-shared=true printer-location=uqbar printer-make-and-model=Samsung SCX-4623 Series printer-state=3 printer-state-change-time=1287382072 printer-state-reasons=none printer-type=8523844 printer-uri-supported=ipp://localhost:631/printers/SCX-4623-Series scaling=100|anyfile.pdf>
The print came out of my marvelous printer smoothly as expected.
I would say: that's it.
It would be indeed nicer if someone at the MOTU would make something to fix the first issue. The second one (the missing lpr.orig) I think is up to the Samsung Unified Printer Driver maintainer.
Bookmarks