You are not logged in.

#1 2010-03-15 01:46:27

Berticus
Member
Registered: 2008-06-11
Posts: 731

CUPS - can't seem to print more than one page

Most of the time, it actually doesn't print anything. There's nothing in the error log. The job simply graduates to finished state without printing. Or some times, if I'm lucky, it'll print the first page, and graduate the job to finish state.

I have a Samsung ML-2010, this is my cups.conf:

#
# "$Id: cupsd.conf.in 8805 2009-08-31 16:34:06Z mike $"
#
# Sample configuration file for the CUPS scheduler.  See "man cupsd.conf" for a
# complete description of this file.
#

# Log general information in error_log - change "warn" to "debug"
# for troubleshooting...
LogLevel warn

# Administrator user group...
SystemGroup sys root


# Only listen for connections from the local machine.
#Listen localhost:631
port 631
Listen /var/run/cups/cups.sock

# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Restrict access to the server...
<Location />
  Order allow,deny
  Allow all
  Allow localhost
  Allow 127.0.0.1
</Location>

# Restrict access to the admin pages...
<Location /admin>
  Order allow,deny
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
</Location>

# Set the default printer/job policies...
<Policy default>
  # Job-related operations must be done by the owner or an administrator...
  <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 CUPS-Get-Document>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # All printer operations require a printer operator to authenticate...
  <Limit Pause-Printer Resume-Printer 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-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    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>

# Set the authenticated printer/job policies...
<Policy authenticated>
  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI>
    AuthType Default
    Order deny,allow
  </Limit>

  <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 CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # All printer operations require a printer operator to authenticate...
  <Limit Pause-Printer Resume-Printer 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-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    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>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

#
# End of "$Id: cupsd.conf.in 8805 2009-08-31 16:34:06Z mike $".
#

usblp has been blacklisted.

ls -l /dev/bus/usb/002/002
crw-rw-r-- 1 root lp 189, 129 Mar 14 21:41 /dev/bus/usb/002/002

Offline

#2 2010-03-15 19:54:24

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: CUPS - can't seem to print more than one page

I had this problem with an HP LJ1200 before I started using Gutenprint (and eventually HPLIJ/HPIJS).

Last edited by falconindy (2010-03-15 19:55:01)

Offline

#3 2010-03-15 22:15:27

Berticus
Member
Registered: 2008-06-11
Posts: 731

Re: CUPS - can't seem to print more than one page

I don't think I have the option to switch to Gutenprint. According to OpenPrinting, the only two drivers my printer supports are gdi and Splix. I'm currently using Splix, will try switching to gdi see if that makes a difference.

Edit
Still doesn't work.

Last edited by Berticus (2010-03-15 22:36:01)

Offline

#4 2010-03-17 18:38:50

Berticus
Member
Registered: 2008-06-11
Posts: 731

Re: CUPS - can't seem to print more than one page

Bump

I'm thinking I should just downgrade, since cups 1.3.11 wasn't given me problems. However, I need to downgrade heimdal as well. How do I know if it's safe to do it (i.e. no other packages depend on a more recent version of heimdal).

Offline

#5 2010-06-20 11:27:22

frodoontop
Member
From: Netherlands
Registered: 2004-05-18
Posts: 37
Website

Re: CUPS - can't seem to print more than one page

I am experiencing kind of the same problem with the Samsung-ML1610 and the Samsung BCX-4300. Switching to the gdi driver doesn't solve it.

When printing multiple jobs, the new jobs won't get recognized and are finished immediately. Even though the led of the printer is being busy for a few seconds. When sending the printing command a few times it may just accept one after a few trials. Restarting the printer and cups may help too (but not always).

Offline

#6 2010-06-20 11:51:54

frodoontop
Member
From: Netherlands
Registered: 2004-05-18
Posts: 37
Website

Re: CUPS - can't seem to print more than one page

I just managed to install the official Samsung driver succesfully from AUR. You can use yaourt (http://wiki.archlinux.org/index.php/Yaourt) to install it:

yaourt -S samsung-unified-driver-printer

It just might solve this problem.

Offline

#7 2010-06-20 12:05:52

Cyrusm
Member
From: Bozeman, MT
Registered: 2007-11-15
Posts: 1,053

Re: CUPS - can't seem to print more than one page

I've been having the same problem with my Samsung ML-2240.  best guess is that there is either a driver bug, or samsung makes crappy printers smile


Hofstadter's Law:
           It always takes longer than you expect, even when you take into account Hofstadter's Law.

Offline

#8 2010-06-20 15:01:35

kfgz
Member
From: Supraśl, Poland
Registered: 2009-03-02
Posts: 114

Re: CUPS - can't seem to print more than one page

I've solved this issue by installing cups-usblp http://bbs.archlinux.org/viewtopic.php?id=98889

Offline

#9 2010-11-22 22:35:32

kevku
Member
From: Estonia
Registered: 2009-11-21
Posts: 73

Re: CUPS - can't seem to print more than one page

for me using regular cups with (!usblp) and samsung unified driver, ml-1610 seems to print every second job, not really a problem because I print like 20 pages a month. still hmm

Offline

#10 2011-09-12 18:47:32

Cosmin
Member
Registered: 2008-10-06
Posts: 248

Re: CUPS - can't seem to print more than one page

kevku wrote:

for me using regular cups with (!usblp) and samsung unified driver, ml-1610 seems to print every second job, not really a problem because I print like 20 pages a month. still hmm

try the solution from the comment above. I had the same problem and that was the fix:

pacman -Rd cups
yaourt -S cups-usblp

and do NOT blacklist usblp.

PS: I also updated the wiki to recommend cups-usblp for samsung printers.

Last edited by Cosmin (2011-09-12 18:58:27)

Offline

Board footer

Powered by FluxBB