Jump to content

Mandriva 2007 and USB printers


Lando
 Share

Recommended Posts

Canon USB printer doesn't work with Mandriva 2007 (...and works fine with Mandriva 2006)

 

Below some displays .......

 

************************************

[root@localhost lando]# service -s

 

cupsd (pid 2562) is running....

------------------------

------------------------

status mtink for /dev/usb/lp0 -name -usbbase /dev/usb/lp

***************************************

 

No errors in /var/log/cups

 

*****************************************

 

In http://localhost:631 >>>>

 

PRINTER >>>>>>>

 

Description: CANON S300

Location:

Make and Model: {printer_make_and_model}

Printer State: idle, accepting jobs, published.

Device URI: usb://Canon/S300

 

 

JOB >>>>>>

 

Show All JobsShowing 1 of 1 completed job.

 

CANONS300-7 Test Page guest 18k 1 completed at Sun Oct 22 10:30:31 2006

 

******************************************************

 

The page to print go to "completed job " though it has not been printed !

 

When the printer is powered off , the CUPS recognizes the status and try

to send the data every 30 seconds.....and as soon as I power on the printer

the job go to completed job queue !(without to be printed !)

 

Is there a known problem about this ?

 

Thanks a lot.

Regards.

 

 

[moved from Installing Mandriva by spinynorman]

Link to comment
Share on other sites

It might actually be working BUT the test page isn't.

try configuring wothout the test page and then just try selecting the printer.

 

However, also try

editing out "Listen /var/run/cups/cups.sock" from /etc/cups/cupsd.conf

(just add a # in front)

(you can do this from the cups config at localhost:631, choose admin and type root password etc. then choose edit config file)

 

Hope that helps....

Link to comment
Share on other sites

Thanks.

Below the file requested.

I see I'm in the Hardware queue...though the hardware is the only thing without problem !

 

 

# Log general information in error_log - change "info" to "debug" for

# troubleshooting...

LogLevel info

 

 

# Administrator user group...

SystemGroup lpadmin root

 

 

# Only listen for connections from the local machine.

Listen 127.0.0.1:631

Listen /var/run/cups/cups.sock

 

 

# Show shared printers on the local network.

Browsing On

BrowseOrder allow,deny

BrowseAllow @LOCAL

# Restrict access to configuration files...

<Location /admin/conf>

AuthType Basic

Require user @SYSTEM

Order allow,deny

Allow localhost

</Location>

 

# Set the default printer/job policies...

<Policy default>

# Job-related operations must be done by the owner or an adminstrator...

<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>

Require user @OWNER @SYSTEM

Order deny,allow

</Limit>

 

# All administration operations require an adminstrator to authenticate...

<Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer

Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>

AuthType Basic

Require user @SYSTEM

Order deny,allow

</Limit>

 

# Only the owner or an administrator can cancel or authenticate a job...

<Limit Cancel-Job CUPS-Authenticate-Job>

Require user @OWNER @SYSTEM

Order deny,allow

</Limit>

 

<Limit All>

Order deny,allow

</Limit>

</Policy>

Link to comment
Share on other sites

Try

# Only listen for connections from the local machine.

Listen 127.0.0.1:631

Listen /var/run/cups/cups.sock

=

 

Listen 127.0.0.1:631

#Listen /var/run/cups/cups.sock

 

The second prob is the test page doesn't work for me... I wasted a lot of time because I figured if the test page isn't printing then its not working.... WRONG.. ??? weird but I just tried from kwrite or something and it worked even though the test page didn't.... (once its set up)

AFAIK the best way to set up cups is through the cups admin... (except the test page) so I would try this and then stick to one interface for configuring it.... if you try different ones it just gets confusing :D

Link to comment
Share on other sites

Do you have the gutenprint package installed?

It's absolutely essential to make your printer working, although the support is only partial ( as expected - it's a Canon printer, after all... ).

For full support you will need the (commercial ) Turboprint driver, which may be too expensive for a $100 printer.

Edited by scarecrow
Link to comment
Share on other sites

Do you have the gutenprint package installed?

It's absolutely essential to make your printer working, although the support is only partial ( as expected - it's a Canon printer, after all... ).

For full support you will need the (commercial ) Turboprint driver, which may be too expensive for a $100 printer.

 

It seems much the same thing .....http://127.0.0.1:631/admin?op=config-server >>>>>>>>

 

 

# Set the default printer/job policies...

<Policy default>

# Job-related operations must be done by the owner or an adminstrator...

<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>

Require user @OWNER @SYSTEM

Order deny,allow

</Limit>

 

# All administration operations require an adminstrator to authenticate...

<Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>

AuthType Basic

Require user @SYSTEM

Order deny,allow

</Limit>

 

# Only the owner or an administrator can cancel or authenticate a job...

<Limit Cancel-Job CUPS-Authenticate-Job>

Require user @OWNER @SYSTEM

Order deny,allow

</Limit>

 

<Limit All>

Order deny,allow

</Limit>

</Policy>

 

#

# End of "$Id: cupsd.conf.in 5454 2006-04-23 21:46:38Z mike $".

 

********************************************************************

 

NOW I've deleted the printer installed in MDV2007 installation procedure and installed another

through CUPS.This new PRT1, print the test though it take only half a page....!!!

and if I want print a file I hit the printer icon on the bar ...but the panel to set

the printer has not the start button....to start the printer work .!!!!!!

 

 

Below the new printer...now it has Gutenprint registred......>>>>>>>>>>

 

 

PRT1 (Default Printer)

Description:

Location:

Make and Model: Canon S300 - CUPS+Gutenprint v5.0.0

Printer State: idle, accepting jobs, published.

Device URI: usb://Canon/S300

Edited by Lando
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...