PDA

View Full Version : How do I reinstall all the printing software



toaster2
04-13-2004, 04:42 AM
I can't print anymore in my Knoppix hd-install. When I run from the KDE menu KNOPPIX-> COnfigure-> Configure printer the mouse icon changes to the hourglass and comes back to a normal pointer after 6 seconds. Is there a comprehensive list of apt-get remove followed by apt-get install commands I could use to reinstall all printer related software? Any ideas please?
feory@po-box.mcgill.ca

rickenbacherus
04-13-2004, 04:50 PM
Hold up there. Why do you think you need to reinstall software? The menu is nothing more than a link to the application and it should not be inferred that the software has been removed. I don't use KDE (because it does the weirdest things like....oh I dunno losing links from the menu) so I have no idea how to fix it. I think the web interface for CUPS is vastly superior to the kde solution anyway.

Check if cups is running:

ps aux|grep cup

Then simply point your browser to

http://localhost:631/

and awya you go.

toaster2
04-13-2004, 05:46 PM
Thanks for your help, it is much appreciated! I already checked that the cupsd daemon is running. I got the menus from http://localhost:631/. I have a question (pardon my ignorance) exactly how does that mechanism work? I never typed anything like that in my web browser, so please explain me briefly what is happening.
Frank

Stephen
04-13-2004, 08:35 PM
Thanks for your help, it is much appreciated! I already checked that the cupsd daemon is running. I got the menus from http://localhost:631/. I have a question (pardon my ignorance) exactly how does that mechanism work? I never typed anything like that in my web browser, so please explain me briefly what is happening.
Frank

With the browser using that line you are connecting directly to the CUPS server. This allows you to do pretty much anything you want to configure your printer(s). What exactly is wrong does your printer not show up anymore? If so check /etc/cups/printers.conf and make sure apt has not replaced your configuration with the default one if so then your old config should be /etc/cups/printers.conf.dpkg-old just copy it back over the new one and restart the server (/etc/init.d/cupsys restart as root) and see if that helps.

toaster2
04-13-2004, 11:50 PM
>your printer does not show up anymore?
My printer does appear in http://localhost:631/printers and stays in the "processing, accepting jobs" state. I try to print a test page, but it just becomes another job that is processing. I checked the /etc/cups/printers.conf and it is there. I did the /etc/init.d/cupsys restart as you suggested, although I didn't change the configuration file, so I wasn't surprised nothing changed.

The printer (using the parallel port) was working normally for a few months until the problem showed up two days ago. The printing of a document doesn't get past the processing phase in the http://localhost:631/jobs. (to be more accurate, the first document is in processing, and all the others are pending. I have already removed all priting jobs and sent new documents, but the same thing happens)

I don't have any classes in http://localhost:631/classes. Is that normal? I read from http://localhost:631/overview.html that "Printer classes are collections of printers"
What do I put in name, location, description? I put the printer name for the name and description, clicked on continue and cups gave me "client-error-not-possible"

What do I do next? I can't find the "add class" help anywhere for acceptable things to fill in.