• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] HP Designjet 500 plus - Custom Papierformat?

MiPl

Hacker
Hi,

ich habe einen HP Designjet 500 plus "bekommen" und bin gerade unter Linux Linux 3.11.10-25-desktop
openSUSE 13.1 (Bottle) (i586) mit dem ppd-treiber "Foomatic/dnj650c" am probieren. Läuft soweit gut, aber ich kann im Druckdialog kein Custompapierformat einstellen!? Dort steht z. B. unter GIMP eine Auflösung, aber Breite u. Höhe sind nicht änderbar.

Bei der relativ hochpreisigen Rollenware möchte ich jedoch nicht unbedingt 0,5 m Müll produzieren. Hat hierfür jemand einen Lösungsansatz?

In der PPD-Datei unter /etc/cups/ppd/HP_Designjet_500_plus_(C7770F).ppd steht z. b.:

*HWMargins: 18 36 18 36
*VariablePaperSize: True
*MaxMediaWidth: 100000
*MaxMediaHeight: 100000
*NonUIOrderDependency: 100 AnySetup *CustomPageSize
*CustomPageSize True: "pop pop pop pop pop
%% FoomaticRIPOptionSetting: PageSize=Custom"
*End
*FoomaticRIPOptionSetting PageSize=Custom: " -dDEVICEWIDTHPOINTS=0 -dD&&
EVICEHEIGHTPOINTS=0"
*End
*ParamCustomPageSize Width: 1 points 36 100000
*ParamCustomPageSize Height: 2 points 36 100000
*ParamCustomPageSize Orientation: 3 int 0 0
*ParamCustomPageSize WidthOffset: 4 points 0 0
*ParamCustomPageSize HeightOffset: 5 points 0 0

*FoomaticIDs: HP-DesignJet_500ps dnj650c
*FoomaticRIPCommandLine: "gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPA&&
USE -r300x300 -sDEVICE=dnj650c%A%Z -sOutputFile=- -"
*End

Ich könnte die Werte dDEVICEWIDTHPOINTS=0 und EVICEHEIGHTPOINTS=0 wahrscheinlich von Hand ändern, aber das kann nicht die Lösung sein, oder?

Danke für Eure Anregungen oder schöner noch Lösung.

Gruß Michael
 

spoensche

Moderator
Teammitglied
Starte mal die hp-toolbox, wähle den Drucker aus und öffne die Konfiguration. In der Konfiguration wählst du image printing aus und überprüfst, ob Fit to page abgeschaltet ist.

Danach kannst du z.B. Edge to Edge drucken.

Siehe: http://hplipopensource.com/node/325
 
OP
M

MiPl

Hacker
Hi,

danke für die Rückmeldung.

Heute tagsüber ist mir auch noch eingefallen, dass da unten rechts immer was von HP in der Leiste dargestellt ist, was ich nie benutzt habe und da wollte ich noch nachsehen. Wie sich nun herausgestellt hat ist das die hp-toolbox. Danke für den Tip.

Allerdings hilft es derzeit nicht weiter, da dieser Drucker (andere schon) nicht angezeigt wird!?

In der Shell bekomme ich das:
HP Linux Imaging and Printing System (ver. 3.13.10)
HP Device Manager ver. 15.0

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.

warning: Reportlab not installed. Fax coverpages disabled.
warning: Please install version 2.0+ of Reportlab for coverpage support.

HP Linux Imaging and Printing System (ver. 3.13.10)
System Tray Status Service ver. 2.0

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.

/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
set_interactive(1)
error: HPLIP upgrade is disabled by openSUSE for security reasons, see https://bugzilla.novell.com/show_bug.cgi?id=853405 - if you like to upgrade HPLIP, use an openSUSE software package manager like YaST or zypper.
Completed..
error: Unable to communicate with device (code=12): hp:/usb/Deskjet_1280?serial=CN62DJ50S1UP
error: Device not found
error: Unable to communicate with device (code=12): hp:/usb/PSC_1400_series?serial=MY5CDCC2BD04BM
error: Device not found
error: Unable to communicate with device (code=12): hp:/usb/Deskjet_1280?serial=CN62DJ50S1UP
error: Device not found
error: Unable to communicate with device (code=12): hp:/usb/PSC_1400_series?serial=MY5CDCC2BD04BM
error: Device not found

Gut, der 1280 und der 1400er sind nicht angeschlossen. Das Ergebnis ist somit i. O. Aber ich habe über CUPS auf dem DJ500+ eine Testseite gedruckt und der Drucker erscheint dennoch nicht.

lsusb liefert aber:
Code:
Bus 007 Device 002: ID 03f0:0114 Hewlett-Packard

Da sonst nichts von HP angeschlossen ist kann dies nur der Drucker sein. Wo klemmts?

Gruß Michael
 
OP
M

MiPl

Hacker
Ergänzung: unter hp-doctor erhalte ich folgendes

HP Linux Imaging and Printing System (ver. 3.13.10)
Self Diagnse Utility and Healing Utility ver. 1.0

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.



Checking for Deprecated items....
No Deprecated items are found


Checking for HPLIP updates....
error: HPLIP upgrade is disabled by openSUSE for security reasons, see https://bugzilla.novell.com/show_bug.cgi?id=853405 - if you like to upgrade HPLIP, use an openSUSE software package manager like YaST or zypper.
Completed..
error: Failed to upgrade latest HPLIP. Is hp-upgrade already running (i.e. foreground or background)?


Checking for Dependencies....

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

Kernel: 3.11.10-25-desktop #1 SMP PREEMPT Wed Dec 17 17:57:03 UTC 2014 (8210f77) GNU/Linux
Host: MichasLappi.site
Proc: 3.11.10-25-desktop #1 SMP PREEMPT Wed Dec 17 17:57:03 UTC 2014 (8210f77) GNU/Linux
Distribution: suse 13.1
Bitness: 32 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: Datei oder Verzeichnis nicht gefunden

Current contents of '~/.hplip/hplip.conf' file:
[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/usb/Deskjet_1280?serial=CN62DJ50S1UP"
printer_name =
working_dir = .

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[refresh]
rate = 30
enable = true
type = 2

[polling]
enable = false
interval = 5
device_list =

[fax]
voice_phone =
email_address =

[upgrade]
latest_available_version = 3.14.10
notify_upgrade = true
last_upgraded_time = 1429558907.88355
pending_upgrade_time = 0

[installation]
date_time = 20.04.2015 21:42:00
version = 3.13.10


<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.16 OK -
scanimage Shell-Scanning OPTIONAL 1.0 1.0.23 OK -
avahi-utils avahi-utils OPTIONAL - 0.6.31 OK -
dbus DBus REQUIRED - 1.8.16 OK -
cups CUPS REQUIRED 1.1 1.5.4 OK 'CUPS Scheduler is running'
xsane SANE-GUI OPTIONAL 0.9 0.998 OK -

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

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

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

gcc gcc-Compiler REQUIRED - 4.8.1 OK -
libtool Build-tools REQUIRED - 2.4.2 OK -
make GNU-Build-tools REQUIRED 3.0 3.82 OK -

----------------------
| 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 |
---------------------------------


hpdeskjet1280
-------------
Type: Printer
Device URI: hp:/usb/Deskjet_1280?serial=CN62DJ50S1UP
PPD: /etc/cups/ppd/hpdeskjet1280.ppd
PPD Description: HP Deskjet 1280, hpcups 3.13.10
Printer Paused: printer hpdeskjet1280 disabled since Fr 17 Apr 2015 21:51:22 CEST -
error: Unable to communicate with device (code=12): hp:/usb/Deskjet_1280?serial=CN62DJ50S1UP
error: Device not found
error: Communication status: Failed

PSC-1400-series
---------------
Type: Printer
Device URI: hp:/usb/PSC_1400_series?serial=MY5CDCC2BD04BM
PPD: /etc/cups/ppd/PSC-1400-series.ppd
PPD Description: HP PSC 1400 Series, hpcups 3.11.10
Printer status: printer PSC-1400-series is idle. enabled since So 19 Apr 2015 20:49:56 CEST
error: Unable to communicate with device (code=12): hp:/usb/PSC_1400_series?serial=MY5CDCC2BD04BM
error: Device not found
error: Communication status: Failed


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

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


Checking Permissions....
Permissions are correct.


Checking for Configured Queues....

'hpdeskjet1280 Queue is paused. Do you want to enable queue? (y=yes*, n=no, q=quit) ?

Hilft das um mir einen weiteren Tip zu geben?

Michael
 

Sauerland

Ultimate Guru
Hast du es einmal mit einer aktuelleren Version von hplip versucht?
http://download.opensuse.org/repositories/Printing/openSUSE_13.1/
 
OP
M

MiPl

Hacker
Hi,

habe gerade die aktuellste Version installiert, doch leider ohne sichtbaren Erfolg.

Ich kann den Drucker jedoch über CUPS konfigurieren (auch das Custom-Papierformat) erhalte dann jedoch bei der Eingabe in der Shell von hp-doctor folgende Fehlermeldung:

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

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


Checking Permissions....
Permissions are correct.


Checking for Configured Queues....
warning: Device HP_Designjet_500_plus_ is not HPLIP installed. Device must use the hp: or hpfax: to function in HPLIP.

error: 'HP_Designjet_500_plus_' is not configured using HPLIP. Need to remove and re-cofigure using hp-setup.
Do you want to remove and re-configure? (y=yes*, n=no, q=quit) ? y


You do not have permission to delete a printer. You need authentication.
Username: root
Password:
' HP_Designjet_500_plus_' removed successfully.
Re-configuring this printer by hp-setup...

HP Linux Imaging and Printing System (ver. 3.15.2)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-15 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: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------

Num Connection Description
Type
-------- ---------- ----------------------------------------------------------
0* usb Universal Serial Bus (USB)
1 net Network/Ethernet/Wireless (direct connection or JetDirect)
2 par Parallel Port (LPT:)

Enter number 0...2 for connection type (q=quit, enter=usb*) ? 0

Using connection type: usb

error: No device selected/specified or that supports this functionality.

Versuche ich die Konfiguration über die hp-software -> usb-Port wird der Drucker gar nicht erkannt. Das USB-Kabel muss aber wohl i. O. sein, da ich ja drucken kann. USB:Device-Angabe unter Permissions ist auch i. O. Sehr merkwürdig.

Noch irgendwelche Ideen?

Danke.
 
OP
M

MiPl

Hacker
Noch eine Ergänzung:

Wenn der Drucker unter CUPS konfiguriert ist liefert hp-doctor noch folgendes:
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------


HP_Designjet_500_plus_
----------------------
Type: Unknown
Device URI: usb://HP/Designjet%20500%20plus%20(C7770F)
PPD: /etc/cups/ppd/HP_Designjet_500_plus_.ppd
PPD Description: HP DesignJet 500ps Foomatic/dnj650c (recommended)
Printer status: printer HP_Designjet_500_plus_ is idle. enabled since Di 21 Apr 2015 21:01:24 CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

hpdeskjet1280
-------------
Type: Printer
Device URI: hp:/usb/Deskjet_1280?serial=CN62DJ50S1UP
PPD: /etc/cups/ppd/hpdeskjet1280.ppd
PPD Description: HP Deskjet 1280, hpcups 3.13.10
Printer Paused: printer hpdeskjet1280 disabled since Fr 17 Apr 2015 21:51:22 CEST -
error: Unable to communicate with device (code=12): hp:/usb/Deskjet_1280?serial=CN62DJ50S1UP
error: Device not found
error: Communication status: Failed

PSC-1400-series
---------------
Type: Printer
Device URI: hp:/usb/PSC_1400_series?serial=MY5CDCC2BD04BM
PPD: /etc/cups/ppd/PSC-1400-series.ppd
PPD Description: HP PSC 1400 Series, hpcups 3.11.10
Printer status: printer PSC-1400-series is idle. enabled since So 19 Apr 2015 20:49:56 CEST
error: Unable to communicate with device (code=12): hp:/usb/PSC_1400_series?serial=MY5CDCC2BD04BM
error: Device not found
error: Communication status: Failed

Gut, habe mir gedacht die hp-uri (wie bei den anderen Druckern) über hp-makeuri zu erstellen und dann in CUPS diese Adresse zu verwenden, doch dann kommt das:
lsusb
Bus 001 Device 002: ID 064e:a103 Suyin Corp. Acer/HP Integrated Webcam [CN0314]
Bus 001 Device 003: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader
Bus 008 Device 002: ID 03f0:0114 Hewlett-Packard

und

# hp-makeuri 008:002

HP Linux Imaging and Printing System (ver. 3.15.2)
Device URI Creation Utility ver. 5.0

Copyright (c) 2001-15 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.

error: Device not found

Wieso wird der Drucker nicht gefunden?
 
OP
M

MiPl

Hacker
Gelöst. Wegen eigener Dummheit habe ich den entscheidenden Menüpunkt bei der Papierauswahl für eigene Formate nicht gesehen. Als letzter Eintrag im Papierauswahl-Dropdownmenü steht "Benutzerdefinierte Größen verwalten ...". Dort kann man alles einstellen. Ich war immer auf den Menüpunkt "Custom" gegangen, der (un)sinnigerweise als erster Menüpunkt aufgeführt wird.

Vielleicht hat ja sonst nochmal jemand die gleichen Scheuklappen auf.

Gruß Michael
 
Oben