LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   printer cannon BJC2100SP on Mandrake 10 (https://www.linuxquestions.org/questions/linux-hardware-18/printer-cannon-bjc2100sp-on-mandrake-10-a-211936/)

Ran Gereset 07-31-2004 05:30 PM

printer cannon BJC2100SP on Mandrake 10
 
I have an ASUS, pentium 4 with Mandrake 10 installed.

When I tried to print first, the print was expanded and therefore only showed half of what was to be printed on the page and the printer wouldn't stop printing (repeating the same page) . We installed a different driver :

On parallel port #0(Default), Descr.: Cannon BJC 2100SP, Loc.: /dev/lp0, Driver:bjc610a0.upp

And stopped cups through the comand line in the folliowng way:
---
---
[h@localhost h]$ su -
Password:
[root@localhost root]# /etc/init.d/cups stop
Stopping CUPS printing system: [ OK ]
[root@localhost root]# rm /var/spool/cups/d*
rm: remove regular file `/var/spool/cups/d00004-001'? y
[root@localhost root]# rm /var/spool/cups/d*
rm: cannot lstat `/var/spool/cups/d*': No such file or directory
[root@localhost root]# /var/spool/cups/d*
-bash: /var/spool/cups/d*: No such file or directory
[root@localhost root]# /etc/init.d/cups start
Starting CUPS printing system: [ OK ]
[root@localhost root]#
----
---

The problem arose here, and then I tried the process again with the following result

----
----
[h@localhost h]$ su -
Password:
[root@localhost root]# /etc/init.d/cups stop
Stopping CUPS printing system: [ OK ]
[root@localhost root]# rm /var/spool/cups/d*
rm: cannot lstat `/var/spool/cups/d*': No such file or directory
[root@localhost root]# /etc/init.d/cups start
Adding loopback device to routing table ...
SIOCADDRT: File exists

WARNING: Could not add loopback device to routing table,
CUPS may not work properly.

Starting CUPS printing system: [ OK ]
[root@localhost root]
---
---
Now nothing is showing on the page. it prints as if everything is fine, sounds like its printing but its as though there is no ink.

Thanks for you help

osvaldomarques 08-02-2004 03:03 AM

Hi Ran Gereset,
Probably cups is confused with the way you removed its jobs. The proper command for this is "cancel": for remove all the jobs of a printer, "cancel -a <printer-name>". You don't need to stop printing sub-system to do this. To see the current pending jobs you may use "lpstat -t". You can use the manual for the other options. To suspend printing "/usr/sbin/disable <printer-name> and for restart it "/usr/sbin/enable <printer-name>". Try to suspend printing, cancel all jobs, restart it again and try some print again.
May be you also have a driver problem; to assure this, if it does not work til here, you may define again the old driver and see if it continues to print, even in wrong format.
Best regards.


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