IPP printing errors

I have an HP OfficeJet 5610v installed on my system, and cups can print the test page. I can also get the test page to print via https://172.16.1.3:631/printers/hpofficejet5600series which appears to be printed under the anonymous user.

Now if I attempt to print the test page via the printer control panel from windows, I get the following sets of error:

D [11/Feb/2010:11:21:29 -0500] [Job 6] libusb couldn’t open USB device /dev/bus/usb/001/001: Permission denied.
D [11/Feb/2010:11:21:29 -0500] [Job 6] libusb requires write access to USB device nodes.
D [11/Feb/2010:11:21:29 -0500] [Job 6] libusb couldn’t open USB device /dev/bus/usb/002/001: Permission denied.
D [11/Feb/2010:11:21:29 -0500] [Job 6] libusb requires write access to USB device nodes.
D [11/Feb/2010:11:21:29 -0500] [Job 6] libusb couldn’t open USB device /dev/bus/usb/003/001: Permission denied.
D [11/Feb/2010:11:21:29 -0500] [Job 6] libusb requires write access to USB device nodes.

CUPS is showing that the “user” is my XP login name so I added that user to Linux and even added that account to the “lp” group and still get the above errors.

What am I missing?

On Fri February 12 2010 10:26 am, dekernel wrote:

>
> I have an HP OfficeJet 5610v installed on my system, and cups can print
> the test page. I can also get the test page to print via
> https://172.16.1.3:631/printers/hpofficejet5600series which appears to
> be printed under the anonymous user.
>
> Now if I attempt to print the test page via the printer control panel
> from windows, I get the following sets of error:
>
> D [11/Feb/2010:11:21:29 -0500] [Job 6] libusb couldn’t open USB device
> /dev/bus/usb/001/001: Permission denied.
> D [11/Feb/2010:11:21:29 -0500] [Job 6] libusb requires write access to
> USB device nodes.
> D [11/Feb/2010:11:21:29 -0500] [Job 6] libusb couldn’t open USB device
> /dev/bus/usb/002/001: Permission denied.
> D [11/Feb/2010:11:21:29 -0500] [Job 6] libusb requires write access to
> USB device nodes.
> D [11/Feb/2010:11:21:29 -0500] [Job 6] libusb couldn’t open USB device
> /dev/bus/usb/003/001: Permission denied.
> D [11/Feb/2010:11:21:29 -0500] [Job 6] libusb requires write access to
> USB device nodes.
>
> CUPS is showing that the “user” is my XP login name so I added that
> user to Linux and even added that account to the “lp” group and still
> get the above errors.
>
> What am I missing?
>
>
dekernel;

Look at this HowTo:
http://opensuse.swerdna.org/suseprintipp.html

By default CUPS only allows printing from the local host and you need to
edit /etc/cups/cupsd.conf to allow printing from the local network. You can
edit the cupsd.conf as shown by swerdna or directly in the administrative tab
of CUPS (http://localhost:631/admin/). When asked to authenticate enter the
username root and your root’s password.

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

Thanks for the suggestion, but I have tried all of those suggestions and still get the same results.

I have even gone as far as doing:

chmod u+s /usr/lib/cups/backend/*

to see if that works, the error that I was getting is not being seen but neither does CUPS print anything.
I switched from my normal distro of ARCH since I was getting this same error, but was not able to fix thinking that the openSUSE community would have deeper resources.

Thanks for the help, but I guess I need to switch the OS back to XP just so I can share the printer with the XP/Vista machines since this machine is a dedicated print server.

On Mon February 15 2010 08:06 am, dekernel wrote:

>
> Thanks for the suggestion, but I have tried all of those suggestions and
> still get the same results.
>
> I have even gone as far as doing:
>
> Code:
> --------------------
> chmod u+s /usr/lib/cups/backend/*
> --------------------
>
> to see if that works, the error that I was getting is not being seen
> but neither does CUPS print anything.
> I switched from my normal distro of ARCH since I was getting this same
> error, but was not able to fix thinking that the openSUSE community
> would have deeper resources.
>
> Thanks for the help, but I guess I need to switch the OS back to XP
> just so I can share the printer with the XP/Vista machines since this
> machine is a dedicated print server.
>
>
dekernel;

Have you checked the logs:
/var/log/cups/access_log
and
/var/log/cups/error_log ?

Have you installed the drivers on the client?

Have you checked with the firewall(s) disabled on both the server and client?

What URI are you entering on the client?


P. V.
“We’re all in this together, I’m pulling for you.” Red Green

once I did the setuid on the files, all errors dissappeared from the error log but no printout. I tried to compare the output in the error_log when I requested a test page from the cups control page versus a print request from my XP, and they both seemed to be the same when you take into account that the request from the XP was coming over the wire.

Regarding having the drivers installed on the XP client, yes the drivers were installed.

On Wed February 17 2010 03:06 pm, dekernel wrote:

>
> once I did the setuid on the files, all errors dissappeared from the
> error log but no printout. I tried to compare the output in the
> error_log when I requested a test page from the cups control page versus
> a print request from my XP, and they both seemed to be the same when you
> take into account that the request from the XP was coming over the wire.
>
> Regarding having the drivers installed on the XP client, yes the
> drivers were installed.
>
>
dekernel;

Can you post the contents of /etc/cups/cupsd.conf and /etc/cups/mime.types.
You can conceal any sensitive data, such as public IPs, with substitute
values.

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

Here is my cupsd.conf


# Show troubleshooting information in error_log.
LogLevel debug
SystemGroup sys root
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
DefaultAuthType Basic
<Location />
  Allow 127.0.0.2
  # Allow remote administration...
  Order allow,deny
  Allow all
</Location>
<Location /admin>
  Encryption Required
  # Allow remote administration...
  Order allow,deny
  Allow all
</Location>
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  # Allow remote access to the configuration files...
  Order allow,deny
  Allow all
</Location>
<Policy default>
  <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>
  <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>
  <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>
  <Limit CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit All>
    Order deny,allow
  </Limit>
</Policy>
DefaultPolicy default
<Policy easy>
  <Limit All>
  Satisfy any
  Order allow,deny
</Limit>
</Policy>
<Policy paranoid>
  <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
Allow from 127.0.0.0/8
Order deny,allow
  </Limit>
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
  AuthType Default
  Require user @SYSTEM
  Allow from 127.0.0.0/8
  Order deny,allow
    </Limit>
  <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
    Allow from 127.0.0.0/8
    Order deny,allow
      </Limit>
  <Limit Cancel-Job CUPS-Authenticate-Job>
      Require user @OWNER
      Allow from 127.0.0.0/8
      Order deny,allow
        </Limit>
  <Limit All>
        Require user @OWNER @SYSTEM
        Allow from 127.0.0.0/8
        Order deny,allow
          </Limit>
</Policy>

And here is my mime.type


#
# "$Id: mime.types 6649 2007-07-11 21:46:42Z mike $"
#
#   MIME types file for the Common UNIX Printing System (CUPS).
#
#   DO NOT EDIT THIS FILE, AS IT IS OVERWRITTEN WHEN YOU INSTALL NEW
#   VERSIONS OF CUPS.  Instead, create a "local.types" file that
#   reflects your local configuration changes.
#
#   Copyright 2007 by Apple Inc.
#   Copyright 1997-2007 by Easy Software Products.
#
#   These coded instructions, statements, and computer programs are the
#   property of Apple Inc. and are protected by Federal copyright
#   law.  Distribution and use rights are outlined in the file "LICENSE.txt"
#   which should have been included with this file.  If this file is
#   file is missing or damaged, see the license at "http://www.cups.org/".
#

########################################################################
#
# Format of Lines:
#
#   super/type rules
#
# "rules" can be any combination of:
#
#   ( expr )				Parenthesis for expression grouping
#   +					Logical AND
#   , or whitespace			Logical OR
#   !					Logical NOT
#   match("pattern")			Pattern match on filename
#   extension				Pattern match on "*.extension"
#   ascii(offset,length)		True if bytes are valid printable ASCII
#					(CR, NL, TAB, BS, 32-126)
#   printable(offset,length)		True if bytes are printable 8-bit chars
#					(CR, NL, TAB, BS, 32-126, 128-254)
#   string(offset,"string")		True if bytes are identical to string
#   istring(offset,"string")		True if bytes are identical to
#                                       case-insensitive string
#   char(offset,value)			True if byte is identical
#   short(offset,value)			True if 16-bit integer is identical
#   int(offset,value)			True if 32-bit integer is identical
#   locale("string")                    True if current locale matches string
#   contains(offset,range,"string")	True if the range contains the string
#
# General Notes:
#
#   MIME type names are case-insensitive.  Internally they are converted
#   to lowercase.  Multiple occurrences of a type will cause the provided
#   rules to be appended to the existing definition.  Type names are sorted
#   in ascending order, so if two types use the same rules to resolve a type
#   (e.g. doc extension for two types), the returned type will be the first
#   type in the sorted list.
#
#   The "printable" rule differs from the "ascii" rule in that it also
#   accepts 8-bit characters in the range 128-255.
#
#   String constants must be surrounded by "" if they contain whitespace.
#   To insert binary data into a string, use the <hex> notation.
#

########################################################################
#
# Application-generated files...
#

#application/msword		doc string(0,<D0CF11E0A1B11AE1>)
application/pdf			pdf string(0,%PDF)
application/postscript		ai eps ps string(0,%!) string(0,<04>%!) \
				contains(0,128,<1B>%-12345X) + \
				(contains(0,4096,"LANGUAGE=POSTSCRIPT") \
				 contains(0,4096,"LANGUAGE = Postscript") \
				 contains(0,4096,"LANGUAGE = PostScript") \
				 contains(0,4096,"LANGUAGE = POSTSCRIPT") \
				 (contains(0,4096,<0a>%!) + \
				  !contains(0,4096,"ENTER LANGUAGE")))
#application/x-dvi		dvi string(0,<F702>)
application/mozilla-ps		ps (string(0,%!) + \
				 contains(30,200,"Creator: Mozilla PostScript"))
application/netscape-ps		ps (string(0,%!) + \
				 contains(30,200,"Creator: Mozilla (NetScape)"))
application/vnd.hp-HPGL		hpgl \
				string(0,<1B>E<1B>%0B) \
				string(0,<1B>%-1B) string(0,<201B>)\
				string(0,BP;) string(0,IN;) string(0,DF;) \
				string(0,BPINPS;) \
				(contains(0,128,<1B>%-12345X) + \
				 (contains(0,4096,"LANGUAGE=HPGL") \
				  contains(0,4096,"LANGUAGE = HPGL")))

########################################################################
#
# Image files...
#

image/gif			gif string(0,GIF87a) string(0,GIF89a)
image/png			png string(0,<89>PNG)
image/jpeg			jpeg jpg jpe string(0,<FFD8FF>) &&\
				(char(3,0xe0) char(3,0xe1) char(3,0xe2) char(3,0xe3)\
				 char(3,0xe4) char(3,0xe5) char(3,0xe6) char(3,0xe7)\
				 char(3,0xe8) char(3,0xe9) char(3,0xea) char(3,0xeb)\
				 char(3,0xec) char(3,0xed) char(3,0xee) char(3,0xef))
image/tiff			tiff tif string(0,MM<002A>) string(0,II<2A00>)
image/x-photocd			pcd string(2048,PCD_IPI)
image/x-portable-anymap		pnm
image/x-portable-bitmap		pbm string(0,P1) string(0,P4)
image/x-portable-graymap	pgm string(0,P2) string(0,P5)
image/x-portable-pixmap		ppm string(0,P3) string(0,P6)
image/x-sgi-rgb			rgb sgi bw icon short(0,474)
image/x-xbitmap			xbm
image/x-xpixmap			xpm ascii(0,1024) + string(3,"XPM")
#image/x-xwindowdump		xwd string(4,<00000007>)
image/x-sun-raster		ras string(0,<59a66a95>)

#image/fpx			fpx
image/x-alias			pix short(8,8) short(8,24)
image/x-bitmap			bmp string(0,BM) && !printable(2,14)
image/x-icon			ico

########################################################################
#
# Text files...
#

application/x-cshell		csh printable(0,1024) + string(0,#!) +\
				(contains(2,80,/csh) contains(2,80,/tcsh))
application/x-perl		pl printable(0,1024) + string(0,#!) +\
				contains(2,80,/perl)
application/x-shell		sh printable(0,1024) + string(0,#!) +\
				(contains(2,80,/bash) contains(2,80,/ksh)\
				 contains(2,80,/sh) contains(2,80,/zsh))
application/x-csource		c cxx cpp cc C h hpp \
				printable(0,1024) + \
				(string(0,/*) string(0,//)
				 string(0,#include) contains(0,1024,<0a>#include) \
				 string(0,#define) contains(0,1024,<0a>#define))
text/html			html htm printable(0,1024) +\
				(istring(0,"<HTML>") istring(0,"<!DOCTYPE"))
text/plain			txt printable(0,1024)
text/css			css


########################################################################
#
# RSS feed type...
#

application/rss+xml		rss


########################################################################
#
# CUPS-specific types...
#

application/vnd.cups-command	string(0,'#CUPS-COMMAND')
application/vnd.cups-form	string(0,"<CUPSFORM>")
application/vnd.cups-pdf
application/vnd.cups-postscript
application/vnd.cups-ppd	ppd string(0,"*PPD-Adobe:")
application/vnd.cups-raster	string(0,"RaSt") string(0,"tSaR")
application/vnd.cups-raw	(string(0,<1B>E) + !string(2,<1B>%0B)) \
				string(0,<1B>@) \
				(contains(0,128,<1B>%-12345X) + \
				 (contains(0,4096,"LANGUAGE=PCL") \
				  contains(0,4096,"LANGUAGE = PCL")))

########################################################################
#
# Raw print file support...
#
# Comment the following type to prevent raw file printing.
#

application/octet-stream

#
# End of "$Id: mime.types 6649 2007-07-11 21:46:42Z mike $".
#

Also, here is what I am now seeing in the error_log file:


D [18/Feb/2010:20:46:29 -0500] cupsdReadClient: 10 POST /printers/hpofficejet5600series HTTP/1.1
D [18/Feb/2010:20:46:29 -0500] cupsdAuthorize: No authentication data provided.
D [18/Feb/2010:20:46:29 -0500] Get-Printer-Attributes https://172.16.1.77:631/printers/hpofficejet5600series
D [18/Feb/2010:20:46:29 -0500] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)
D [18/Feb/2010:20:46:59 -0500] cupsdReadClient: 10 POST /printers/hpofficejet5600series HTTP/1.1
D [18/Feb/2010:20:46:59 -0500] cupsdAuthorize: No authentication data provided.
D [18/Feb/2010:20:46:59 -0500] Get-Printer-Attributes https://172.16.1.77:631/printers/hpofficejet5600series
D [18/Feb/2010:20:46:59 -0500] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)
D [18/Feb/2010:20:46:59 -0500] Report: clients=1
D [18/Feb/2010:20:46:59 -0500] Report: jobs=3
D [18/Feb/2010:20:46:59 -0500] Report: jobs-active=0
D [18/Feb/2010:20:46:59 -0500] Report: printers=1
D [18/Feb/2010:20:46:59 -0500] Report: printers-implicit=0
D [18/Feb/2010:20:46:59 -0500] Report: stringpool-string-count=551
D [18/Feb/2010:20:46:59 -0500] Report: stringpool-alloc-bytes=7600
D [18/Feb/2010:20:46:59 -0500] Report: stringpool-total-bytes=11888
D [18/Feb/2010:20:47:02 -0500] cupsdReadClient: 10 POST /printers/hpofficejet5600series HTTP/1.1
D [18/Feb/2010:20:47:02 -0500] cupsdAuthorize: No authentication data provided.
D [18/Feb/2010:20:47:02 -0500] Get-Printer-Attributes https://172.16.1.77:631/printers/hpofficejet5600series
D [18/Feb/2010:20:47:02 -0500] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)
D [18/Feb/2010:20:47:02 -0500] cupsdReadClient: 10 POST /printers/hpofficejet5600series HTTP/1.1
D [18/Feb/2010:20:47:02 -0500] cupsdAuthorize: No authentication data provided.
D [18/Feb/2010:20:47:02 -0500] Get-Printer-Attributes https://172.16.1.77:631/printers/hpofficejet5600series
D [18/Feb/2010:20:47:02 -0500] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)
D [18/Feb/2010:20:47:02 -0500] cupsdReadClient: 10 POST /printers/hpofficejet5600series HTTP/1.1
D [18/Feb/2010:20:47:02 -0500] cupsdAuthorize: No authentication data provided.
D [18/Feb/2010:20:47:02 -0500] Print-Job https://172.16.1.77:631/printers/hpofficejet5600series
D [18/Feb/2010:20:47:02 -0500] [Job ???] Auto-typing file...
I [18/Feb/2010:20:47:02 -0500] [Job ???] Request file type is application/vnd.cups-raw.
D [18/Feb/2010:20:47:02 -0500] add_job: requesting-user-name="tfbarber"
D [18/Feb/2010:20:47:02 -0500] Adding default job-sheets values "none,none"...
I [18/Feb/2010:20:47:02 -0500] [Job 4] Adding start banner page "none".
D [18/Feb/2010:20:47:02 -0500] Discarding unused job-created event...
I [18/Feb/2010:20:47:02 -0500] [Job 4] Adding end banner page "none".
I [18/Feb/2010:20:47:02 -0500] [Job 4] File of type application/vnd.cups-raw queued by "tfbarber".
D [18/Feb/2010:20:47:02 -0500] [Job 4] hold_until=0
I [18/Feb/2010:20:47:02 -0500] [Job 4] Queued on "hpofficejet5600series" by "tfbarber".
D [18/Feb/2010:20:47:02 -0500] Discarding unused printer-state-changed event...
D [18/Feb/2010:20:47:02 -0500] [Job 4] job-sheets=none,none
D [18/Feb/2010:20:47:02 -0500] [Job 4] banner_page = 0
D [18/Feb/2010:20:47:02 -0500] [Job 4] argv[0]="hpofficejet5600series"
D [18/Feb/2010:20:47:02 -0500] [Job 4] argv[1]="4"
D [18/Feb/2010:20:47:02 -0500] [Job 4] argv[2]="tfbarber"
D [18/Feb/2010:20:47:02 -0500] [Job 4] argv[3]="Untitled - Notepad"
D [18/Feb/2010:20:47:02 -0500] [Job 4] argv[4]="1"
D [18/Feb/2010:20:47:02 -0500] [Job 4] argv[5]="job-uuid=urn:uuid:8ee3f982-267f-35fb-443b-21d840a357b9"
D [18/Feb/2010:20:47:02 -0500] [Job 4] argv[6]="/var/spool/cups/d00004-001"
D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[0]="CUPS_CACHEDIR=/etc/cups/yes"
D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[2]="CUPS_DOCROOT=/usr/share/doc/packages/cups"
D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[8]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[9]="SERVER_ADMIN=root@linux-msez.site"
D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[10]="SOFTWARE=CUPS/1.3.11"
D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[11]="TMPDIR=/var/spool/cups/tmp"
D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[12]="USER=root"
D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[13]="CUPS_SERVER=/var/run/cups/cups.sock"
D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[14]="CUPS_ENCRYPTION=IfRequested"
D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[15]="IPP_PORT=631"
D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[16]="CHARSET=utf-8"
D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[17]="LANG=en_US.UTF-8"
D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[18]="PPD=/etc/cups/ppd/hpofficejet5600series.ppd"
D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[19]="RIP_MAX_CACHE=8m"
D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[20]="CONTENT_TYPE=application/vnd.cups-raw"
D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[21]="DEVICE_URI=hp:/usb/Officejet_5600_series?serial=CN72SD807504B2"
D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[22]="PRINTER=hpofficejet5600series"
I [18/Feb/2010:20:47:02 -0500] [Job 4] Started backend /usr/lib/cups/backend/hp (PID 26584)
D [18/Feb/2010:20:47:02 -0500] Discarding unused job-state-changed event...
D [18/Feb/2010:20:47:02 -0500] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)
D [18/Feb/2010:20:47:02 -0500] Discarding unused job-progress event...
D [18/Feb/2010:20:47:02 -0500] Discarding unused printer-state-changed event...
D [18/Feb/2010:20:47:02 -0500] Discarding unused printer-state-changed event...
D [18/Feb/2010:20:47:02 -0500] Discarding unused printer-state-changed event...
D [18/Feb/2010:20:47:02 -0500] Discarding unused job-progress event...
D [18/Feb/2010:20:47:02 -0500] PID 26584 (/usr/lib/cups/backend/hp) exited with no errors.
D [18/Feb/2010:20:47:02 -0500] [Job 4] File 0 is complete.
I [18/Feb/2010:20:47:02 -0500] [Job 4] Completed successfully.
D [18/Feb/2010:20:47:02 -0500] Discarding unused printer-state-changed event...
D [18/Feb/2010:20:47:02 -0500] Discarding unused job-completed event...
D [18/Feb/2010:20:47:03 -0500] cupsdReadClient: 10 POST /printers/hpofficejet5600series HTTP/1.1
D [18/Feb/2010:20:47:03 -0500] cupsdAuthorize: No authentication data provided.
D [18/Feb/2010:20:47:03 -0500] Get-Printer-Attributes https://172.16.1.77:631/printers/hpofficejet5600series
D [18/Feb/2010:20:47:03 -0500] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)
D [18/Feb/2010:20:47:03 -0500] [Job 4] Unloading...
D [18/Feb/2010:20:47:09 -0500] cupsdAcceptClient: 14 from 172.16.1.12:631 (IPv4)
D [18/Feb/2010:20:47:09 -0500] encrypt_client: 14 Connection from 172.16.1.12 now encrypted.
D [18/Feb/2010:20:47:09 -0500] cupsdReadClient: 14 GET /admin/log/error_log HTTP/1.1
D [18/Feb/2010:20:47:09 -0500] cupsdAuthorize: No authentication data provided.


On Thu February 18 2010 08:56 pm, dekernel wrote:

>
> Also, here is what I am now seeing in the error_log file:
>
> Code:
> --------------------
>
> D [18/Feb/2010:20:46:29 -0500] cupsdReadClient: 10
POST /printers/hpofficejet5600series HTTP/1.1
> D [18/Feb/2010:20:46:29 -0500] cupsdAuthorize: No authentication data
provided.
> D [18/Feb/2010:20:46:29 -0500] Get-Printer-Attributes
https://172.16.1.77:631/printers/hpofficejet5600series
> D [18/Feb/2010:20:46:29 -0500] cupsdProcessIPPRequest: 10 status_code=0
(successful-ok)
> D [18/Feb/2010:20:46:59 -0500] cupsdReadClient: 10
POST /printers/hpofficejet5600series HTTP/1.1
> D [18/Feb/2010:20:46:59 -0500] cupsdAuthorize: No authentication data
provided.
> D [18/Feb/2010:20:46:59 -0500] Get-Printer-Attributes
https://172.16.1.77:631/printers/hpofficejet5600series
> D [18/Feb/2010:20:46:59 -0500] cupsdProcessIPPRequest: 10 status_code=0
(successful-ok)
> D [18/Feb/2010:20:46:59 -0500] Report: clients=1
> D [18/Feb/2010:20:46:59 -0500] Report: jobs=3
> D [18/Feb/2010:20:46:59 -0500] Report: jobs-active=0
> D [18/Feb/2010:20:46:59 -0500] Report: printers=1
> D [18/Feb/2010:20:46:59 -0500] Report: printers-implicit=0
> D [18/Feb/2010:20:46:59 -0500] Report: stringpool-string-count=551
> D [18/Feb/2010:20:46:59 -0500] Report: stringpool-alloc-bytes=7600
> D [18/Feb/2010:20:46:59 -0500] Report: stringpool-total-bytes=11888
> D [18/Feb/2010:20:47:02 -0500] cupsdReadClient: 10
POST /printers/hpofficejet5600series HTTP/1.1
> D [18/Feb/2010:20:47:02 -0500] cupsdAuthorize: No authentication data
provided.
> D [18/Feb/2010:20:47:02 -0500] Get-Printer-Attributes
https://172.16.1.77:631/printers/hpofficejet5600series
> D [18/Feb/2010:20:47:02 -0500] cupsdProcessIPPRequest: 10 status_code=0
(successful-ok)
> D [18/Feb/2010:20:47:02 -0500] cupsdReadClient: 10
POST /printers/hpofficejet5600series HTTP/1.1
> D [18/Feb/2010:20:47:02 -0500] cupsdAuthorize: No authentication data
provided.
> D [18/Feb/2010:20:47:02 -0500] Get-Printer-Attributes
https://172.16.1.77:631/printers/hpofficejet5600series
> D [18/Feb/2010:20:47:02 -0500] cupsdProcessIPPRequest: 10 status_code=0
(successful-ok)
> D [18/Feb/2010:20:47:02 -0500] cupsdReadClient: 10
POST /printers/hpofficejet5600series HTTP/1.1
> D [18/Feb/2010:20:47:02 -0500] cupsdAuthorize: No authentication data
provided.
> D [18/Feb/2010:20:47:02 -0500] Print-Job
https://172.16.1.77:631/printers/hpofficejet5600series
> D [18/Feb/2010:20:47:02 -0500] [Job ???] Auto-typing file…
> I [18/Feb/2010:20:47:02 -0500] [Job ???] Request file type is
application/vnd.cups-raw.
> D [18/Feb/2010:20:47:02 -0500] add_job: requesting-user-name=“tfbarber”
> D [18/Feb/2010:20:47:02 -0500] Adding default job-sheets
values “none,none”…
> I [18/Feb/2010:20:47:02 -0500] [Job 4] Adding start banner page “none”.
> D [18/Feb/2010:20:47:02 -0500] Discarding unused job-created event…
> I [18/Feb/2010:20:47:02 -0500] [Job 4] Adding end banner page “none”.
> I [18/Feb/2010:20:47:02 -0500] [Job 4] File of type
application/vnd.cups-raw queued by “tfbarber”.
> D [18/Feb/2010:20:47:02 -0500] [Job 4] hold_until=0
> I [18/Feb/2010:20:47:02 -0500] [Job 4] Queued on “hpofficejet5600series”
by “tfbarber”.
> D [18/Feb/2010:20:47:02 -0500] Discarding unused printer-state-changed
event…
> D [18/Feb/2010:20:47:02 -0500] [Job 4] job-sheets=none,none
> D [18/Feb/2010:20:47:02 -0500] [Job 4] banner_page = 0
> D [18/Feb/2010:20:47:02 -0500] [Job 4] argv[0]=“hpofficejet5600series”
> D [18/Feb/2010:20:47:02 -0500] [Job 4] argv[1]=“4”
> D [18/Feb/2010:20:47:02 -0500] [Job 4] argv[2]=“tfbarber”
> D [18/Feb/2010:20:47:02 -0500] [Job 4] argv[3]=“Untitled - Notepad”
> D [18/Feb/2010:20:47:02 -0500] [Job 4] argv[4]=“1”
> D [18/Feb/2010:20:47:02 -0500] [Job 4]
argv[5]=“job-uuid=urn:uuid:8ee3f982-267f-35fb-443b-21d840a357b9”
> D [18/Feb/2010:20:47:02 -0500] [Job 4]
argv[6]="/var/spool/cups/d00004-001"
> D [18/Feb/2010:20:47:02 -0500] [Job 4]
envp[0]=“CUPS_CACHEDIR=/etc/cups/yes”
> D [18/Feb/2010:20:47:02 -0500] [Job 4]
envp[1]=“CUPS_DATADIR=/usr/share/cups”
> D [18/Feb/2010:20:47:02 -0500] [Job 4]
envp[2]=“CUPS_DOCROOT=/usr/share/doc/packages/cups”
> D [18/Feb/2010:20:47:02 -0500] [Job 4]
envp[3]=“CUPS_FONTPATH=/usr/share/cups/fonts”
> D [18/Feb/2010:20:47:02 -0500] [Job 4]
envp[4]=“CUPS_REQUESTROOT=/var/spool/cups”
> D [18/Feb/2010:20:47:02 -0500] [Job 4]
envp[5]=“CUPS_SERVERBIN=/usr/lib/cups”
> D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[6]=“CUPS_SERVERROOT=/etc/cups”
> D [18/Feb/2010:20:47:02 -0500] [Job 4]
envp[7]=“CUPS_STATEDIR=/var/run/cups”
> D [18/Feb/2010:20:47:02 -0500] [Job 4]
envp[8]=“PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin”
> D [18/Feb/2010:20:47:02 -0500] [Job 4]
envp[9]=“SERVER_ADMIN=root@linux-msez.site”
> D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[10]=“SOFTWARE=CUPS/1.3.11”
> D [18/Feb/2010:20:47:02 -0500] [Job 4]
envp[11]=“TMPDIR=/var/spool/cups/tmp”
> D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[12]=“USER=root”
> D [18/Feb/2010:20:47:02 -0500] [Job 4]
envp[13]=“CUPS_SERVER=/var/run/cups/cups.sock”
> D [18/Feb/2010:20:47:02 -0500] [Job 4]
envp[14]=“CUPS_ENCRYPTION=IfRequested”
> D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[15]=“IPP_PORT=631”
> D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[16]=“CHARSET=utf-8”
> D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[17]=“LANG=en_US.UTF-8”
> D [18/Feb/2010:20:47:02 -0500] [Job 4]
envp[18]=“PPD=/etc/cups/ppd/hpofficejet5600series.ppd”
> D [18/Feb/2010:20:47:02 -0500] [Job 4] envp[19]=“RIP_MAX_CACHE=8m”
> D [18/Feb/2010:20:47:02 -0500] [Job 4]
envp[20]=“CONTENT_TYPE=application/vnd.cups-raw”
> D [18/Feb/2010:20:47:02 -0500] [Job 4]
envp[21]=“DEVICE_URI=hp:/usb/Officejet_5600_series?serial=CN72SD807504B2”
> D [18/Feb/2010:20:47:02 -0500] [Job 4]
envp[22]=“PRINTER=hpofficejet5600series”
> I [18/Feb/2010:20:47:02 -0500] [Job 4] Started
backend /usr/lib/cups/backend/hp (PID 26584)
> D [18/Feb/2010:20:47:02 -0500] Discarding unused job-state-changed
event…
> D [18/Feb/2010:20:47:02 -0500] cupsdProcessIPPRequest: 10 status_code=0
(successful-ok)
> D [18/Feb/2010:20:47:02 -0500] Discarding unused job-progress event…
> D [18/Feb/2010:20:47:02 -0500] Discarding unused printer-state-changed
event…
> D [18/Feb/2010:20:47:02 -0500] Discarding unused printer-state-changed
event…
> D [18/Feb/2010:20:47:02 -0500] Discarding unused printer-state-changed
event…
> D [18/Feb/2010:20:47:02 -0500] Discarding unused job-progress event…
> D [18/Feb/2010:20:47:02 -0500] PID 26584 (/usr/lib/cups/backend/hp) exited
with no errors.
> D [18/Feb/2010:20:47:02 -0500] [Job 4] File 0 is complete.
> I [18/Feb/2010:20:47:02 -0500] [Job 4] Completed successfully.
> D [18/Feb/2010:20:47:02 -0500] Discarding unused printer-state-changed
event…
> D [18/Feb/2010:20:47:02 -0500] Discarding unused job-completed event…
> D [18/Feb/2010:20:47:03 -0500] cupsdReadClient: 10
POST /printers/hpofficejet5600series HTTP/1.1
> D [18/Feb/2010:20:47:03 -0500] cupsdAuthorize: No authentication data
provided.
> D [18/Feb/2010:20:47:03 -0500] Get-Printer-Attributes
https://172.16.1.77:631/printers/hpofficejet5600series
> D [18/Feb/2010:20:47:03 -0500] cupsdProcessIPPRequest: 10 status_code=0
(successful-ok)
> D [18/Feb/2010:20:47:03 -0500] [Job 4] Unloading…
> D [18/Feb/2010:20:47:09 -0500] cupsdAcceptClient: 14 from 172.16.1.12:631
(IPv4)
> D [18/Feb/2010:20:47:09 -0500] encrypt_client: 14 Connection from
172.16.1.12 now encrypted.
> D [18/Feb/2010:20:47:09 -0500] cupsdReadClient: 14
GET /admin/log/error_log HTTP/1.1
> D [18/Feb/2010:20:47:09 -0500] cupsdAuthorize: No authentication data
provided.
>
>
> --------------------
dekernel;
I did not see anything in your cupsd.conf or mime.type files that should keep
you from printing.

  1. If you have not done so already, try uncommenting the last line
    of /etc/cups/mime.convs as shown below.

#
# Raw filter...
#
# Uncomment the following filter to allow printing of arbitrary files
# without the -oraw option.
#

application/octet-stream       application/vnd.cups-raw        0       -

I’m not real optimistic the above will help, but I know it will do no harm and
we do this for raw printing via Samba.

I assume that the snippet of the CUPS error_log you posted is from a Windows
client. It rather looks like CUPS thinks it was sent to the printer.

  1. Check in CUPS (http://localhost:631/) that the printer is not paused.

  2. I doubt it’s a firewall problem. But,just in case, try printing with
    firewalls disabled on both the client and server. If you are concerned with
    security, just isolate the machines from the Internet.

  3. If possible, try connecting the printer directly to the Windows client and
    see if the driver you are using actually works.


P. V.
“We’re all in this together, I’m pulling for you.” Red Green