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 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.
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.
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.
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.
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.
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.)
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.
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?
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'.
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.