Hp laserjet 1010 драйвер linux

Hp laserjet 1010 драйвер linux

Cheap, compact desktop laser printer, foldable tray for 150 sheets, A4/Letter/Legal, up to 12 pages/min.

HP classifies this printer as «host-based» whereas they claim the HP LaserJet 1015 to understand PCL 5e. But the HP LaserJet 1010 and 1012 seem to understand a stripped-down (raster-graphics only, no text) variant of PCL 5e.

Rick Richardson (rickr at mn dot rr dot com), author of the «foo2zjs» driver (driver for the HP LaserJet 1000/1005), has examined the output of the Windows driver for this printer and found out that the language looks like PJL + PCL 6 (see report on the HP forum on OpenPrinting).

Adam (madaman at web dot de) reports on the HP forum on OpenPrinting that the HP LaserJet 1010 works for him with all raster drivers for the HP LaserJet 1100 (HPLIP, «ljet4», «lj4dith», «gimp-print»). Adam tried also PCL-6 drivers («lj5gray», «pxlmono») but without success.

Unfortunately, the new LaserJet 1010/1012 series seems not to be absolutely compatible with older HP printers or it has a firmware bug. Sometimes it happens that the printer stops working and reports the error «Unsupported Personality: PCL«. It only continues working when one kills the job and power-cycles the printer.

The problem of the «Unsupported Personality: PCL» was finally solved by Carl Michal (michal at physics dot ubc dot ca). By analyzing the output of the Windows driver he found out that after the BeginSession operator in the beginning of a PCL 6 job a special sequence of 8 bytes has to be added. He added it by a filter to the output of Ghostscript’s «pxlmono» driver and from then on the printer worked (Implemented as the «pxl1010» driver on this site).

Consumables/Refills: Toner and drum in one cartridge (18000 pages)

Drivers

The following driver(s) are known to drive this printer:

Источник

Подключение принтера HP LJ 1010/1015/1018/1020 в Linux Debian(Ubuntu) c CUPS 1.4 и выше

При обновлении версии CUPS возникла проблемма его несовместимости с загруженным модулем usbpl, необходимый для загрузки firmware в принтер. При их одновременной работе возникает конфликт на шине usb(одновременное обращение), отражающееся в логах системы /var/log/syslog следующим образом:
————————
Jul 1 02:18:57 kernel: [ 3115.009361] usb 1-2.5: usbfs: interface 0 claimed by usblp while ‘usb’ sets config #1
————————
Вариант решения данной проблемы:
— Загрузить модуль сразу после включения принтера
— Выгрузить модуль сразу после заливки filmware

Читайте также:  Linux посмотреть размер раздела

Для этого делаем следующее:

0) Отключаем принтер
1) Установим необходимые пакеты

 aptitude install cupsys gs-esp foomatic-bin foo2zjs cups-pdf 
 wget http://foo2zjs.rkkda.com/firmware/sihp1018.tar.gz tar xvzf sihp1018.tar.gz arm2hpdl sihp1018.img > sihp1018.dl cp sihp1018.dl /usr/share/foo2zjs/firmware cp sihp1018.img /usr/share/foo2zjs/firmware cp sihp1018.dl /lib/firmware/hp cp sihp1018.img /lib/firmware/hp 
 vi /etc/udev/rules.d/11-hplj10xx.rules 
#Own udev rule for HP Laserjet 1018 SUBSYSTEM=="usb", ENV=="usb_device", ATTRS=="03f0", ATTRS=="4117", RUN+="modprobe usblp" 

4) Перезагружаем диспетчер устройств udev

5) Редактируем сценарий foo2zjs, выполняющийся при обнаружении принтера (отключаем модуль ядра usbpl сразу после загрузки firmware). Имя файла зависит от модели вашего принтера!(для 1000/1005/1018/1020 — /usr/sbin/hplj1018 )

# # Procedure to load a single device with firmware # load1() < _dev="$1" fw="$FWDIR/sihp$FWMODEL.dl" if [ ! -f "$fw" ]; then log "Missing HP LaserJet $MODEL firmware file $fw" log ". read foo2zjs installation instructions and run ./getweb $MODEL" return 1 fi log "loading HP LaserJet $MODEL firmware $fw to $_dev . " # There is a timeout problem with udev and FC4, so spin it off. ( if cat $fw >$_dev; then log ". download successful." sleep 15 rmmod usblp # Отключаем usblp log " . kernel module usblp disable now. " else log ". download failed." fi ) & return 0 > # # OK, now download firmware to any printers that need it # if [ "$DEV" != "" ]; then # # force downloading to a specific device # load1 "$DEV" elif [ -x $PRINTERID ]; then # # Sniff around for printers that need a firmware download # usblps=`find /dev/usb -name 'lp*'`" "`find /dev -name 'usblp*'` for dev in $usblps; do status=`$PRINTERID $dev 2>/dev/null | grep -y "hp LaserJet $MODEL"` if [ "$status" != "" ]; then # This is a LaserJet 100x chmod 0666 $dev status=`$PRINTERID $dev | grep 'FWVER'` if [ "$status" = "" ]; then # Firmware is not yet loaded load1 "$dev" else log "HP LaserJet $MODEL firmware already loaded into $dev" sleep 15 rmmod usblp # Отключаем usblp log " . kernel module usblp disable now. " fi fi done else log "HP LaserJet $MODEL firmware was not downloaded. " log ". couldn't find $PRINTERID and DEV is not set" fi 

изменение сводится к добавлению строк

 sleep 15 rmmod usblp log " . kernel module usblp disable now. " 

6) Включаем принтер и смотрим логи

при корректной работе в них будет следующее:
———————
Jul 1 01:56:12 kernel: [ 1749.871946] CE: hpet increased min_delta_ns to 20113 nsec
Jul 1 02:18:39 kernel: [ 3097.400294] usb 1-2.5: new high speed USB device number 8 using ehci_hcd
Jul 1 02:18:40 kernel: [ 3097.512010] usb 1-2.5: New USB device found, idVendor=03f0, idProduct=4117
Jul 1 02:18:40 kernel: [ 3097.512084] usb 1-2.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 1 02:18:40 kernel: [ 3097.512098] usb 1-2.5: Product: HP LaserJet 1018
Jul 1 02:18:40 kernel: [ 3097.512109] usb 1-2.5: Manufacturer: Hewlett-Packard
Jul 1 02:18:40 kernel: [ 3097.512120] usb 1-2.5: SerialNumber: KP03QAY
Jul 1 02:18:40 mtp-probe: checking bus 1, device 8: «/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.5»
Jul 1 02:18:40 mtp-probe: bus: 1, device: 8 was not an MTP device
Jul 1 02:18:40 udev-configure-printer: add /devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.5/1-2.5:1.0
Jul 1 02:18:40 udev-configure-printer: parent devpath is /devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.5
Jul 1 02:18:40 udev-configure-printer: Device vendor/product is 03F0:4117
Jul 1 02:18:40 udev-configure-printer: MFG:Hewlett-Packard MDL:HP LaserJet 1018 SERN:- serial:KP03QAY
Jul 1 02:18:40 kernel: [ 3097.779667] usblp1: USB Bidirectional printer dev 8 if 0 alt 0 proto 2 vid 0x03F0 pid 0x4117
Jul 1 02:18:40 kernel: [ 3097.781597] usbcore: registered new interface driver usblp
Jul 1 02:18:40 udev-configure-printer: add /devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.5/1-2.5:1.0/usb/lp1
Jul 1 02:18:41 kernel: [ 3098.989429] usb 1-2.5: usbfs: interface 0 claimed by usblp while ‘usb’ sets config #1
Jul 1 02:18:43 /usr/sbin/hplj1018: foo2zjs: loading HP LaserJet 1018 firmware /lib/firmware/hp/sihp1018.dl to /dev/usb/lp1 .
Jul 1 02:18:43 /usr/sbin/hplj1018: foo2zjs: . download successful.
Jul 1 02:18:56 udev-configure-printer: parent devpath is /devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2.5
Jul 1 02:18:56 udev-configure-printer: MFG:Hewlett-Packard MDL:HP LaserJet 1018 SERN:- serial:KP03QAY
Jul 1 02:18:57 kernel: [ 3115.009361] usb 1-2.5: usbfs: interface 0 claimed by usblp while ‘usb’ sets config #1
Jul 1 02:18:58 kernel: [ 3116.139386] usbcore: deregistering interface driver usblp
Jul 1 02:18:58 kernel: [ 3116.139675] usblp1: removed
Jul 1 02:18:58 /usr/sbin/hplj1018: foo2zjs: . kernel module usblp disable now.
———————

Читайте также:  Linux what is meta key

Источник

HP Customer Support — Software and Driver Downloads

HP can identify most HP products and recommend possible solutions.

Search help

Tips for better search results

  • Ensure correct spelling and spacing — Examples: «paper jam»
  • Use product model name: — Examples: laserjet pro p1102, DeskJet 2130
  • For HP products a product number. — Examples: LG534UA
  • For Samsung Print products, enter the M/C or Model Code found on the product label. — Examples: “SL-M2020W/XAA”
  • Include keywords along with product name. Examples: «DeskJet 3630 paper jam», «EliteBook 840 G3 bios update»

Need help finding your product name or product number?

Serial Number

hp-share-print-widget-portlet

Windows 7, 8, 8.1, Server 2008, 2008R2 printer drivers. End of Support. HP no longer supports these printer drivers as of Nov 1, 2022. HP recommends upgrading your operating system to a supported version Learn more

Need Windows 11 help? Check the information on compatibility, upgrade, and available fixes from HP and Microsoft. Windows 11 Support Center

hp-miscellaneous-portlet

hp-product-information-portlet

HP LaserJet 1010 Printer

Software and drivers for

HP LaserJet 1010 Printer

Choose a different OS

hp-software-driver-metadata-portlet

Download and Install Assistant

For the best results we recommend you use our download and install assistant.

Download and Install Assistant

HP Support Solutions is downloading

Download and Install Assistant

Solution and Diagnostic Data Collection

This product detection tool installs software on your Microsoft Windows device that allows HP to detect and gather data about your HP and Compaq products to provide quick access to support information and solutions. Technical data is gathered for the products supported by this tool and is used to identify products, provide relevant solutions and automatically update this tool, to improve our products, solutions, services, and your experience as our customer.

Читайте также:  No bootable device kali linux

Note: This tool applies to Microsoft Windows PC’s only. This tool will detect HP PCs and HP printers.

  • Operating system
  • Browser version
  • Computer vendor
  • Product name/number
  • Serial number
  • Connection port
  • Driver/device description
  • Computer and/or printer configuration
  • Hardware and software diagnostics
  • HP/Non-HP ink and/or HP/Non-HP Toner
  • Number of pages printed

Installed Software Details:

Removing Installed Software:

  • Operating System — Windows 7, Windows 8, Windows 8.1, Windows 10
  • Browser — Google Chrome 10+, Internet Explorer (IE)10.0+, and Firefox 3.6.x, 12.0+

Источник

HP Customer Support — Software and Driver Downloads

HP can identify most HP products and recommend possible solutions.

hp-hero-support-search

Search help

Tips for better search results

  • Ensure correct spelling and spacing — Examples: «paper jam»
  • Use product model name: — Examples: laserjet pro p1102, DeskJet 2130
  • For HP products a product number. — Examples: LG534UA
  • For Samsung Print products, enter the M/C or Model Code found on the product label. — Examples: “SL-M2020W/XAA”
  • Include keywords along with product name. Examples: «LaserJet P1007 paper jam», «HP 280 G2 Microtower bios update»

Need help finding your product name or product number?

Serial Number

hp-share-print-widget-portlet

Need Windows 11 help? Check the information on compatibility, upgrade, and available fixes from HP and Microsoft. Windows 11 Support Center

hp-miscellaneous-portlet

hp-product-information-portlet

HP LaserJet 1010 Printer

Software and drivers for

HP LaserJet 1010 Printer

Choose a different OS

hp-software-driver-metadata-portlet

Download and Install Assistant

For the best results we recommend you use our download and install assistant.

Download and Install Assistant

HP Support Solutions is downloading

Download and Install Assistant

Solution and Diagnostic Data Collection

This product detection tool installs software on your Microsoft Windows device that allows HP to detect and gather data about your HP and Compaq products to provide quick access to support information and solutions. Technical data is gathered for the products supported by this tool and is used to identify products, provide relevant solutions and automatically update this tool, to improve our products, solutions, services, and your experience as our customer.

Note: This tool applies to Microsoft Windows PC’s only. This tool will detect HP PCs and HP printers.

  • Operating system
  • Browser version
  • Computer vendor
  • Product name/number
  • Serial number
  • Connection port
  • Driver/device description
  • Computer and/or printer configuration
  • Hardware and software diagnostics
  • HP/Non-HP ink and/or HP/Non-HP Toner
  • Number of pages printed

Installed Software Details:

Removing Installed Software:

  • Operating System — Windows 7, Windows 8, Windows 8.1, Windows 10
  • Browser — Google Chrome 10+, Internet Explorer (IE)10.0+, and Firefox 3.6.x, 12.0+

Источник

Оцените статью
Adblock
detector