Ver Mensaje Individual
  #24 (permalink)  
Antiguo 19/10/2006, 14:03
jglorenzosqr
 
Fecha de Ingreso: octubre-2005
Mensajes: 778
Antigüedad: 19 años, 1 mes
Puntos: 1
Esta es el procedimiento que seguí para instalar el driver de la HP 1020 según el manual que me indicó :

# tar zxf foo2zjs.tar.gz
# cd foo2zjs
# make
#
# Dependencies...
#
# ... OK!
#
cd icc2ps; make all
make[1]: Entering directory `/home/atencion/foo2zjs/icc2ps'
make[1]: No se hace nada para `all'.
make[1]: Leaving directory `/home/atencion/foo2zjs/icc2ps'

# ./getweb 1020
--15:53:59-- http://foo2zjs.rkkda.com/sihp1020.tar.gz
=> `sihp1020.tar.gz'
Resolviendo foo2zjs.rkkda.com... 82.165.129.11
Conectando con foo2zjs.rkkda.com[82.165.129.11]:80... conectado.
Petición HTTP enviada, esperando respuesta... 200 OK
Longitud: 68,877 [application/x-tar]

100%[================================================== ===>] 68,877 730.83B/s ETA 00:00

15:55:48 (730.77 B/s) - `sihp1020.tar.gz' saved [68,877/68,877]

sihp1020.img

# make install
#
# Dependencies...
#
# ... OK!
#
cd icc2ps; make all
make[1]: Entering directory `/home/atencion/foo2zjs/icc2ps'
make[1]: No se hace nada para `all'.
make[1]: Leaving directory `/home/atencion/foo2zjs/icc2ps'
#
# Installation Dependencies...
#
# ... OK!
#
#
# Install driver, wrapper, and development tools
#
install -c foo2zjs zjsdecode arm2hpdl foo2hp okidecode foo2oak oakdecode foo2zjs-wrapper foo2oak-wrapper foo2hp2600-wrapper /usr/bin/
if [ " usb_printerid" != "" ]; then \
install -c usb_printerid /bin/; \
fi
#
# Install gamma correction files. These are just templates,
# and don't actually do anything right now. If anybody wants
# to tune them or point me at a process for doing that, please...
#
install -d /usr/share/foo2zjs/
install -c -m 644 gamma.ps /usr/share/foo2zjs/
install -c -m 644 gamma-lookup.ps /usr/share/foo2zjs/
install -d /usr/share/foo2oak/
install -d /usr/share/foo2hp/
#
# Install ICM to Postscript file conversion utility
#
cd icc2ps; make PREFIX=/usr install
make[1]: Entering directory `/home/atencion/foo2zjs/icc2ps'
install -c foo2zjs-icc2ps /usr/bin
make[1]: Leaving directory `/home/atencion/foo2zjs/icc2ps'
#
# Install extra files (ICM and firmware), if any exist here.
#
# Get files from the printer manufacturer, i.e. www.minolta-qms.com,
# or use the "./getweb" convenience script.
#
install -d /usr/share/foo2zjs/
# foo2zjs ICM files (if any)
install -olp -glp -m 775 -d /usr/share/foo2zjs/icm/
for i in DL*.icm CP*.icm km2430*.icm; do \
if [ -f $i ]; then \
install -c -m 644 $i /usr/share/foo2zjs/icm/; \
fi; \
done
# foo2zjs Firmware files (if any)
install -olp -glp -m 775 -d /usr/share/foo2zjs/firmware/
for i in sihp*.img; do \
if [ -f $i ]; then \
base=`basename $i .img`; \
./arm2hpdl $i >$base.dl; \
install -c -m 644 $base.dl /usr/share/foo2zjs/firmware/; \
fi; \
done
# foo2oak ICM files (if any)
install -olp -glp -m 775 -d /usr/share/foo2oak/icm/
# foo2hp ICM files (if any)
install -olp -glp -m 775 -d /usr/share/foo2hp/icm/
for i in hpclj26*.icm km2430*.icm; do \
if [ -f $i ]; then \
install -c -m 644 $i /usr/share/foo2hp/icm/; \
fi; \
done
#
# Install prebuilt CRD files (from m2300w project)
#
install -d /usr/share/foo2zjs/
install -olp -glp -m 775 -d /usr/share/foo2zjs/crd/
for i in crd/*.*; do \
install -c -m 644 $i /usr/share/foo2zjs/crd/; \
done
#
# Remove obsolete foomatic database files from previous versions
#
rm -f /usr/share/foomatic/db/source/opt/foo2zjs-Media.xml
rm -f /usr/share/foomatic/db/source/opt/foo2zjs-PaperSize.xml
rm -f /usr/share/foomatic/db/source/opt/foo2zjs-Source.xml
rm -f /usr/share/foomatic/db/source/opt/foo2zjs-DitherPPI.xml
#
# Install current database files
#
install -m 644 foomatic-db/driver/foo2hp.xml foomatic-db/driver/foo2oak.xml foomatic-db/driver/foo2zjs.xml /usr/share/foomatic/db/source/driver/
install -m 644 foomatic-db/printer/Generic-OAKT_Printer.xml foomatic-db/printer/Generic-ZjStream_Printer.xml foomatic-db/printer/HP-Color_LaserJet_1500.xml foomatic-db/printer/HP-Color_LaserJet_1600.xml foomatic-db/printer/HP-Color_LaserJet_2600n.xml foomatic-db/printer/HP-LaserJet_1000.xml foomatic-db/printer/HP-LaserJet_1005.xml foomatic-db/printer/HP-LaserJet_1018.xml foomatic-db/printer/HP-LaserJet_1020.xml foomatic-db/printer/HP-LaserJet_1022.xml foomatic-db/printer/Minolta-Color_PageWorks_Pro_L.xml foomatic-db/printer/Minolta-magicolor_2200_DL.xml foomatic-db/printer/Minolta-magicolor_2300_DL.xml foomatic-db/printer/Minolta-magicolor_2430_DL.xml /usr/share/foomatic/db/source/printer/
install -m 644 foomatic-db/opt/foo2hp-BitsPerPlane.xml foomatic-db/opt/foo2hp-ColorMode.xml foomatic-db/opt/foo2hp-Duplex.xml foomatic-db/opt/foo2hp-ICM.xml foomatic-db/opt/foo2hp-InputSlot.xmlfoomatic-db/opt/foo2hp-MediaType.xml foomatic-db/opt/foo2hp-Quality.xml foomatic-db/opt/foo2oak-BitsPerPlane.xml foomatic-db/opt/foo2oak-ColorMode.xml foomatic-db/opt/foo2oak-ICM.xml foomatic-db/opt/foo2oak-InputSlot.xml foomatic-db/opt/foo2oak-MediaType.xml foomatic-db/opt/foo2zjs-ColorMode.xml foomatic-db/opt/foo2zjs-Copies.xml foomatic-db/opt/foo2zjs-Duplex.xml foomatic-db/opt/foo2zjs-ICM.xml foomatic-db/opt/foo2zjs-InputSlot.xml foomatic-db/opt/foo2zjs-Intent.xml foomatic-db/opt/foo2zjs-MediaType.xml foomatic-db/opt/foo2zjs-NupOrient.xml foomatic-db/opt/foo2zjs-Nup.xml foomatic-db/opt/foo2zjs-PageSize.xml foomatic-db/opt/foo2zjs-PrinterType.xml foomatic-db/opt/foo2zjs-Quality.xml foomatic-db/opt/foo2zjs-Resolution.xml /usr/share/foomatic/db/source/opt/
#
# Clear foomatic cache and rebuild database if needed
#
rm -rf /var/cache/foomatic/*/*
rm -f /var/cache/foomatic/printconf.pickle
if [ -d /var/cache/foomatic/compiled ]; then \
cd /var/cache/foomatic/compiled; \
foomatic-combo-xml -O >overview.xml; \
fi
#
# Install PPD files for CUPS
#
if [ -d /usr/share/cups/model ]; then \
cd PPD; \
for ppd in *.ppd; do \
gzip < $ppd > /usr/share/cups/model/$ppd.gz; \
done; \
elif [ -d /usr/local/share/cups/model ]; then \
cd PPD; \
for ppd in *.ppd; do \
gzip < $ppd > /usr/local/share/cups/model/$ppd.gz; \
done; \
fi
#
# Install manual pages
#
install -d -m 755 /usr/share/man
install -d -m 755 /usr/share/man/man1/
install -c -m 644 foo2zjs.1 /usr/share/man/man1/
install -c -m 644 foo2zjs-wrapper.1 /usr/share/man/man1/
install -c -m 644 zjsdecode.1 /usr/share/man/man1/
install -c -m 644 foo2oak.1 /usr/share/man/man1/
install -c -m 644 foo2oak-wrapper.1 /usr/share/man/man1/
install -c -m 644 oakdecode.1 /usr/share/man/man1/
install -c -m 644 foo2hp.1 /usr/share/man/man1/
install -c -m 644 foo2hp2600-wrapper.1 /usr/share/man/man1/
#
# Install documentation
#
install -d -m 755 /usr/share/doc/foo2zjs/
install -c -m 644 manual.pdf /usr/share/doc/foo2zjs/
install -c -m 644 COPYING /usr/share/doc/foo2zjs/
install -c -m 644 INSTALL /usr/share/doc/foo2zjs/
install -c -m 644 INSTALL.osx /usr/share/doc/foo2zjs/
install -c -m 644 README /usr/share/doc/foo2zjs/
install -c -m 644 ChangeLog /usr/share/doc/foo2zjs/
#
# If you use CUPS, then restart the spooler:
# make cups
#
# Now use your printer configuration GUI to create a new printer.
#
# On Redhat 7.2/7.3/8.0/9.0 and Fedora Core 1/2/3, run "printconf-gui".
# On Mandrake, run "printerdrake"
# On Suse 9.0, run "yast"
# On Ubunto 5.10, run "gnome-cups-manager"

# make install-hotplug
[ -d /etc/hotplug/usb ] || install -d -m 755 /etc/hotplug/usb/
install -c -m 755 hplj1000 /etc/hotplug/usb/
ln -sf /etc/hotplug/usb/hplj1000 /etc/hotplug/usb/hplj1005
ln -sf /etc/hotplug/usb/hplj1000 /etc/hotplug/usb/hplj1018
ln -sf /etc/hotplug/usb/hplj1000 /etc/hotplug/usb/hplj1020
/etc/hotplug/usb/hplj1000 install-usermap
/etc/hotplug/usb/hplj1005 install-usermap
/etc/hotplug/usb/hplj1018 install-usermap
/etc/hotplug/usb/hplj1020 install-usermap
if [ -d /etc/udev/rules.d ]; then \
install -c -m 644 hplj10xx.rules /etc/udev/rules.d/11-hplj10xx.rules; \
fi

# make cups
if [ -x /etc/init.d/cups ]; then \
/etc/init.d/cups restart; \
elif [ -x /etc/init.d/cupsys ]; then \
/etc/init.d/cupsys restart; \
elif [ -x /etc/init.d/cupsd ]; then \
/etc/init.d/cupsd restart; \
elif [ -x /usr/local/etc/rc.d/cups.sh ]; then \
/usr/local/etc/rc.d/cups.sh restart; \
elif [ -x /usr/local/etc/rc.d/cups.sh.sample ]; then \
cp /usr/local/etc/rc.d/cups.sh.sample /usr/local/etc/rc.d/cups.sh; \
/usr/local/etc/rc.d/cups.sh restart; \
fi
Deteniendo sistema de impresión CUPS: [FALLÓ ]
Añadiendo dispositivo loopback a la tabla de ruteo ...
Iniciando el sistema de impresión CUPS: [ OK ]

# printerdrake
cupsd (pid 25622) está corriendo...
Deteniendo sistema de impresión CUPS: [ OK ]
lpstat: Unable to connect to server: Connection timed out
Use of uninitialized value in pattern match (m//) at /usr/bin/foomatic-configure line 1330.

Como el Administrador de Impresion también tenia una impresora instalada, predeterminada que esta conectada en otro equipo en la red, al intentar imprimir desde openoffice o un browser, la misma se quedaba colgada y no imprimia nada.