To do not lock out yourself out of your machine do the following:

0. Make sure that you do not have any hard disk partition which is
nearly full with

   df -k

Espcially the partitions containing /tmp, /etc, and /var should not be
full.

1. Download the newest version of cups, cups-drivers, and ghostscript
from

   http://www.mandrakesoft.com/~tkamppeter/packages/

2. Uninstall the current CUPS version:

   rpm -e --nodeps cups cups-drivers ghostscript

3. Remove the CUPS configuration and spool directories

   rm -rf /etc/cups/
   rm -rf /var/*/cups/
   rm -rf /usr/*/cups/

4. Install the freshly downloaded CUPS-related packages with

   rpm -Uvh cups*i586.rpm ghost*i586.rpm

5. Disable automatic loading of CUPS at boot time using

   chkconfig --del cups

   So you can simply reboot your machine when it crashes
   in one of the following steps.

6. Start the CUPS daemon with

   service cups start

7. Try to install your printer again using printerdrake. Choose the
driver which you have chosen the last time. Print the test page when you
are asked for.

8. Do print jobs as you do them usually.

9. Log out and log in again.

10. Do more print jobs.

11. Log out and reboot.

12. Log in and start CUPS with

   service cups start

13. Repeat the steps 8. to 10.

14. If your computer didn't crash, you can make CUPS starting
automatically by

   chkconfig --add cups

15. Reboot to do the final check.

If the computer crashed in one of the steps, tell me in which step.
Reboot, but do not start CUPS when you have rebooted. Tell me which
printer driver you have chosen and send me: /etc/cups/ppd/*.ppd,
/etc/cups/printers.conf, /etc/cups/cupsd.conf. Try LPD by doing the
following steps:

0. Do the check of the hard disk space again, tell me the results.

1. Uninstall CUPS with

   rpm -e --nodeps cups cups-drivers

2. Install LPD with

   urpmi lpr rhs-printfilters

3. Turn off automatic startup of LPD by:

   chkconfig --del lpd 

4. Start LPD with

   service lpd start

5. Configure your printer with

   printerdrake -lpr

6. Do print jobs as you do them usually.

7. Log out and log in again.

8. Do more print jobs.

9. Log out and reboot.

10. Log in and start LPD with

   service lpd start

11. Repeat the steps 6. to 8.

12. If your computer didn't crash, you can make LPD starting
automatically by

   chkconfig --add lpd

15. Reboot to do the final check.

If your computer crashed, tell me which driver you used this time. Send
me /etc/printcap and all files in /var/spool/lpd/<printer name>/. If the
computer crashed in both cases, ther must be any problem with the
support of your USB port (motherboard chipset) with Linux. Then I will
inform our kernel people to check your problem.

I have an HP DeskJet 840C connected to the USB port and it works without
any problems.

   Till



Tom Berkley wrote:
> 
> Interesting crash here after I tried this method with my 7.2 Mandrake
> installation. I have an hp895Cxi inkjet printer connected to the usb
> port on my abit bp6 board (ru bios). When I configured the printer and
> ran a test print. The computer locked up (stopped responding). On
> reboot, the printer started printing the test page but with a lot of
> garbage characters throughout the output(got the same type of output
> during the printer installation during the mandrake 7.2 install). In
> addition I could not login. The graphical login screen refused to accept
> the password input (ie nothing typed entered the password window which
> usually shows asterisks when you type the password == weird!). After a
> long session of trying to login (linux single, console login, ...
> .......) I just do not remember how I finally got in to the system, but
> I did and deleted the print queue, deleted the files in the spooler,
> shutdown cupsd, reconfigured the boot to not start cups and it'll be a
> long time before I try that one again.
> 
> The printer setup and the usb work just fine with win98se. Also usbview
> shows the usb setup with the printer attached both in redhat 7.0 and
> mandrake 7.2.
> 
> I think that for now I will use samba to run the printer off a windows
> box than to suffer through another ordeal with mandrake and cups. Great
> idea cups, but it does have a few serious defects, yet.
>

Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to