SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I recently just installed Slackware 9.1. I setup CUPS and am able to print a test page through the web interface. However, I dont know how to print anywhere else. If I print from epiphany or abiword by clicking the print icon nothing happens at all. In a terminal the lpr command is not recognized either. Is there another comman? Any help would be greatly appreciated.
I just went through this. The cups web interface writes an incomplete printcap file if LPRng is installed. I removed the LPRng package and then went to the cups interface and removed the printer. Then I removed CUPs and rebooted. Installed CUPS back and the re-install the printer from the CUPs web interface which writes a new printcap file. I may have had some extra step but it works and took about 5 minutes.
Thanks, I will try that. I removed the LPrng package already and reinstalled my printer through the web interface but I did not reinstall CUPS package. I will try that and see if I have any luck.
I noticed, after configuring CUPS through the web interface, whenever I ran 'checkpc -f' it would say my printcap file was missing an 'sd' (spool directory) entry.
I will have to try uninstalling LPRng later tonight (I'm in Winblows right now)
I can also print the test page after configured it with webInterface. But I dun know how to print other document.
I used to format a text-file with a2ps n redirect its output to a file, then view it with ghostview, n if it satisfy me than I print it with "lpr thatOutputFile".
I tried to use it n lpr said that it can not connect to myEpson lpd something I created with webInterface ..
After "removepkg lprng-3.8.22-i486-1" I can not even find those lpr,lpq stuff ..
Q: How to print a preformated file (postscript) with cups ? It seemed to support postscript level 3 as stated on TestPage. Actually epsonStylus Color 480 is a inkjet printer, if cups can print a postscript file on it would be great .. ?
The basic CUPS distribution supports the following file formats on all printers:
* Text (many 8-bit charsets + UTF-8)
* PostScript
* PDF
* HP-GL/2
* Image Files:
o BMP
o GIF
o JPEG
o PhotoCD (baseline resolution only)
o PIX
o PNG
o PNM (PBM, PGM, PPM)
o SGI RGB
o Sun Raster
o TIFF (single page images only)
The current distribution also includes rules to allow automatic raw printing of PCL (HP), ESC/P (EPSON), and PostScript files from Windows clients.
----
I just removed the printer added by using webInterface, removepkg-ed cups.., installpkg cups.., then those lp,lpr,lpq tools are all back .., but still cannot print the raw file/postscript
[root@tx97e:~/etc/named]$ lpr aPostscriptFile
[root@tx97e:~/etc/named]$ lpq
sc480 is ready
no entries <---------- Should show the queue/job
Last edited by linuxJaver; 10-07-2003 at 07:42 PM.
lp, lpr, ... are just symbolic links to either the cups-version (lp-cups, lpr-cups, ...) or the lprng-version (lp-lprng, lpr-lprng, ...) of them.
Try: ls -l /usr/bin/lp
The package installed the latest claims the links at installation and removes them at its removal...
If you simply set the links correct (ln -sf /usr/bin/lp-cups /usr/bin/lp) for lp, lpr, lprm, lpq, lpstat and lpc (resides in /usr/sbin) it seems to work. 8-)
It seems to me there is nothing wrong with /etc/printcap.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.