printer setup problems

Sven Richter sveri-list at gmx.de
Wed Nov 16 12:09:53 GMT 2005


Hello,

On Tuesday 15 November 2005 08:41, squareyes wrote:
> Hi all,
> am having problems with printer, worked OK
> with Hoary. Setting it up with Breezy(HP laserjet 1100 )
> now results in hundreds of pages feeding through,
> only way to stop it is to turn off printer and re-boot.
>
Maybe you can try the following:

turn off printer
sudo /etc/init.d/cupsys stop
sudo rm /var/spool/cups/*
sudo rm /var/spool/cups/tmp/*
sudo /etc/init.d/cupsys start
turn on printer

This often helped me about it.

> The printer appears in the available list, but have been there before,
> with printers appearing in the list, but not working. Why include them
> if they don't work? Getting very frustrated.
>
Sometimes you need to download an extra ppd file.
But i know nothing about this specific printer.


> Does anyone have any ideas?? what am I doing wrong,or do I have to
> re-install Win 98 to be able to print reliably.
>
Yes, turn on the debugging and paste some logs here ;-)

sudo vim /etc/cups/cupsd.conf
search for "LogLevel info" and replace it
with "LogLevel debug"
(in vim you can fast search with /searchterm
try /debug in this case and you will be right there
you want to be.
In vim you can enter writing mode by pressing the i key,
after replacing info with debug press the escape key
and then press :wq Enter to quit and save)
sudo /etc/init.d/cupsys restart

Then try to print something.
Afterwards have look at
/var/log/cups/error_log
to catch out the relevant information enter
cat /var/log/cups/error_log | grep "the time you tried to print"
for example cat /var/log/cups/error_log | grep "15:45"

This always helped me to find whats going wrong.



Greetings Sven Richter




More information about the ubuntu-users mailing list