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-02-2006, 10:40 PM   #16
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32

Hi LocoMojo,

I did as you suggested, and this doesn't seem to be the issue.

root@localhost:~# which foomatic-rip
/usr/bin/foomatic-rip
root@localhost:~# cd /usr/lib/cups/filter
root@localhost:/usr/lib/cups/filter# ln -s /usr/bin/foomatic-rip foomatic-rip
ln: `foomatic-rip': File exists
root@localhost:/usr/lib/cups/filter#

I also verified that the .ppd file is installed in /etc/cups/ppd directory.

However, when I went to /var/log/packages directory, I couldn't find ghostscript-? installed. It would seem that you've found the problem.

Thank you very much!

Now, I need to figure out how to install ghostscript.

Thank you,
-Joe
 
Old 10-02-2006, 10:49 PM   #17
The_Outlander
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Slackware 12.1
Posts: 235

Rep: Reputation: 30
espgs package slackware /ap.
 
Old 10-02-2006, 10:58 PM   #18
LocoMojo
Member
 
Registered: Oct 2004
Distribution: Slackware 12
Posts: 165

Rep: Reputation: 30
Joe,

My bad, I said to check for ghostscript in your /var/log/packages when I should have said check for espgs in your /var/log/packages.

espgs is a customized version of Ghostscript.

Sorry about that.

LocoMojo
 
Old 10-02-2006, 11:12 PM   #19
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32
Hi LocoMojo,

I installed with pkgtool gimp-print. I just checked in /var/log/packages and now I have both packages installed there: gimp-print and espgs. I restarted cups with the command you gave... I still cannot print.

Thank you for trying,
-Joe
 
Old 10-03-2006, 12:23 AM   #20
The_Outlander
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Slackware 12.1
Posts: 235

Rep: Reputation: 30
Did you install slackware using the expert menu/newbie etc.
If you have the room, a full install is better. You can trim down later.
I ran into this when first starting out with Slackware - it is not a hand holding distro. But it's great all the same.

It seemed strange to me that you ran into problems immediately, and that is usually because packages have not been installed.
If you have hpijs, espgs and foomatic installed printing should be a breeze. You could try installing hpoj, but that has been superceded by hplip.
No python interpreter may be the result of not installing the appropriate packages.
slackware /d -
It is easy to leave out dependencies, which slackware allows you to do, if you so wish.

Last edited by The_Outlander; 10-03-2006 at 12:31 AM.
 
Old 10-03-2006, 12:29 AM   #21
LocoMojo
Member
 
Registered: Oct 2004
Distribution: Slackware 12
Posts: 165

Rep: Reputation: 30
Hmm...

Just out of curiosity, are you able to print a file by doing:

Code:
lp whatever.txt
in the console? Try that with a small text file.

Here's something else you could try. It's a shot in the dark, but I had to do this to solve a printing problem before.

Go to /etc/cups and open up a file called mime.types and then scroll all the way down to the bottom. Do you see a line under "Raw print file support" which says:

Quote:
application/octet-stream
If so, is it commented out (does it have a # in front of it)? If it is, try uncommenting that line (remove the #) and then do the same for a file called mime.convs (same line at the bottom) in the same directory...save the changes...then trying printing a file again...see if that does the trick.

Cross your fingers

LocoMojo
 
Old 10-03-2006, 02:37 AM   #22
doeppjakab
LQ Newbie
 
Registered: Jul 2006
Distribution: Desktop: Slackware 12, Slamd64; Server: OpenBSD
Posts: 10

Rep: Reputation: 0
Back to the cups printer setup... (typing localhost:631 in konqueror).

You have to place your ppd in /usr/share/ppd or in any directory under that (eg. HP) for the cups server to find it automatically (does anybody know how to tell it to look elsewhere?) Restart the cups server, and your printer will be listed along with the other HP printers.

jd
 
Old 10-03-2006, 03:42 AM   #23
The_Outlander
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Slackware 12.1
Posts: 235

Rep: Reputation: 30
http://www.cups.org/cups-help.html#tell
How to tell your printer's PPD

For every installed printer (apart from "raw" printers), there is a copy of the companion PPD in the /etc/cups/ppd/ directory, named like your printer with a .ppd extension. (Hint: you don't need to put this file manually there; it's done by the lpadmin command or the web installation interface). Example: a printer named "MySuperDuperInkjet" will have a /etc/cups/ppd/MySuperDuperInkjet.ppd.

I think it works manually also. I seem to remember adding a ppd in this way for a printer that had no support.
Please correct me if I am wrong.
 
Old 10-03-2006, 04:15 AM   #24
doeppjakab
LQ Newbie
 
Registered: Jul 2006
Distribution: Desktop: Slackware 12, Slamd64; Server: OpenBSD
Posts: 10

Rep: Reputation: 0
Sorry, I should have said to copy the downloaded ppd to /usr/share/cups/model, not /usr/share/ppd (which is where the hpijs package places its ppds. It also places a link in /usr/share/cups/model called foomatic-ppds, which points to /usr/share/ppd.)

jd
 
Old 10-03-2006, 12:02 PM   #25
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32
Hi,

I'm sorry it took me so long to get back to you. I've wasted the whole morning arguing with Verizon. I just started using their service and this morning, a message appeared on my screen after I started my pc telling me that my OS isn't suported, so please use a supported OS. I called and was endlessly put on hold. I was told that they don't support Linux. I told them that I don't want them to support Linux, just give me the connecton. They claim they can't. I told them that they are probably using Linux on their servers, probably saving them millions of dollars and that they should provide a service friendlier to the Linux community. I cancelled my account and notified them that I'll going to a different provider. (But, this should probably be a different thread)

I did do the full install.


lp /home/joegum/tryit.txt

outputted

request id is HP_+Deskjet-21 (file(s))


I got down as far as uncommenting "application/octet-stream"

Now, when I try to print a .txt file, I get a different message: "client-error-document-format-not-supported"

I've run out of time. I'll try the other suggestions late tonight when I return home from working.

As always...

Thank you,
-Joe
 
Old 10-03-2006, 11:23 PM   #26
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32
I copied the .ppd file to /usr/share/cups/model and /usr/share/cups/model/HP. I restarted cups and uninstalled and reinstalled my printer. Now, the HP3920 is on the list of drivers. But, when hI try to print a test page, I still get the message: "client-error-document-format-not-supported"

I also restarted cups again and tried "lp /root/text.txt"

output:

lp: error - no default destination available.

But... I have an idea....

I'm not married to KPrint (especially since it seems to be broken.)

I see that The GIMP has its own printing software. When I start the GIMP and try to PRINT, a dialog box open up where I can select my printer's .ppd file. (File>New>Printer...>Printer Setup) If I name the printer first in "New Printer", I get the option of using a command to initiate printing. Perhap[s if I can write a detailed enouigh command, perhaps I can bypass KPrint and CUPS entirely? I could Cut-and-Paste docs into GIMP and then print from there.

Or, alternatively, is there other printing software I could use here?

Thanks,
-Joe
 
Old 10-04-2006, 01:05 AM   #27
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
You could try reinstalling cups as long as you've got all the dependencies and not lprng. You probably haven't got lprng, but in case you have, reinstalling cups will sort out any issues with it. If you've got a copy of cups on a disc you can do a 'upgradepkg --reinstall'.
 
Old 10-04-2006, 10:14 AM   #28
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32
Hi simcox1,

I just re-installed CUPS. No error messages... just like it was in the beginning. I get the dialog box that tells me that a test page waS sent to the printer. Then, nothing happens.

Thanks,
-Joe
 
Old 10-04-2006, 11:37 AM   #29
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
What happens when you go to http://localhost:631 ?
Is rc.cups executable?
 
Old 10-04-2006, 07:51 PM   #30
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32
When I configure from Konqueror, it's the same thing. All indications are that everything is fine, but nothing come out of the printer. (Btw, I did test this printer in Windows.)

I typed in "ls rc.cups"

output

/usr/bin/ls: rc.cups: No such file or directory.

Maybe this is it?

I downloaded the 4 disk set for Slackware. I used the 2 installation disks to install. Would it make sense to maybe try to use the 2 source code disks and just do a clean re-install?

Thanks,
-Joe

Last edited by joegumbo; 10-04-2006 at 08:08 PM.
 
  


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
HP Deskjet 3930 sofasurfer Debian 16 07-15-2006 11:23 PM
HP 3930 and Modem............ kate45 Linux - Newbie 1 03-15-2006 04:05 PM
HP DeskJet 5550 USB & Slackware Tratulla Linux - Hardware 0 08-20-2003 09:30 AM
Slackware 9 and HP Deskjet 3820 PJota Linux - Hardware 1 07-29-2003 10:24 AM
HP DeskJet 690C & Slackware 9.0 tireseas Linux - Hardware 0 07-13-2003 07:51 AM

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

All times are GMT -5. The time now is 01:23 PM.

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