Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] Debian 9 vs HP LaserJet Pro CP1025nw

Need help with peripherals or devices?
Post Reply
Message
Author
User avatar
Rakon
Posts: 5
Joined: 2018-12-30 15:51

[Solved] Debian 9 vs HP LaserJet Pro CP1025nw

#1 Post by Rakon »

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.

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Debian 9 vs HP LaserJet Pro CP1025nw

#2 Post by Segfault »

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?

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: Debian 9 vs HP LaserJet Pro CP1025nw

#3 Post by arochester »

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.

User avatar
Rakon
Posts: 5
Joined: 2018-12-30 15:51

Re: Debian 9 vs HP LaserJet Pro CP1025nw

#4 Post by Rakon »

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

#6 Post by Rakon »

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
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Debian 9 vs HP LaserJet Pro CP1025nw

#7 Post by stevepusser »

It's supposed to work with printer-driver-foo2zjs, but I don't know if the Stretch 2016 version of that supports your model.
MX Linux packager and developer

User avatar
llivv
Posts: 5340
Joined: 2007-02-14 18:10
Location: cold storage

Re: Debian 9 vs HP LaserJet Pro CP1025nw

#8 Post by llivv »

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
Rakon
Posts: 5
Joined: 2018-12-30 15:51

Re: Debian 9 vs HP LaserJet Pro CP1025nw

#9 Post by Rakon »

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.

shep
Posts: 423
Joined: 2011-03-15 15:22

Re: Debian 9 vs HP LaserJet Pro CP1025nw

#10 Post by shep »

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).

User avatar
Rakon
Posts: 5
Joined: 2018-12-30 15:51

Re: Debian 9 vs HP LaserJet Pro CP1025nw

#11 Post by Rakon »

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!

Post Reply