Attached printer not working in openSuse 13.1

I just installed openSuse 13.1 (clean, new install, stock with initial updates only) on two machines in a network, one of which has an HP Laserjet printer attached. While I am able to print test pages and pages from LibreOffice, pages sent from Kate, Kwrite, FireFox, other applications fail to print. The print window for the HP shows an grayed-out output file going to pdf.

Curiously, even though the test page printed from the CUPS, the job states “unable to open print file: No such file or directory.”

Previously, in 11.4, I was able to print from all applications through Samba.

All advice welcome. Thanks.

This belongs in the Hardware sub-forum.
Apply On-Line Updates.
What printer, how is it connected, what PPD are you usin?
– you can copy/paste this information from YaST > Hardware > Printers
How did you install/configure the printer exactly?
– did you use the HP Device Manager? If so what does it report?

Will be moved to Hardware and is CLOSED for the moment.

Moved from Applications and open again.

Thanks for the response and thank you for moving the thread to the proper subforum.

The printer is an HP LaserJet 4050.

I used the recommended driver: HP LaserJet 4050 Series Postscript (recommended). I did not use the HP device manager.

I used CUPS to configure the printer on the remote machine - the printers.conf follows:


# Printer configuration file for CUPS v1.5.4
# Written by cupsd on 2014-04-23 08:50
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer hp4050>
UUID urn:uuid:5cf09592-e05d-3858-6ccd-427494225cf1
Info 
Location 
MakeModel HP LaserJet 4050 Series Postscript (recommended)
DeviceURI smb://workgroup/mach-5/hp4050
State Idle
StateTime 1398257439
Type 8425668
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>

On the locally-connected machine, SuSE configured the printer in automatic configuration during the initial installation of the OS:


# Printer configuration file for CUPS v1.5.4
# Written by cupsd on 2014-04-22 15:43
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer hplaserjet4050series>
UUID urn:uuid:7a7001c5-5423-33c0-6184-baebcb549446
Info HP LaserJet 4050 Series Postscript (recommended)
MakeModel HP LaserJet 4050 Series Postscript (recommended)
DeviceURI parallel:/dev/lp1
State Idle
StateTime 1398195775
Type 8425668
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>

Please let me know if you need further information. Thanks.

Solved - for reasons not clear to me (but after other software updates for other reasons), it’s now working.

I spoke too soon. While printing appears to be working on the networked machine (through Samba), the problem persists on the machine to which the printer is attached.

I am not sure, but there are a few things you could try.

I am able to print test pages and pages from LibreOffice, pages sent from Kate, Kwrite, FireFox, other applications fail to print.

I take it that you have mozilla-kde4-integration installed?
Do print commands from a terminal window (e.g. Konsole) produce expected results?
E.g. from my laptop:

ray@giulia:~> lpstat -d ;echo ;lpstat -p ;echo ;lpq ;echo ;lp /etc/os-release ;echo ;lpq ;echo
system default destination: clp500

printer clp500 is idle.  enabled since Thu 24 Apr 2014 08:40:27 BST
        Ready to print.

clp500 is ready
no entries

request id is clp500-10 (1 file(s))

clp500 is ready and printing
Rank    Owner   Job     File(s)                         Total Size
active  ray     10      os-release                      1024 bytes

ray@giulia:~>

Have a look at System Settings > Hardware > Printers (from the KDE Menu) for anything untoward.
Try creating an new test user, and printing from e.g. Kate.

I take it that the reason for Samba is that you have Microsoft systems on the network. Have you tried remote CUPS printing?

As mentioned at the top, there are two machines - one connected directly to the printer and another via Samba over a network. The networked machine is printing properly across all applications. The one connected to the printer (parallel:/dev/lpt1) will not print from KDE applications, Firefox, and perhaps others. It does print from LibreOffice.

I have re-installed the printer several times (and reinstalled the OS, also) and looked at logs, all to no avail. As noted at the outset, the print dialog comes up with a grayed-out output file sending the print to a pdf file.

CUPS, the HP print manager, and other devices all indicate there is a connected printer.

Over the years, others have encountered a similar problem, but I am unable to determine whether and how they resolved the issue.

Can you please confirm that you followed eng-int’s advice to fully update your system?

Yes, all updates through Yast and the updater on the desktop. Including any that might have been picked up through KDE Extras 13.1.

A couple of questions:

  1. Do you have the ‘parallel-printer-support’ package installed? (I’m assuming you do, otherwise unlikely to have been detected in the first place)

  2. When you set up your parallel printer, did you use the ‘hp-setup’ tool, or CUPS, or…?

Strangely the HPLIP page doesn’t suggest support for LPT printing

http://hplipopensource.com/hplip-web/models/laserjet/hp_laserjet_4050_series.html

Thank you. Please ask any questions, as I may have overlooked something obvious.

The ‘parallel-printer-support’ package is installed.

I first used the automatic installation when the OS was installed (after reboot), then CUPS, the HP tool, and an applet called system-config-printer that apparently works with CUPS.

I too noticed the absence of parallel support on the HP page. But the printer shows up with the path parallel:/dev/lpt1. The port is physically on a SIIG card that plugs into a PCI slot.

Just in case something critical changed with all of the re-installs, here is the current version of printers.conf:


# Printer configuration file for CUPS v1.5.4
# Written by cupsd on 2014-04-25 17:20
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<DefaultPrinter hplaserjet4050series>
UUID urn:uuid:7a7001c5-5423-33c0-6184-baebcb549446
Info HP LaserJet 4050 Series Postscript (recommended)
MakeModel HP LaserJet 4050 Series Postscript (recommended)
DeviceURI parallel:/dev/lp1
State Idle
StateTime 1398460815
Type 8425668
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>

cupsd.conf.:


#
# "$Id: cupsd.conf.in 9407 2010-12-09 21:24:51Z mike $"
#
# 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 *:631
Listen localhost: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

# Web interface setting...
WebInterface Yes

# Restrict access to the server...
<Location />
Allow @LOCAL
Order allow,deny
Allow 127.0.0.2
</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/subscription privacy...
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default

  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    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 Cancel-My-Jobs Close-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 Cancel-Jobs 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/subscription privacy...
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default

  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    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 Cancel-My-Jobs Close-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 Cancel-Jobs 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 9407 2010-12-09 21:24:51Z mike $".
#

# The policy below is added by SUSE during build of our cups package.
# The policy 'allowallforanybody' is totally open and insecure and therefore
# it can only be used within an internal network where only trused users exist
# and where the cupsd is not accessible at all from any external host, see
# http://en.opensuse.org/SDB:CUPS_and_SANE_Firewall_settings
# Have in mind that any user who is allowed to do printer admin tasks
# can change the print queues as he likes - e.g. send copies of confidental
# print jobs from an internal network to any external destination, see
# http://en.opensuse.org/SDB:CUPS_in_a_Nutshell
# For documentation regarding 'Managing Operation Policies' see
# http://www.cups.org/documentation.php/doc-1.5/policies.html
<Policy allowallforanybody>
  <Limit All>
    Order deny,allow
    Allow from all
  </Limit>
</Policy>
# Explicitly set the CUPS 'default' policy to be used by default:
DefaultPolicy default
# End of additions by SUSE.

# 2014-04-24,10:09:09 modify_cupsd_conf Allow @LOCAL
# 2014-04-24,10:09:09 modify_cupsd_conf BrowseAddress none
# 2014-04-24,10:09:09 modify_cupsd_conf Listen all

and cupsd.conf.yast2save:

#
# "$Id: cupsd.conf.in 9407 2010-12-09 21:24:51Z mike $"
#
# 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
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

# Web interface setting...
WebInterface Yes

# Restrict access to the server...
<Location />
Allow @LOCAL
Order allow,deny
Allow 127.0.0.2
</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/subscription privacy...
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default

  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    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 Cancel-My-Jobs Close-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 Cancel-Jobs 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/subscription privacy...
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default

  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    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 Cancel-My-Jobs Close-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 Cancel-Jobs 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 9407 2010-12-09 21:24:51Z mike $".
#

# The policy below is added by SUSE during build of our cups package.
# The policy 'allowallforanybody' is totally open and insecure and therefore
# it can only be used within an internal network where only trused users exist
# and where the cupsd is not accessible at all from any external host, see
# http://en.opensuse.org/SDB:CUPS_and_SANE_Firewall_settings
# Have in mind that any user who is allowed to do printer admin tasks
# can change the print queues as he likes - e.g. send copies of confidental
# print jobs from an internal network to any external destination, see
# http://en.opensuse.org/SDB:CUPS_in_a_Nutshell
# For documentation regarding 'Managing Operation Policies' see
# http://www.cups.org/documentation.php/doc-1.5/policies.html
<Policy allowallforanybody>
  <Limit All>
    Order deny,allow
    Allow from all
  </Limit>
</Policy>
# Explicitly set the CUPS 'default' policy to be used by default:
DefaultPolicy default
# End of additions by SUSE.

# 2014-04-24,10:09:09 modify_cupsd_conf Allow @LOCAL
# 2014-04-24,10:09:09 modify_cupsd_conf BrowseAddress none

Hmmm… it is a curious issue indeed. Does ‘hp-check -t’ turn up anything unusual? (This shouldn’t be necessary, but are you a member of the ‘lp’ group?)

Does it make a difference if the printer is turned on before you boot, (as opposed to after), with printing from KDE?

FWIW, a search turned up a similar issue reported (KDE + parallel printer)

https://forums.freebsd.org/viewtopic.php?&t=25080

but I don’t think the solution relates to openSUSE at all.

Was there any particular reason you’re using the postcript driver? There are alternative drivers available (eg hplip)

https://www.openprinting.org/printer/HP/HP-LaserJet_4050

Not knowing the nature of the problem, I can’t say whether they’ll be of any help.

Yes, indeed, hp-check does have something.

hp-check -t results (same results for printer off and then on):


linux-5:~ # hp-check -t
Saving output in log file: /root/hp-check.log

HP Linux Imaging and Printing System (ver. 3.13.10)
Dependency/Version Check Utility ver. 15.1

Copyright (c) 2001-13 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball       
(.tar.gz or .run) to determine if the proper dependencies are installed to successfully compile HPLIP.        
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm,    
etc) or an already built HPLIP supplied tarball has the proper dependencies installed to successfully run.    
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above     
cases (both compile- and run-time dependencies).                                                              

Check types:                                                                                                  
a. EXTERNALDEP - External Dependencies                                                                        
b. GENERALDEP - General Dependencies (required both at compile and run time)                                  
c. COMPILEDEP - Compile time Dependencies                                                                     
d. [All are run-time checks]                                                                                  
PYEXT SCANCONF QUEUES PERMISSION                                                                              

Status Types:
    OK
    MISSING       - Missing Dependency or Permission or Plug-in
    INCOMPAT      - Incompatible dependency-version or Plugin-version

 
---------------
| SYSTEM INFO |
---------------

 Kernel: 3.11.10-7-desktop #1 SMP PREEMPT Mon Feb 3 09:41:24 UTC 2014 (750023e) GNU/Linux
 Host: linux-5
 Proc: 3.11.10-7-desktop #1 SMP PREEMPT Mon Feb 3 09:41:24 UTC 2014 (750023e) GNU/Linux
 Distribution: suse 13.1
 Bitness: 64 bit                                                                                              
                                                                                                              
                                                                                                              
-----------------------                                                                                       
| HPLIP CONFIGURATION |                                                                                       
-----------------------                                                                                       
                                                                                                              
HPLIP-Version: HPLIP 3.13.10                                                                                  
HPLIP-Home: /usr/share/hplip                                                                                  
HPLIP-Installation: Auto installation is supported for suse distro  13.1 version                              

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.13.10

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/cups/model/manufacturer-PPDs/hplip
ppdbase=/usr/share/cups/model/manufacturer-PPDs
doc=/usr/share/doc/packages/hplip
html==/usr/share/doc/packages/hplip
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/lib/cups/driver
bin=/usr/bin

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=no
cups-ppd-install=yes
internal-tag=3.13.10
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
lite-build=no
udev-acl-rules=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no


Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No such file or directory

Current contents of '~/.hplip/hplip.conf' file:
warning: Could not access file: No such file or directory
 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

--------------------------
|  External Dependencies |
--------------------------

 policykit            Admin-Policy-framework    OPTIONAL        -               0.112           OK         -
 gs                   Ghostscript               REQUIRED        7.05            9.07            OK         -
 network              Network-wget              OPTIONAL        -               1.14            OK         -
 scanimage            Shell-Scanning            OPTIONAL        1.0             1.0.23          OK         -
 error: avahi-utils   avahi-utils               OPTIONAL        -               -               MISSING    'avahi-utils needs to be installed'
 error: dbus          DBus                      REQUIRED        -               1.7.4           MISSING    'DBUS may not be installed or not running'
 cups                 CUPS                      REQUIRED        1.1             1.5.4           OK         'CUPS Scheduler is running'
 error: xsane         SANE-GUI                  OPTIONAL        0.9             -               MISSING    'xsane needs to be installed'

-------------------------
|  General Dependencies |
-------------------------

 error: reportlab     Python-PDF-Lib            OPTIONAL        2.0             -               MISSING    'reportlab needs to be installed'
 error: libcrypto     OpenSSL-Crypto-Lib        REQUIRED        -               1.0.1           MISSING    'libcrypto needs to be installed'
 error: pil           Python-Image-Lib          OPTIONAL        -               -               MISSING    'pil needs to be installed'
 pyqt4-dbus           PyQt4-DBUS                REQUIRED        4.0             4.10.3          OK         -
 error: libjpeg       JPEG-Lib                  REQUIRED        -               -               MISSING    'libjpeg needs to be installed'
 error: libpthread    POSIX-Threads-Lib         REQUIRED        -               2.18            MISSING    'libpthread needs to be installed'
 python-dbus          Python-DBUS               REQUIRED        0.80.0          1.2.0           OK         -
 error: python-devel  Python-SDK                REQUIRED        2.2             2.7.6           MISSING    'python-devel needs to be installed'
 pyqt4                Python-Qt4                REQUIRED        4.0             4.10.3          OK         -
 error: cups-devel    CUPS-SDK                  REQUIRED        -               1.5.4           MISSING    'cups-devel needs to be installed'
 error: sane-devel    SANE-SDK                  REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
 error: libusb        USB-Lib                   REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
 sane                 Scan-Lib                  REQUIRED        -               -               OK         -
 error: cups-image    CUPS-Image-Lib            REQUIRED        -               1.5.4           MISSING    'cups-image needs to be installed'
 error: libnetsnmp-devel SNMP-Networking-SDK       REQUIRED        5.0.9           -               MISSING    'libnetsnmp-devel needs to be installed'
 python-xml           Python-XML-Lib            REQUIRED        -               2.1.0           OK         -
 python-notify        Desktop-notifications     OPTIONAL        -               -               OK         -

------------------------------
|  Compile Time Dependencies |
------------------------------

 error: gcc           gcc-Compiler              REQUIRED        -               -               MISSING    'gcc needs to be installed'
 error: libtool       Build-tools               REQUIRED        -               -               MISSING    'libtool needs to be installed'
 error: make          GNU-Build-tools           REQUIRED        3.0             -               MISSING    'make needs to be installed'

----------------------
|  Python Extentions |
----------------------

 cupsext              CUPS-Extension            REQUIRED        -               3.13.10         OK         -
 pcardext             PhotoCard-Extension       REQUIRED        -               3.13.10         OK         -
 hpmudext             IO-Extension              REQUIRED        -               3.13.10         OK         -

-----------------------
|  Scan Configuration |
-----------------------

 hpaio                HPLIP-SANE-Backend        REQUIRED        -               3.13.10         OK         'hpaio found in /etc/sane.d/dll.conf'
 scanext              Scan-SANE-Extension       REQUIRED        -               3.13.10         OK         -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

No Scanner found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

 
hplaserjet4050series
--------------------
Type: Unknown
Device URI: parallel:/dev/lp1
PPD: /etc/cups/ppd/hplaserjet4050series.ppd
PPD Description: HP LaserJet 4050 Series Postscript (recommended)
Printer status: printer hplaserjet4050series is idle.  enabled since Fri Apr 25 17:20:15 2014
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.


--------------
| PERMISSION |
--------------

USB             None                           Required        -        -        OK       Node:'/dev/bus/usb/002/002' Perm:'  root  lp rw- rw- r--'
 
-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
error: 'dbus-1-devel' package is missing/incompatible 
error: 'python-gobject2' package is missing/incompatible 
error: 'openssl' package is missing/incompatible 
error: 'libjpeg-devel' package is missing/incompatible 
error: 'glibc' package is missing/incompatible 
error: 'python-devel' package is missing/incompatible 
error: 'python-xml' package is missing/incompatible 
error: 'libpython2_7-1_0' package is missing/incompatible 
error: 'cups-devel' package is missing/incompatible 
error: 'cupsddk' package is missing/incompatible 
error: 'sane-backends-devel' package is missing/incompatible 
error: 'libusb-1_0-devel' package is missing/incompatible 
error: 'libusb-1_0-0' package is missing/incompatible 
error: 'cups-devel' package is missing/incompatible 
error: 'net-snmp-devel' package is missing/incompatible 
error: 'gcc-c++' package is missing/incompatible 
error: 'libtool' package is missing/incompatible 
error: 'libgphoto2-devel' package is missing/incompatible 
error: 'make' package is missing/incompatible 

Missing Optional Dependencies
-----------------------------
error: 'avahi-utils' package is missing/incompatible 
error: 'xsane' package is missing/incompatible 
error: 'python-imaging' package is missing/incompatible 

Total Errors: 17
Total Warnings: 2

Run 'hp-doctor' command to prompt and fix the issues. 

Done.

The check states that I should run hp-doctor. Alternatively, I could search in Yast for the missing dependencies, but that could lead to other problems. (I am also in the midst of straightening out dual monitors for an nVidia card, but they appear to be running OK without the nVidia driver installed! On both machines!)

When the printer is installed in CUPS, the postscript driver comes up as recommended for the printer - the one I am using and a multi-language version. Perhaps I should try the other, but I can’t see how that would make a difference.

Thanks, I saw the FreeBSD post and did some poking around but could not find a configuration file for qt or anything else that would use such an entry. I did see one file in /etc/sysconfig/ for cups, but not sure what I would enter (e.g., all allow, etc.):

Going back to hp-check (and thanks for that suggestion), should I try hp-doctor?

I will send the error.log in a separate post.

Thanks for your time.

Here is the error.log file. There are a variety of entries due to experimenting. With regard to KDE applications, the one that usually occurs is “Unable to open print file: No such file or directory.”

E [22/Apr/2014:15:41:01 -0400] Browsing=1
E [22/Apr/2014:15:41:01 -0400] BrowseLocalProtocols=0
E [22/Apr/2014:15:41:01 -0400] BrowseRemoteProtocols=1
E [22/Apr/2014:15:41:01 -0400] BROWSE_CUPS=1
E [22/Apr/2014:15:41:01 -0400] Unable to bind socket for address [v1.::1]:631 - Address already in use.
E [22/Apr/2014:15:41:23 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [22/Apr/2014:15:42:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [22/Apr/2014:17:03:40 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [22/Apr/2014:17:45:58 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [23/Apr/2014:13:01:50 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [23/Apr/2014:13:12:57 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [23/Apr/2014:13:20:00 -0400] [Job 9] Unable to open print file: No such file or directory
E [23/Apr/2014:13:20:00 -0400] [Job 9] Unable to open print file: No such file or directory
E [23/Apr/2014:13:20:00 -0400] [Job 9] Unable to open print file: No such file or directory
E [23/Apr/2014:13:20:00 -0400] [Job 9] Unable to open print file: No such file or directory
E [23/Apr/2014:13:20:02 -0400] Bad request line "%16%03%01" from localhost!
E [23/Apr/2014:13:20:02 -0400] Bad request line "%16%03%01" from localhost!
E [23/Apr/2014:13:20:02 -0400] Bad request line "%16%03%01" from localhost!
E [23/Apr/2014:13:20:02 -0400] Bad request line "%16%03%01" from localhost!
E [23/Apr/2014:13:20:02 -0400] Bad request line "%16%03%01" from localhost!
E [23/Apr/2014:19:35:17 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [24/Apr/2014:10:02:34 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [24/Apr/2014:10:09:13 -0400] Unable to bind socket for address [v1.::1]:631 - Address already in use.
E [24/Apr/2014:10:09:13 -0400] Unable to bind socket for address 127.0.0.1:631 - Address already in use.
E [24/Apr/2014:10:09:33 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [24/Apr/2014:16:42:29 -0400] Unable to bind socket for address [v1.::1]:631 - Address already in use.
E [24/Apr/2014:16:42:29 -0400] Unable to bind socket for address 127.0.0.1:631 - Address already in use.
E [24/Apr/2014:16:42:35 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [24/Apr/2014:18:15:05 -0400] Unable to bind socket for address [v1.::1]:631 - Address already in use.
E [24/Apr/2014:18:15:05 -0400] Unable to bind socket for address 127.0.0.1:631 - Address already in use.
E [24/Apr/2014:18:15:11 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [24/Apr/2014:18:16:17 -0400] Bad request line "%16%03%01" from localhost!
E [24/Apr/2014:18:16:18 -0400] Bad request line "%16%03%01" from localhost!
E [24/Apr/2014:18:17:28 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [24/Apr/2014:18:17:58 -0400] [Job 13] Unable to open print file: No such file or directory
E [24/Apr/2014:18:17:58 -0400] [Job 13] Unable to open print file: No such file or directory
E [24/Apr/2014:18:17:58 -0400] [Job 13] Unable to open print file: No such file or directory
E [24/Apr/2014:18:17:58 -0400] [Job 13] Unable to open print file: No such file or directory
E [24/Apr/2014:18:18:00 -0400] Bad request line "%16%03%01" from localhost!
E [24/Apr/2014:18:18:00 -0400] Bad request line "%16%03%01" from localhost!
E [24/Apr/2014:18:18:00 -0400] Bad request line "%16%03%01" from localhost!
E [24/Apr/2014:18:18:00 -0400] Bad request line "%16%03%01" from localhost!
E [24/Apr/2014:18:18:00 -0400] Bad request line "%16%03%01" from localhost!
E [24/Apr/2014:18:18:39 -0400] [Job 14] Unable to open print file: No such file or directory
E [24/Apr/2014:18:18:39 -0400] [Job 14] Unable to open print file: No such file or directory
E [24/Apr/2014:18:18:39 -0400] [Job 14] Unable to open print file: No such file or directory
E [24/Apr/2014:18:18:39 -0400] [Job 14] Unable to open print file: No such file or directory
E [24/Apr/2014:18:19:03 -0400] [Job 15] Unable to open print file: No such file or directory
E [24/Apr/2014:18:19:03 -0400] [Job 15] Unable to open print file: No such file or directory
E [24/Apr/2014:18:19:03 -0400] [Job 15] Unable to open print file: No such file or directory
E [24/Apr/2014:18:19:03 -0400] [Job 15] Unable to open print file: No such file or directory
E [24/Apr/2014:18:30:29 -0400] Bad request line "%16%03%01" from localhost!
E [24/Apr/2014:18:43:10 -0400] Unable to bind socket for address [v1.::1]:631 - Address already in use.
E [24/Apr/2014:18:43:10 -0400] Unable to bind socket for address 127.0.0.1:631 - Address already in use.
E [24/Apr/2014:18:43:15 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [24/Apr/2014:18:52:08 -0400] [Job 19] Unable to open print file: No such file or directory
E [24/Apr/2014:18:52:08 -0400] [Job 19] Unable to open print file: No such file or directory
E [24/Apr/2014:18:52:08 -0400] [Job 19] Unable to open print file: No such file or directory
E [24/Apr/2014:18:52:08 -0400] [Job 19] Unable to open print file: No such file or directory
E [24/Apr/2014:21:08:47 -0400] Unable to bind socket for address [v1.::1]:631 - Address already in use.
E [24/Apr/2014:21:08:47 -0400] Unable to bind socket for address 127.0.0.1:631 - Address already in use.
E [24/Apr/2014:21:08:53 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [24/Apr/2014:21:15:51 -0400] [Job 24] Unable to open print file: No such file or directory
E [24/Apr/2014:21:15:51 -0400] [Job 24] Unable to open print file: No such file or directory
E [24/Apr/2014:21:15:51 -0400] [Job 24] Unable to open print file: No such file or directory
E [24/Apr/2014:21:15:51 -0400] [Job 24] Unable to open print file: No such file or directory
E [24/Apr/2014:21:16:08 -0400] [Job 24] Unable to open print file: No such file or directory
E [24/Apr/2014:21:16:08 -0400] [Job 24] Unable to open print file: No such file or directory
E [24/Apr/2014:21:16:08 -0400] [Job 24] Unable to open print file: No such file or directory
E [24/Apr/2014:21:16:08 -0400] [Job 24] Unable to open print file: No such file or directory
E [24/Apr/2014:21:17:01 -0400] [Job 25] Unable to open print file: No such file or directory
E [24/Apr/2014:21:17:01 -0400] [Job 25] Unable to open print file: No such file or directory
E [24/Apr/2014:21:17:01 -0400] [Job 25] Unable to open print file: No such file or directory
E [24/Apr/2014:21:17:01 -0400] [Job 25] Unable to open print file: No such file or directory
E [24/Apr/2014:21:19:11 -0400] [Job 25] Unable to open print file: No such file or directory
E [24/Apr/2014:21:19:11 -0400] [Job 25] Unable to open print file: No such file or directory
E [24/Apr/2014:21:19:11 -0400] [Job 25] Unable to open print file: No such file or directory
E [24/Apr/2014:21:19:11 -0400] [Job 25] Unable to open print file: No such file or directory
E [24/Apr/2014:21:19:11 -0400] [Job 26] Unable to open print file: No such file or directory
E [24/Apr/2014:21:19:11 -0400] [Job 26] Unable to open print file: No such file or directory
E [24/Apr/2014:21:19:11 -0400] [Job 26] Unable to open print file: No such file or directory
E [24/Apr/2014:21:19:11 -0400] [Job 26] Unable to open print file: No such file or directory
E [25/Apr/2014:15:45:34 -0400] Unable to bind socket for address [v1.::1]:631 - Address already in use.
E [25/Apr/2014:15:45:34 -0400] Unable to bind socket for address 127.0.0.1:631 - Address already in use.
E [25/Apr/2014:15:45:39 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [25/Apr/2014:15:50:47 -0400] [Job 28] Unable to open print file: No such file or directory
E [25/Apr/2014:15:50:47 -0400] [Job 28] Unable to open print file: No such file or directory
E [25/Apr/2014:15:50:47 -0400] [Job 28] Unable to open print file: No such file or directory
E [25/Apr/2014:15:50:47 -0400] [Job 28] Unable to open print file: No such file or directory
E [25/Apr/2014:16:11:42 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [25/Apr/2014:16:11:48 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [25/Apr/2014:16:12:46 -0400] [Job 29] Unable to open print file: No such file or directory
E [25/Apr/2014:16:12:46 -0400] [Job 29] Unable to open print file: No such file or directory
E [25/Apr/2014:16:12:46 -0400] [Job 29] Unable to open print file: No such file or directory
E [25/Apr/2014:16:12:46 -0400] [Job 29] Unable to open print file: No such file or directory
E [25/Apr/2014:16:13:24 -0400] [Job 30] Unable to open print file: No such file or directory
E [25/Apr/2014:16:13:24 -0400] [Job 30] Unable to open print file: No such file or directory
E [25/Apr/2014:16:13:24 -0400] [Job 30] Unable to open print file: No such file or directory
E [25/Apr/2014:16:13:24 -0400] [Job 30] Unable to open print file: No such file or directory
E [25/Apr/2014:16:14:14 -0400] [Job 30] Unable to open print file: No such file or directory
E [25/Apr/2014:16:14:14 -0400] [Job 30] Unable to open print file: No such file or directory
E [25/Apr/2014:16:14:14 -0400] [Job 30] Unable to open print file: No such file or directory
E [25/Apr/2014:16:14:14 -0400] [Job 30] Unable to open print file: No such file or directory
E [25/Apr/2014:17:16:27 -0400] Unable to bind socket for address [v1.::1]:631 - Address already in use.
E [25/Apr/2014:17:16:27 -0400] Unable to bind socket for address 127.0.0.1:631 - Address already in use.
E [25/Apr/2014:17:16:32 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [25/Apr/2014:19:12:15 -0400] Unable to bind socket for address [v1.::1]:631 - Address already in use.
E [25/Apr/2014:19:12:15 -0400] Unable to bind socket for address 127.0.0.1:631 - Address already in use.
E [25/Apr/2014:19:12:20 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [26/Apr/2014:06:15:36 -0400] Unable to bind socket for address [v1.::1]:631 - Address already in use.
E [26/Apr/2014:06:15:36 -0400] Unable to bind socket for address 127.0.0.1:631 - Address already in use.
E [26/Apr/2014:06:15:44 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!


Here is the /etc/sysconfig/cups file:

## Path:        System/Printing/CUPS
## Description: Cups options
## Type:        string
## Default:     cups
## ServiceReload: cups
## ServiceRestart: cups
#
IDENT="cups"
## Type:        string
## Default:     "CUPS printer daemon"
DESCRIPTIVE="CUPS printer daemon"
## Type:        string
## Default:     ""
#
# change CUPSD_OPTIONS for arguments of start of cupsd
# e.g.  CUPSD_OPTIONS="-c /etc/cups/cupsd.conf"
CUPSD_OPTIONS=""


As mentioned, I can’t see a reason to modify this file.

You’re using the wrong driver apparently.
“sample.drv” is only a sample file to show how to create a .drv file yourself. I don’t think it is really intended to be used for printing.
Select a different one.

Do you actually have any drivers installed?
Click on “Driver Packages” in YaST->Hardware->Printers and install some, hplip is of course the recommended one according to openprinting.org.

Do you have hplip installed? If so, see if your printer is detected via the ‘hp’ backend by running it directly like this

/usr/lib/cups/backend/hp

You could also run

xdg-su -c hp-setup

and proceed to configure using this utility.