[Solved] Debian 9 vs HP LaserJet Pro CP1025nw

Getting your soundcard to work, using Debian on non-i386 hardware, etc

[Solved] Debian 9 vs HP LaserJet Pro CP1025nw

Postby Rakon » 2018-12-30 15:58

Hi,

I have HP LaserJet Pro CP1025nw.
Debian is updated to latest components including "hplip" package.
After job is being sent to printer it's status immediately changes to "Stopped". Printer does not make any sounds.
I tried to remove "hplip" package and re-add the printer to system. No result.

What should I do? I have a Win10 machine and it works there just fine, without manually installing drivers from DVD or internet source.
Last edited by Rakon on 2019-01-06 17:25, edited 2 times in total.
User avatar
Rakon
 
Posts: 5
Joined: 2018-12-30 15:51

Re: Debian 9 vs HP LaserJet Pro CP1025nw

Postby Segfault » 2018-12-30 16:15

There are two ways to deal with it.
You could troubleshoot and fix the issue or you could call for qualified help. Which way you want to go?
Segfault
 
Posts: 905
Joined: 2005-09-24 12:24

Re: Debian 9 vs HP LaserJet Pro CP1025nw

Postby arochester » 2018-12-30 16:36

I use an HP Colour Laserjet CP1215.

Have you checked the size of the page you are trying to print?

I have to change US Legal to A4. Otherwise, it goes to the Print Queue and nothing happens.
arochester
 
Posts: 1510
Joined: 2010-12-07 19:55

Re: Debian 9 vs HP LaserJet Pro CP1025nw

Postby Rakon » 2018-12-30 17:03

Segfault wrote:There are two ways to deal with it.
You could troubleshoot and fix the issue or you could call for qualified help. Which way you want to go?

I would like to know where to look into (where are the logs I need) so people could help me. Is it fine?
Thanks in advance!

arochester wrote:I use an HP Colour Laserjet CP1215.

Have you checked the size of the page you are trying to print?

I have to change US Legal to A4. Otherwise, it goes to the Print Queue and nothing happens.

I tried default US Legal and A4 and also tried to "Test Page", they all was in queue as "Stopped" until I deleted the printer today.

P.S. printer is connected via Ethernet.
User avatar
Rakon
 
Posts: 5
Joined: 2018-12-30 15:51

Re: Debian 9 vs HP LaserJet Pro CP1025nw

Postby arochester » 2018-12-30 17:50

Have you got "Print Settings"? Is your printer Enabled?

https://dflinux.frama.io/thebeginnersha ... ig-printer
arochester
 
Posts: 1510
Joined: 2010-12-07 19:55

Re: Debian 9 vs HP LaserJet Pro CP1025nw

Postby Rakon » 2018-12-30 19:29

arochester wrote:Have you got "Print Settings"? Is your printer Enabled?

https://dflinux.frama.io/thebeginnersha ... ig-printer


I just tried "system-config-printer" package.
It has "Troubleshoot" menu option that I used, because after adding a printer, this "system-config-printer" had same "Stopped" statuses in queue a second after being "In Processing".
These are 2 screenshots of "system-config-printer" and troubleshooting's wizard result text file.
https://www.sendspace.com/file/ucef73 (use AdBlocker)
https://pastebin.com/R7M0gCYB
User avatar
Rakon
 
Posts: 5
Joined: 2018-12-30 15:51

Re: Debian 9 vs HP LaserJet Pro CP1025nw

Postby stevepusser » 2018-12-30 22:23

It's supposed to work with printer-driver-foo2zjs, but I don't know if the Stretch 2016 version of that supports your model.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Foliate 1.5.3, Minitube 3.1, wine-staging 4.12, Virtual Box 5.2.32 & 6.0.10, Pale Moon 28.6.1, Waterfox 56.2.12
User avatar
stevepusser
 
Posts: 11017
Joined: 2009-10-06 05:53

Re: Debian 9 vs HP LaserJet Pro CP1025nw

Postby llivv » 2018-12-31 14:26

check that you have these packages installed

cups
cups-client
foomatic-db
foomatic-db-engine
ghostscript
ghostccript-x
hpijs-ppds
libnet-cups-perl
openprinting-ppds
printer-driver-all

just keep using the Print Test Page to check if the printer works
if not delete the printer and find missing packages.

post what you get run with su or sudo:
Code: Select all
lpinfo -l -v
but just for your printer
should look something in the order
Code: Select all
Device: uri = socket://192.168.7.211
        class = network
        info = HP LaserJet 2200
        make-and-model = HP LaserJet 2200
        device-id = G:Hewlett-Packard;CMD:PJL,MLC,PCL,PCLXL,POSTSCRIPT;
        MDL:HP LaserJet 2200;CLS:PRINTER;DES:Hewlett-Packard LaserJet 2200;
        MEM:8MB
        location =

or this
Code: Select all
Device: uri = socket://192.168.7.235:9100
        class = network
        info = ENVY 4500 series
        make-and-model = HP ENVY 4500 series
        device-id = MFG:HP;MDL:ENVY 4500 series;CMD:PCL3GUI,PJL,Automatic,
                    JPEG,PCLM,AppleRaster,DW-PCL,802.11,DESKJET,DYN;
                    CLS:PRINTER;DES:A9T87B;CID:HPIJVIPAV4;LEDMDIS:USB#FF#CC#00,
                    USB#07#01#02,USB#FF#04#01;IPP-HTTP:T;IPP-E:
                    FF-CC-00,07-01-02,FF4-01;SN:CN56G332DT060D;
                    S:038080C484a01021002c1f3000ac2880014;J:;
                    Z:0102,05034ee800aaa8,0600,0c0,0e000c0000,0f01000000,
                    10000008000008,12000,147,150,16361a34ee000116da17d40001,
                    1700005a000000,180;
        location = Study

as examples
https://wiki.debian.org/PrintQueuesCUPS
https://wiki.debian.org/SystemPrinting
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.
User avatar
llivv
 
Posts: 5488
Joined: 2007-02-14 18:10
Location: cold storage

Re: Debian 9 vs HP LaserJet Pro CP1025nw

Postby Rakon » 2019-01-04 13:02

stevepusser wrote:It's supposed to work with printer-driver-foo2zjs, but I don't know if the Stretch 2016 version of that supports your model.

printer-driver-foo2zjs is already the newest version (20160902dfsg0-2+b1)

llivv wrote:check that you have these packages installed
.....
post what you get run with su or sudo:
Code: Select all
lpinfo -l -v
but just for your printer

Hi,
I installed missing packages from your list and rebooted my system.
It still marks tasks as "Stopped" a second after adding.
This is what "lpinfo -l -v" command shows:
Code: Select all
Device: uri = dnssd://HP%20LaserJet%20CP%201025nw._pdl-datastream._tcp.local/
        class = network
        info = HP LaserJet CP 1025nw
        make-and-model = Hewlett-Packard HP LaserJet CP 1025nw
        device-id = MFG:Hewlett-Packard;MDL:HP LaserJet CP 1025nw;
        location =

P.S. connecting same printer with USB cable works fine. It's just really not convenient.
User avatar
Rakon
 
Posts: 5
Joined: 2018-12-30 15:51

Re: Debian 9 vs HP LaserJet Pro CP1025nw

Postby shep » 2019-01-04 13:53

This thread is resulting in a bloated install.

The CP1025nw uses the ZjStream protocol and the http://foo2zjs.rkkda.com/ project provides an opensource ZjStream driver. This driver also requires firmware and there can be issues if HP has upgraded the firmware from 2016 - the checksum, hardcoded into the package, will not match..

HP wrote their own driver and bundled it into their HPLIP software. Unless you setup 2 printer queues, your printer install will only use one of the two drivers.

HP has introduced some newer ZjStream based printers and both HP and foo2zjs have released newer versions to support those printers. Stretch backports has the latest hplip driver but has neglected the foo2zjs package.

The leanest printer install would consist of just CUPs and foo2zjs. Select the CP1025nw (foo2zjs) driver in the web interface (localhost:631).
shep
 
Posts: 305
Joined: 2011-03-15 15:22

Re: Debian 9 vs HP LaserJet Pro CP1025nw

Postby Rakon » 2019-01-06 17:23

shep wrote:This thread is resulting in a bloated install.

The CP1025nw uses the ZjStream protocol and the http://foo2zjs.rkkda.com/ project provides an opensource ZjStream driver. This driver also requires firmware and there can be issues if HP has upgraded the firmware from 2016 - the checksum, hardcoded into the package, will not match..

HP wrote their own driver and bundled it into their HPLIP software. Unless you setup 2 printer queues, your printer install will only use one of the two drivers.

HP has introduced some newer ZjStream based printers and both HP and foo2zjs have released newer versions to support those printers. Stretch backports has the latest hplip driver but has neglected the foo2zjs package.

The leanest printer install would consist of just CUPs and foo2zjs. Select the CP1025nw (foo2zjs) driver in the web interface (localhost:631).

Thank you all!
What I did is:
1. I deleted hplip package. (left foo2zjs from Debian respositories installed)
2. Deleted all printers.
3. Opened http://localhost:631 and added a new discovered printer. When prompted for manufacturer, I chose "HP", then in the list of models I selected "HP LaserJet Pro CP1025nw Foomatic/foo2zjs-z3 (recommended) (en)"
Done! Printing! In color!
User avatar
Rakon
 
Posts: 5
Joined: 2018-12-30 15:51


Return to Hardware

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable