HP LaserJet Pro P1102 / P1102w :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
Stuck in "processing"
Posted by: bradsk88 ()
Date: October 27, 2019 01:53AM

I'm attempting to print to my HP P1102w from Arch Linux

# uname -r
5.3.7-arch1-1-ARCH


The printer is connected to an Asus RT-N16 router via USB. (I find the printer's onboard wifi annoying due to the fact that it forgets the WPA2 password when disconnected from power.)

# nmap 192.168.1.1
Starting Nmap 7.80 ( https://nmap.org ) at 2019-10-26 23:49 CST
Nmap scan report for router.asus.com (192.168.1.1)
Host is up (0.0042s latency).
Not shown: 995 closed ports
PORT     STATE SERVICE
53/tcp   open  domain
80/tcp   open  http
515/tcp  open  printer
9100/tcp open  jetdirect
9998/tcp open  distinct32
MAC Address: 60:A4:4C:66:BB:8E (Asustek Computer)

Nmap done: 1 IP address (1 host up) scanned in 0.52 seconds


I followed the guide on the foo2zjs home page from start to finish and added my printer via the lpadmin commands provided.

# lpadmin -p "1102w" -v "http://192.168.1.1"; -E -P /usr/share/cups/model/HP-LaserJet_Pro_P1102w.ppd.gz 
# lpadmin -d "1102w"


When I try to print a test page via the CUPS local web interface, it sets the printer status to "processing: Connected to printer" but nothing prints.

It eventually times out and changes to "Unable to get printer status".

There is no output from the following command and nothing is printed:

# foo2zjs-wrapper -p letter -P -z2 -L0 testpage.ps > xxx.prn


What additional steps can I do to troubleshoot this?



Edited 1 time(s). Last edit at 10/27/2019 01:57AM by bradsk88.

Options: ReplyQuote
Re: Stuck in "processing"
Posted by: rickrich ()
Date: October 27, 2019 04:45AM

Have you read "HP SMART INSTALL NOTES" in the INSTALL doc?
HP SMART INSTALL NOTES
----------------------
    The printers HP LaserJet Pro M12a, HP LaserJet Pro P1102,
    HP LaserJet Pro CP1025, and simliar models have a virtual CD-ROM
    (a fake USB CD drive) in USB mode.  You can disable this three ways:

    Method 1:
        NOTE: this is a non-open-source method!
        - Connect the printer to a Windows PC and turn it on.
          The fake CD-ROM appears on Windows.
        - Insert the original Driver CD that ships with the printer
        - Run SIUtility.exe or SIUtility64.exe from the UTIL folder and
          COMPLETELY DISABLE THIS "HP SMART INSTALL" FEATURE.

    Method 2:
        - Install usb_modeswitch and usb_modeswitch-data from your distro's
          repository. I.E.:
            # dnf install usb_modeswitch usb_modeswitch-data
          OR
            $ sudo apt-get install usb-modeswitch-data
          OR
            Surf to: http://www.draisberghof.de/usb_modeswitch/
        - Power cycle the printer.

    Method 3:
        NOTE: this is a non-open-source method!
        - Execute:
            $ wget http://hplipopensource.com/hplip-web/smartinstall/\
                SmartInstallDisable-Tool.run
            $ sh SmartInstallDisable-Tool.run
        OR (2016 and later):
        - Execute:
            https://web.archive.org/web/20160316030640/http://hplipopensource.com/hplip-web/smartinstall/SmartInstallDisable-Tool.run
            $ sh SmartInstallDisable-Tool.run

Options: ReplyQuote
Re: Stuck in "processing"
Posted by: rickrich ()
Date: October 29, 2019 10:15AM

$ cd foo2zjs

$ foo2zjs-wrapper -P -z2 -L0 testpage.ps > xxx

$ ll xxx
-rw-rw-r--. 1 rick rick 90655 Oct 29 09:03 xxx

$ lpstat  -a p1102w
p1102w accepting requests since Sun 27 Oct 2019 02:47:19 PM CDT

$ nc 192.168.1.15 9100 <xxx
@PJL INFO STATUS
CODE=10001
DISPLAY=""
ONLINE=TRUE

@PJL USTATUS DEVICE
CODE=10023
DISPLAY=""
ONLINE=TRUE

@PJL USTATUS JOB
START

$

Works good here.

Options: ReplyQuote


Sorry, only registered users may post in this forum.
This forum powered by Phorum.