LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-04-2003, 05:28 PM   #1
sanjuro54
LQ Newbie
 
Registered: Sep 2003
Location: State College, PA
Distribution: Mandrake 10 Community
Posts: 8

Rep: Reputation: 0
Help Printing w/ Slackware 9.1!


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.

Thanks!!!
 
Old 10-04-2003, 06:03 PM   #2
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
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.

Cups Fix from a previous thread

Last edited by shepper; 10-04-2003 at 06:05 PM.
 
Old 10-04-2003, 06:26 PM   #3
sanjuro54
LQ Newbie
 
Registered: Sep 2003
Location: State College, PA
Distribution: Mandrake 10 Community
Posts: 8

Original Poster
Rep: Reputation: 0
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.
 
Old 10-04-2003, 07:06 PM   #4
sanjuro54
LQ Newbie
 
Registered: Sep 2003
Location: State College, PA
Distribution: Mandrake 10 Community
Posts: 8

Original Poster
Rep: Reputation: 0
Works great now. Thanks!
 
Old 10-04-2003, 07:48 PM   #5
jspaceman
Member
 
Registered: Dec 2000
Location: Toronto, Canaduhhhh
Distribution: Slackware -current, OpenBSD 3.8-stable
Posts: 178

Rep: Reputation: 30
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)
 
Old 10-07-2003, 10:23 AM   #6
linuxJaver
Member
 
Registered: Jul 2003
Location: Jakartax, ID
Distribution: slack9.1+,9.1,rh9
Posts: 203

Rep: Reputation: 30
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 .. ?
 
Old 10-07-2003, 10:46 AM   #7
linuxJaver
Member
 
Registered: Jul 2003
Location: Jakartax, ID
Distribution: slack9.1+,9.1,rh9
Posts: 203

Rep: Reputation: 30
Answer from http://www.cups.org/faq.php?29

What File Formats are Supported?

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.
 
Old 10-07-2003, 07:00 PM   #8
stevenhasty
Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Slackware-current
Posts: 169

Rep: Reputation: 30
thanks, shepper. that was easy.
 
Old 10-07-2003, 07:44 PM   #9
linuxJaver
Member
 
Registered: Jul 2003
Location: Jakartax, ID
Distribution: slack9.1+,9.1,rh9
Posts: 203

Rep: Reputation: 30
Thank for wut, it has not printed yet darling ..
It worked now, cool

Last edited by linuxJaver; 10-07-2003 at 07:50 PM.
 
Old 10-16-2003, 04:09 PM   #10
Pollyanna
Member
 
Registered: Oct 2003
Location: Germany
Distribution: Slackware 10.2, SuSE 10.0, Solaris(SPARC) 9+Solaris(x86) 9, NetBSD(sparc) 2.0.2
Posts: 43

Rep: Reputation: 15
Hi

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.


Pollyanna
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
slackware 9.1 printing dfownz Linux - Hardware 16 03-02-2004 06:21 PM
slackware+printing kgm Slackware 9 01-29-2004 08:41 AM
Printing and Slackware 9 benchcomptons Linux - Hardware 1 01-14-2004 03:27 PM
Printing with Slackware 9 mdw Slackware 5 05-10-2003 02:27 PM
Printing in Slackware 9.0 Sifvion Slackware 18 04-03-2003 07:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration