Re: Hp Laserjet P1102 Driver Linux

2 views
Skip to first unread message
Message has been deleted

Ronald

unread,
Jul 15, 2024, 9:47:09 AM7/15/24
to mcewdisnupe

So, I've installed every possible thing for printer, started cups in browser, added my printer etc.
But under administration tab, where I need to enter a connection with provided examples, I get lost completely:

OK, I got it running by providing socket://myhostname in connection field.
But now when I try to print a page it simply says "printer is busy" and that's it, nothing more.
(I connect my laserjet via usb cable by the way)

hp laserjet p1102 driver linux


DESCARGAR https://lpoms.com/2yOTH1



Finally got it working.
First you need to run "hp-setup" or "hp-plugin" utility from hplip package. This utility ("hp-setup") downloads the needed proprietary driver for Laserjet Pro p1102, extracts it and installs, then it installs printer and does all the other necessary stuff ("hp-plugin" just downloads, extracts and installs the driver). Then you can finally add a printer via CUPS.
That is it. Now you're ready to print.

The common error that may occur while downloading the proprietary driver with "hp-setup" or "hp-plugin" is extraction stage. It is all due to python3, python 2.7 bindings in the system. "hp-setup""hp-plugin" use python 2.7 while all modern arch systems are binded to use python3. To fix this simply "ln -s /usr/bin/python2.7 /usr/bin/python".

Don't forget to put "cupsd" into your daemons array and "lp" to your modules in rc.conf.
I also didn't blacklist "usblp", just in case.
And final note, don't forget to add "yourself" to sys group with:

Just installed Kubuntu 18.x on my laptop. FWIW I'm dual booting with Windows 10, printer is working fine. There is a basic CUPS driver but the printer isn't responding too well. I see four different options for HP drivers when I ask Kubuntu to install the printer. Not sure which one I should use. Is there a guide to installing laserjets with linux drivers somewhere?

FWIW none of the drivers that I chose (I chose one HPCUPS and one HPIJS driver) gave me a responsive printer. After the printer was installed, I went to print a test page and nothing was printed. At least with the generic CUPS driver, I was able to get a test page, but no document was printed.

Thanks for your assistance. I went into the Konsole and was able to install the drivers you linked me to, but still nothing is being printed. I can install the printer, but whenever I try to print a test page, the error message (in the cue, the column on the far right) simply says "Failed." I found instructions on how to access the terminal online, I rebooted, allowed the whatever to install all the dependencies.

Not too sure what the problem is. I would never have installed another OS on my laptop if I thought I couldn't print. I ran Kubuntu & Ubuntu from a flash drive before doing this and I was able to print a test page, and IIRC some print jobs as well.

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

Where were you after this ? We do not ask people to launch a command, and let them in the black hole after. Some customer may be following the thread. So I will ask you one more time, as I have the same problem on Ubuntu 18.04-3.

khunphil, thanks for posting that link. I was able to follow the instructions (I think!) and for the first time since installing linux on a partition on my laptop last month, i was able to do more than print a test page. I will watch this over the next day or two, to see if this continues, and then I'll mark your post as the solution. But a big thanks, regardless!

I have a laser printer (Samsung ML-2010) that is in good condition, it works in Windows and old linuxes, but not with my fresh installation of ArchLinux. The printer is recognised and configured, but not printing, saying about any job:

For the benefit of anyone seeing this error message in 2019, a possible cause is an incompatibility between older versions of cups-filters and recent versions of ghostscript. Upgrading the former or downgrading the latter resolves the issue.

Note that upgrades to cups-filters were not released for some platforms (e.g. Raspbian Stretch on the Raspberry Pi) until mid-June 2019, so if this did not work in the past try sudo apt update && sudo apt upgrade again.

For users of the Raspberry Pi and possibly certain other Debian-based platforms that experienced this issue in May-June 2019, the problem was that ghostscript and libgs9 were upgraded two or three weeks before the upgraded versions of cups-browsed, cups-filters, cups-filters-core-drivers, libcupsfilters1, and libfontembed1 were made available in the Raspbian repos. Running sudo apt update && sudo apt upgrade again on or after June 14, 2019 should hopefully fix the problem.

I just solved a problem very similar to this. It was caused by the spring 2019 Debian upgrade. To solve it, I added "oldstable" to my Debian sources.list and then I was able to downgrade several packages. I downgraded:

Samsung_M2020_Series.ppd is a PostScript Printer Description using cups-filters (CUPS-PPD), in its particular case a cups-filter named rastertospl. This cups-filter is provided and installed by the Samsung Print Driver for Linux at /opt/smfp-common/printer/bin/rastertospl (discoverable for CUPS/the OS printing infrastructure via the installer-created symlink /usr/lib/cups/filter/rastertospl).

Using apt-file search libcupsimage.so.2 shows that libcupsimage.so.2 is provided with the Debian package libcupsimage2]( ). Since installing it with sudo apt install libcupsimage2 I can succesfully print.

root@GL-MT300N-V2:/# dmesg grep usb
[ 4.923139] usbcore: registered new interface driver usbfs
[ 4.928882] usbcore: registered new interface driver hub
[ 4.934407] usbcore: registered new device driver usb
[ 5.027431] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
[ 5.034266] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
[ 5.234801] usbcore: registered new interface driver usb-storage
[ 5.244136] usbcore: registered new interface driver uas
[ 20.618718] usbcore: registered new interface driver cdc_acm
[ 20.685398] usbcore: registered new interface driver cdc_wdm
[ 20.805670] usbcore: registered new interface driver ipheth
[ 21.617430] usbcore: registered new interface driver usblp
[ 21.697974] usbcore: registered new interface driver usbserial
[ 21.704069] usbcore: registered new interface driver usbserial_generic
[ 21.710771] usbserial: USB Serial support registered for generic
[ 22.046864] usbcore: registered new interface driver cdc_ether
[ 22.068778] usbcore: registered new interface driver cdc_ncm
[ 22.084900] usbcore: registered new interface driver cp210x
[ 22.090636] usbserial: USB Serial support registered for cp210x
[ 22.115193] usbcore: registered new interface driver huawei_cdc_ncm
[ 22.206047] usbcore: registered new interface driver qmi_wwan
[ 22.216748] usbcore: registered new interface driver rndis_host
[ 22.227263] usbcore: registered new interface driver sierra
[ 22.232999] usbserial: USB Serial support registered for Sierra USB modem
[ 22.244106] usbcore: registered new interface driver sierra_net
[ 22.260164] usbcore: registered new interface driver option
[ 22.266000] usbserial: USB Serial support registered for GSM modem (1-port)
[ 96.042264] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 96.269156] usblp 1-1:1.0: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x03F0 pid 0x002A
[ 97.860667] usblp0: removed

Cups is a little heavy, but on general it is the solution to choose.
Since the driver tries to provide cheap implemented functions to communicate between Linux and the printer, cups using (often, there are more ways) the PPD from Windows, where the cheap programmers have more experience in crappy implementation.

So if the driver is not installed, the USB ID (vid 0x03F0 pid 0x002A) is tried to assign to usblp0, but no driver available and it is released immediately. The system is reacting as designed, it is not a bug.

According to the last post in this thread, the issue seems to be that the HP P1102 is a host-based printer that requires processing by the host (e.g., Windows, Linux) that basic p910nd does not provide:

Hi I have the LJ P1102 which is USB only. I would like to connect it to a Router with a USB port that support printing (It has a built-In Printer server). However, All I tried has failed and I'm unable to print. It looks as if the router does not...

thanks for this pointer, I had a look in HP website and found the driver page -laserjet-professional-p1102-printer , though the issue now is how to run the 30 MB app in the tiny mango router. I suppose I should have suspected there is a little bit extra software required other than just kmod-usb-printer and the p910nd, the reason why debian-based laptop worked but the router did not.

en que distribucion de linux se basa endless, cual es su version para poder buscar el controlado adecuado.
controlador de impresora hp p1102w cual es el controlador adecuado para que funcione impresora hp p1102w.

El problema con esto, adems del hecho que la pgina no menciona claramente de qu plug-in se trata, es que dependiendo de cmo deba instalarse es posible que no sea compatible con Endless: por ejemplo, si requiere instalarse en cualquier parte de /usr entonces no sera posible, ya que esa zona de Endless OS es de slo lectura.

Sin embargo, dicha pgina no hace referencia al modelo exacto (p1102w) con lo cual podra todava funcionar, pero para saber ello habra que probar a instalar el plug-in al que hace referencia el enlace de hplipopensource.com.

En resumen, si nos fiamos de OpenPrinting.org parece que ese modelo concreto no estara soportado a pesar de que Endless proporciona una versin actualizada de los drivers HPLip. De querer investigarlo personalmente, tendras que mirar cual es ese plug-in que se sugiere instalar en hplipopensource.com y ver si es posible instalarlo en Endless y, de ser el caso, probar a ver si funciona.

d3342ee215
Reply all
Reply to author
Forward
0 new messages