Nefunkcni tiskarna HP 710c

Zkus doinstalovat hplip-gui a spustit ho, jesli tam neni nejaka zazracna volba. Jde v seznamu tiskaren vybrat 710 misto te automaticky detekovane 697? Pokud ano, tak urcite zkus vybrat tu spravnou.

Bohužel ani ta graficka nadstavba nepomohla .Uz nevim jak dal.Chci zkusit vyplalit Mandrake ci Ubuntu zda to nepujde tam.V te grafice je moznost vyberu LPT portu a nasledne device not found.

Este muzes zkusti Fedoru 11, jinak je mi lito ale nic vic se asi takto vymyslet neda.

Jinak tady je jeste dalsi vystup z konzole :


[Vlada@localhost ~]$ su-
bash: su-: příkaz nenalezen
[Vlada@localhost ~]$ clear

[Vlada@localhost ~]$ Eurotel
bash: Eurotel: příkaz nenalezen
[Vlada@localhost ~]$ su -
Heslo: 
[root@localhost ~]# lsmod | grep lp
drm_kms_helper         22700  1 nouveau
drm                   135496  5 nouveau,ttm,drm_kms_helper
[root@localhost ~]# modprobe lp
[root@localhost ~]# hp-setup -i -a -x /dev/parport0

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

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


--------------------------------
| 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*) ? 2

Using connection type: par

error: Invalid device URI: 
error: No device selected/specified or that supports this functionality.
[root@localhost ~]# lsmod | grep lp
lp                      8896  0 
parport                29300  3 lp,ppdev,parport_pc
drm_kms_helper         22700  1 nouveau
drm                   135496  5 nouveau,ttm,drm_kms_helper
[root@localhost ~]# dmesg | grep -E 'parport|lp'
On node 0 totalpages: 130943
Calibrating delay loop (skipped), value calculated using timer frequency.. 2814.20 BogoMIPS (lpj=1407102)
parport_pc 00:09: reported by Plug and Play ACPI
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
parport0: Printer, HEWLETT-PACKARD DESKJET 710C
lp0: using parport0 (interrupt-driven).
lp0: console ready
[root@localhost ~]# usermod -a -G lp Vlada
[root@localhost ~]# 

Ale stejne netiskne.Nejaka idea?

Lepsis se, ale stejne nam sem kopirujes pekny zmatek… prepokladam ten Eurotel je tvoje heslo na roota… tak si ho radsi zmen.:slight_smile:

Jinak samozrejme to nemuze magicky zacit fungovat, kdyz ti ten hp-setup napise, ze na paralelnim portu zadne zarizeni nenasel:
error: Invalid device URI:
error: No device selected/specified or that supports this functionality.
ovsem system tam tu tiskarnu vidi:
parport0: Printer, HEWLETT-PACKARD DESKJET 710C

To je prvni podezrela vec, ktera k necemu muze vest a je k ni k nalezeni pomerne dost informaci. Napr. http://www.linuxquestions.org/questions/slackware-14/hplip-device-manager-unable-to-find-printers-on-current-625320/
a vypada to ze je to celkem casta chyba.

Chyby z bugzilly https://bugzilla.redhat.com/buglist.cgi?query_format=advanced&classification=Fedora&product=Fedora&component=hplip&version=12&bug_status=NEW&bug_status=ASSIGNED&bug_status=MODIFIED&bug_status=ON_DEV&bug_status=ON_QA&bug_status=VERIFIED&bug_status=FAILS_QA&bug_status=RELEASE_PENDING&bug_status=POST&bug_status=CLOSED

Prosim zkus jeste vypis prikazu “hp-setup -t” pripadne “hp-check” coz bude zrejme to same a pravdepodobne se toho moc noveho nedozvime. Jak mas nastavene “locale”?

Pokud to nezvladnes sam, nahlasim to jako chybu.

No stravil jsem u toho hodiny,ale jsem laik a marne. Nevim co je mysleno locale.

Jinak vypis z konzole je :


[Vlada@localhost ~]$ su -
Heslo: 
[root@localhost ~]# hp-setup -t
error: option -t requires argument

HP Linux Imaging and Printing System (ver. 2.8.7)
Printer/Fax Setup Utility ver. 7.2

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

Installs HPLIP printers and faxes in the CUPS spooler. Tries to automatically determine the correct PPD file to use. Allows the printing of a testpage. Performs basic fax parameter setup.

Usage: hp-setup [MODE] [OPTIONS] [SERIAL NO.|USB bus:device|IP|DEVNODE]

[MODE]
  Enter graphical UI  -u or --gui (Default)                                 
  mode:                                                                     
  Run in interactive  -i or --interactive                                   
  mode:                                                                     

[OPTIONS]
  Automatic mode:     -a or --auto (-i mode only)                           
  To specify the      -p<port> or --port=<port> (Valid values are 1*, 2, and
  port on a           3. *default)                                          
  multi-port                                                                
  JetDirect:                                                                
  No testpage in      -x (-i mode only)                                     
  automatic mode:                                                           
  To specify a CUPS   -n<printer> or --printer=<printer> (-i mode only)     
  printer queue                                                             
  name:                                                                     
  To specify a CUPS   -f<fax> or --fax=<fax> (-i mode only)                 
  fax queue name:                                                           
  Type of queue(s)    -t<typelist> or --type=<typelist>. <typelist>: print*,
  to install:         fax* (*default) (-i mode only)                        
  Bus to probe (if    -b<bus> or --bus=<bus>                                
  device not                                                                
  specified):                                                               
                      <bus>: usb*, net, par (*default)                      
  Set the language:   -q <lang> or --lang=<lang>. Use -q? or --lang=? to see
                      a list of available language codes.                   
  Set the logging     -l<level> or --logging=<level>                        
  level:                                                                    
                      <level>: none, info*, error, warn, debug (*default)   
  Run in debug mode:  -g (same as option: -ldebug)                          
  This help           -h or --help                                          
  information:                                                              

[SERIAL NO.|USB ID|IP|DEVNODE]
  USB bus:device      "xxx:yyy" where 'xxx' is the USB bus and 'yyy' is the 
  (usb only):         USB device. (Note: The ':' and all leading zeros must 
                      be present.)                                          
                      Use the 'lsusb' command to obtain this information.   
  IPs (network        IPv4 address "a.b.c.d" or "hostname"                  
  only):                                                                    
  DEVNODE (parallel   "/dev/parportX", X=0,1,2,...                          
  only):                                                                    
  SERIAL NO. (usb     "serial no."                                          
  and parallel                                                              
  only):                                                                    

Examples:
  Setup using GUI     $ hp-setup                                            
  mode:                                                                     
  Setup using GUI     $ hp-setup -b usb                                     
  mode, specifying                                                          
  usb:                                                                      
  Setup using GUI     $ hp-setup 192.168.0.101                              
  mode, specifying                                                          
  an IP:                                                                    
  One USB printer     $ hp-setup -i -a                                      
  attached,                                                                 
  automatic:                                                                
  USB, IDs            $ hp-setup -i 001:002                                 
  specified:                                                                
  Network:            $ hp-setup -i 66.35.250.209                           
  Network, Jetdirect  $ hp-setup -i --port=2 66.35.250.209                  
  port 2:                                                                   
  Parallel:           $ hp-setup -i /dev/parport0                           
  USB or parallel,    $ hp-setup -i US12345678A                             
  using serial                                                              
  number:                                                                   
  USB, automatic:     $ hp-setup -i --auto 001:002                          
  Parallel,           $ hp-setup -i -a -x /dev/parport0                     
  automatic, no                                                             
  testpage:                                                                 
  Parallel, choose    $ hp-setup -i -b par                                  
  device:                                                                   

Notes:
1. If no serial number, USB ID, IP, or device node is specified, the USB and parallel busses will be probed for devices.
2. Using 'lsusb' to obtain USB IDs: (example)
	$ lsusb
	Bus 003 Device 011: ID 03f0:c202 Hewlett-Packard
	$ hp-setup --auto 003:011
	(Note: You may have to run 'lsusb' from /sbin or another location. Use '$ locate lsusb' to determine this.)
3. Parameters -a, -n, -f, or -t are not valid in GUI (-u) mode.

See Also:
hp-makeuri
hp-probe

[root@localhost ~]# hp-check
-bash: hp-check: command not found
[root@localhost ~]# hp-check
-bash: hp-check: command not found
[root@localhost ~]# 

Jinak jsem v panice jeste fyzicky overil zda je tiskarna v poradku ,ve windows tiskne. Pak jsem nainstaloval Ubuntu a tez ihned tiskne ,ani jsem nebyl pripojen na internet a přes nabídku system-administrace-tiskarna nainstaloval tiskarnu,hned se nasla a po zmacknuti testovaci stranky se tiskarna dala do pohybu a vytiskla co mela v Ubuntu.Jinak nevim komu a jak co hlasit.Kazdopadne bych to radsi rozchodil ve Fedore,jsem na ni zvyklej od 7,co se snazim jako laik prejit od Windows k linuxu.

Koukam ze hp-setup ma uz zase jine parametry… no nic. Kopirovat sem help je opet zbytecne. Podivej se prosim do souboru /etc/pnm2ppa.conf a pokud tam nemas radek “version” bez znaku komentare “#” nazacatku, tak tam zkus na posledni radek dopsat “version 710”.

Problem jsem nahlasil jako https://bugzilla.redhat.com/show_bug.cgi?id=547369

Mimochodem jen pro informaci podle
http://hplipopensource.com/hplip-web/supported_devices/deskjet.html
tato tiskarna neni podporovana oficialnim ovladacem hplip, ale prave pouze pomoci pnm2ppa viz
http://www.linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_710C

V tom souboru je hash 720 a dále hash 710 aceptable ,takže tam je .
Ještě jsem sbíral a info a něco zkoušel viz zde:

[Vlada@localhost ~]$ su /
su: uživatel / neexistuje
[Vlada@localhost ~]$ clear

[Vlada@localhost ~]$ su -
Heslo:
[root@localhost ~]# usermod -a -G lp Vlada
[root@localhost ~]# lsmod | grep lp
drm_kms_helper 22700 1 nouveau
drm 135496 5 nouveau,ttm,drm_kms_helper
[root@localhost ~]# dmesg | grep -E ‘parport|lp’
On node 0 totalpages: 130943
Calibrating delay loop (skipped), value calculated using timer frequency… 2814.27 BogoMIPS (lpj=1407135)
parport_pc 00:09: reported by Plug and Play ACPI
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
parport0: Printer, HEWLETT-PACKARD DESKJET 710C
[root@localhost ~]# hp-setup -i -a -x /dev/parport0

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

Copyright © 2001-9 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.


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*) ? 2

Using connection type: par

error: Invalid device URI:
error: No device selected/specified or that supports this functionality.
[root@localhost ~]# hp-probe
warning: hp-probe should not be run as root/superuser.

HP Linux Imaging and Printing System (ver. 3.9.8)
Printer Discovery Utility ver. 4.1

Copyright © 2001-9 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.


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*) ? 2

Using connection type: par


DEVICE DISCOVERY

warning: No devices found on the ‘par’ bus. If this isn’t the result you are expecting,
warning: check to make sure your devices are properly connected and powered on.

Done.
[root@localhost ~]# hp-makeuri /dev/parport0

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

Copyright © 2001-9 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
[root@localhost ~]#

Ale dokud se ten bug nevyřeší,tak mam evidentně smolíka.Jinak zajimave bylo Ubuntu 10.4 na debianu,tiskarna mě tam šla hned a v SUSE 11.2 na rpm tez nesla .

Ubuntu ma stare baliky. Prosimte posli sem vypis prikazu
lpinfo -l -v

(ten vypis hp-* nastroju je podle me zbytecny, tahle tiskarna neni podporovana temito baliky).

Zde je výpis :


[root@localhost ~]# lpinfo -l -v
Device: uri = socket
        class = network
        info = AppSocket/HP JetDirect
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = scsi
        class = direct
        info = SCSI Printer
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = ipp
        class = network
        info = Internet Printing Protocol (ipp)
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = serial:/dev/ttyS0?baud=115200
        class = serial
        info = Serial Port #1
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = http
        class = network
        info = Internet Printing Protocol (http)
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = lpd
        class = network
        info = LPD/LPR Host or Printer
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = https
        class = network
        info = Internet Printing Protocol (https)
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = hp
        class = direct
        info = HP Printer (HPLIP)
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = smb
        class = network
        info = Windows Printer via SAMBA
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = hpfax
        class = direct
        info = HP Fax (HPLIP)
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = parallel:/dev/lp0
        class = direct
        info = HP DESKJET 710C LPT #1
        make-and-model = HP DESKJET 710C
        device-id = MFG:HEWLETT-PACKARD;MDL:DESKJET 710C;CMD:SCP,VLINK;CLASS:PRINTER;DESCRIPTION:Hewlett-Packard DeskJet 710 Series;  
        location = 
[root@localhost ~]# 

Jinak ještě zajímavý postřeh,F12 je na mem železe pěkně rychlá a svižná a Ubuntu 9.10 je supr propracovane,ale moje RAM 512 už na tu ubuntu grafiku nestačí .PC se seká ,ve Fedoře ne.

Prosim jeste se vratme k tomu souboru /etc/pnm2ppa.conf. To ze je na zacatku radku hash (#) znamena ze radek je bran jako komentar a tedy se nepouziva! Je potreba aby v tomto souboru existoval radek “version 710” bez hashe na zacatku. Pokud tam neni tak ho tam dopis nakonec souboru.
Pokud s tim mas nejaky problem pust prosim aspon tento prikaz:


echo "version 710" >> /etc/pnm2ppa.conf

Tak jsem to tam zadal.zde je výpis konzole:


[Vlada@localhost ~]$ su -
Heslo: 
[root@localhost ~]# echo "version 710" >> /etc/pnm2ppa.conf
[root@localhost ~]# 


zde je výpis toho souboru :

# Sample configuration file 
#
# This file will be automatically read upon startup if it is placed in
# /etc/pnm2ppa.conf
#
# uncomment entries by removing "#" to activate them.
#
#-----------set the printer model---------------------------
# YOU MUST CHOOSE ONE OF THE FOLLOWING, EVEN IF YOU DO NOTHING ELSE!
# 
# If there is more than one "version" entry activated, the last one
# will be used.   The printer version can also be set with the command line
# option e.g., "-v 720".

#version  720	# 710, 712, 722 also acceptable
#version  820
#version 1000


#--------control system log messages from pnm2ppa-------------------
# pnm2ppa issues progress and error messages to the system log (syslog).
# For security reasons, no  input from the user is ever sent to the syslog.
# The setting "silent 1" suppresses messages to the syslog.   The
# setting "verbose 1"  sends messages to the standard error stream (stderr)
# in addition to the syslog. (Note: on BeOS,  syslog messages are
# diverted to stderr; use "silent 1" to suppress them.)
# Note: the "silent 1" keyword is only accepted from the system 
# configuration  file (/etc/pnm2ppa.conf), and not from configuration files 
# specified  with the pnm2ppa option "-f".

#silent 1
#verbose 1

#---------set the margins of the printed page-------------------
# Margins: these are distances from the edges of the paper in
# "dots" ( 600 dots = 1 inch = 2.54 cm).   
# Nothing outside these margins will be printed. 
# Default values are give below;  uncomment  and change, if necessary. 
# (Older versions of pnm2ppa required larger left and right margins to avoid 
# printer failure with  "flashing lights", but this  problem is believed to 
# be solved)

#topmargin      10 
#bottommargin   150
#leftmargin     10
#rightmargin    10

#----------center the printer output on the paper-------------------
# Offsets: these are adjustments for centering the print correctly on the
# paper.   Units are dots (1/600 inch).   Add a positive number of dots to
# xoff to move the printed image  to the  right, relative to the paper.
# add to yoff to move it  down.   The helper program calibrate_ppa prints
# a test page to  check the offsets (see CALIBRATON.txt):
# usage: "calibrate_ppa --center | pnm2ppa --bw  - - | lpr -l
# Default values are:

#xoffset   160
#yoffset    50

#------------align the  black and color ink cartridges--------
# Color Offsets: these control alignment between the black  ink
# and color ink print cartridges.   This changes a little  whenever  you  
# replace an ink cartridge, so the default values are just approximate.
#
# Use "calibrate_ppa --align  | pnm2ppa --fd - - | lpr -l "
# to print a test page to help you adjust the color offsets.
#
# The first line checks horizontal alignment ColOffsX,: 
# The second line checks vertical alignment ColOffsY,: 
# The alignment  is correct if alignment patterns "0" is best.   
# If a diffent alignment pattern is best, add or subtract the  + or
# - value shown below it to ColOffsX or ColOffSy.
# 
# See CALIBRATION.txt for more details.
# Use "calibrate_ppa --test  | pnm2ppa --fd - - | lpr -l " to check your
# new settings.

#ColOffsX	0
#ColOffsY	0

#---------------"shearing" corrections-------------------------------------
# shearing correction (for bidirectional printing modes)
# if there is a horizontal offset between right-to-left and left-to-right
# sweeps of the print head, adjust these in units of 1"/600 (1 dot). 
# There are separate corrections colorshear and blackshear for the 
# color and black  print heads.  The third and fourth lines of the
# alignment test page (see above) tests these.   
# The setting is correct when alignments "0" are correct.
# Add or subtract the + or - number shown under the best-aligned  shearing
# alignment pattern.

#colorshear    0
#blackshear    0

#-------------blackness control-----------------------------
# this controls the density of black ink used. 
# valid blackness choices are 1 2 3 4; controls the
# density of black ink used: 1 (least ink), 2 (default), 4 (most).
# 0 = no black ink.   This affects black ink bordered by whitespace
# only  (e.g. text, but not black in color images)

#blackness 2   

#------------Color correct curve Gamma parameters-------------------------
# Gamma color correction values for Red, Green and Blue:
# (Note: a more effective method of color correction is to use
# a calibration file /etc/pnm2ppa.gamma, in which case these
# Gamma values will not be used.  See COLOR.html or COLOR.txt) 
# The pnm2ppa option --noGamma suppresses color correction.

# The  standard Gamma  enhancement  curve is 
# gEnh(i) = (int) ( pow ( (double) i / 256, Gamma ) * 256 ) 
# (i.e., 256 times ( i*(1.0/256)) to the power Gamma ),
# where (int) i is the ppm color intensity, in the range 0 - 255.
# positive values of Gamma enhance  (increase the intensity of)
# the corresponding color.   Gamma = 1.0 corresponds to no
# color correction, gEnh[i] = i.

# You can specify Gamma values as a decimal number for each primary color

#GammaR 1.0      # red enhancement
#GammaG 1.0      # green enhancement
#GammaB 1.0      # blue enhancement

# For use with the printed output of "pnm2ppa -g ",
# you can also specify Gamma values using the integer GammaIdx,
# which gives Gamma = 1.0 - 0.033 * GammaIdx :

#RedGammaIdx	0     
#GreenGammaIdx	0
#BlueGammaIdx	0

# Default papersize (only used for printing the color calibration
# test page with pnm2ppa -g).  
# Valid choices are: a4, letter, legal:

#papersize letter    # this is the default  
#papersize legal
#papersize a4

#-----------suppress bidirectional printing---------------------

# by default the printing sweeps are now bidirectional (unimode 0);
# to make  unidirectional printing (left-to-right) the default behavior,
# (unimode 1) uncomment the next line .  (The command line options --uni 
# and --bi override the default behavior).  You might wish to print 
# unidirectionally to avoid shearing effects in high-quality
# color images, for example)

#unimode 1

#=====================================================================
# the following are switches for debugging purposes only:
# set their values to 0 to switch off the corresponding ink type:

#black_ink 1
#color_ink 1
#cyan_ink 1
#magenta_ink 1
#yellow_ink 1
version 710

A zkousel si tisknout?

Ano,netiskne i nadale.Chova se to stale stejne.Fyzicky se nerozpohybuje.

Tak už to funguje.Udělal jsem to stažením Fedory 11,tam to funguje hned a následně dal preupgrade na Fedoru 12 ,podařilo se a tiskárna zůstala funkční.Následně jsem ještě učinil yum update a tiskárna zůstala stále funkční.Problem je tímto způsobem vyřešen.Každopadně děkuji za spolupráci zejména Covexovi.

No neni zac, ovsem kde je problem jsme nezjistili a ted uz to nemame jak otestovat, takze se obavam ze se chyba nevyresi. Podle me ale tedy musi byt nekde v konfiguraci tiskarny nebo pnm2ppa ovladace, protoze tyto soubory se pri aktuazliaci zpravidla nemazou… Snad ti to tedy vydrzi a nejaka dalsi aktualizaci ti to nesmaze…

No trosku jsem tu radil s Fedorou 10,11,12 ,Ubuntu 9.10 ,Mandriva 2010 a Suse 11.2 a to v takovem rozsahu,ze jsem si parkrat vyradil grub z provozu( mam jeste zachrane zbytky ve woknech,nepracuji v IT ani z dalky ,jen to mam jako hobby ) tak jsem rad,že jsem to vubec nejak zprovoznil.Pokud smazne,opet se ozvu :slight_smile: Hadam,ze skocim pak do fedory 14,kdyz mam ted tak krasne vyladenou 12.Kam jsem skocil z Fedory 10. Ted mam Fedoru 10 jeste na notebooku a mam strach upgradovat na 12.