Page 2 of 3

Posted: Thu 06 Apr 2017, 14:15
by rcrsn51
I just checked this. The file turns from a gz file to a regular text file.

If that's not happening, you don't have a good download.

[Edit] Take the copy of hp-laserjet_200_colormfp_m276-ps.ppd.gz that you are downloading and attach it to your next post.

Posted: Thu 06 Apr 2017, 18:57
by LeithR
You have suggested something that is beyond my ability.

How do I attach a copy of the file to a post please?

Posted: Thu 06 Apr 2017, 19:10
by rcrsn51
At the bottom of the screen where you make a post, there are some buttons to select a file and attach it.

Posted: Thu 06 Apr 2017, 19:20
by LeithR
Many thanks,
Here's my download.

Posted: Thu 06 Apr 2017, 19:25
by rcrsn51
I don't know what you are doing with this file. But when I click on it, it turns into a text file with a .ppd extension. This is correct.

But if you can't get that to work, just copy the .gz file into /usr/share/cups/model. Run the CUPS setup wizard.

Posted: Fri 07 Apr 2017, 07:49
by LeithR
OK, I'll do that this morning when I go round to the shed.

Posted: Fri 07 Apr 2017, 10:36
by LeithR
I think we are moving forward albeit slowly. I found the pinter in the list, not at the top of the list but just on it. I've selected it and set it up in cups. Tried a test print on usb connection without success.

I'm not going to be in the shed until Monday now. Ill pick up any of your messages over the weekend and act on them on Monday.

I appreciate your time and effort. Thanks for that.

Posted: Fri 07 Apr 2017, 11:30
by rcrsn51
Using the same steps as I gave you, I ran some simulations and it worked. But that's not the same as having the physical printer.

I'm surprised that your model did not appear at the TOP of the list. That should happen if you have the correct matching PPD file.

Instead of printing a test page, print something from a word processor.

This printer would probably work if you were using a big-boy Linux with full HPLIP built-in.

I don't know where else to go with this.

Posted: Fri 07 Apr 2017, 12:04
by LeithR
rcrsn51 wrote:I don't know where else to go with this.
Now thats something I never thought I'd hear you say after the many pages of your helpful comments I've read over the years!

I'll run further tests on Monday, thanks again.

Posted: Mon 10 Apr 2017, 09:21
by LeithR
Here's what I set up in CUPS. Its not working from a a LibreOffice document.

Image

Posted: Mon 10 Apr 2017, 09:32
by rcrsn51
1. Open /etc/cups/cupsd.conf

2. Change "Loglevel info" to "Loglevel debug"

3. Run the command: /etc/init.d/cups restart

4. Print something.

5. Open /var/log/cups/error_log.

6. Start at the bottom, work up looking for error messages.

Posted: Mon 10 Apr 2017, 11:48
by LeithR
Came up with this error
E [10/Apr/2017:12:20:51 +0100] [Job 39] Job stopped due to filter errors; please consult the error_log file for details.
These are the msgs afte the one above:
D [10/Apr/2017:12:20:51 +0100] PID 10326 (/usr/lib/cups/backend/usb) exited with no errors.
D [10/Apr/2017:12:20:51 +0100] [Job 39] Wrote 1 pages...
D [10/Apr/2017:12:20:51 +0100] [Job 39] PID 10334 (pstops) exited with no errors.
D [10/Apr/2017:12:20:51 +0100] [Job 39] PID 10333 (pdftops) exited with no errors.
D [10/Apr/2017:12:20:51 +0100] PID 10324 (/usr/lib/cups/filter/pdftops) exited with no errors.
D [10/Apr/2017:12:20:51 +0100] Discarding unused job-state-changed event...
E [10/Apr/2017:12:20:51 +0100] [Job 39] Job stopped due to filter errors; please consult the error_log file for details.
D [10/Apr/2017:12:20:51 +0100] cupsdMarkDirty(----J-)
D [10/Apr/2017:12:20:51 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Dirty files"
D [10/Apr/2017:12:20:51 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [10/Apr/2017:12:20:51 +0100] Discarding unused printer-state-changed event...
D [10/Apr/2017:12:20:51 +0100] [Job 39] The following messages were recorded from 12:20:50 to 12:20:50
D [10/Apr/2017:12:20:51 +0100] [Job 39] Printer found with device ID: MFG:Hewlett-Packard;CMD:PJL,PML,PCLXL,URP,PCL,PDF,POSTSCRIPT;MDL:HP LaserJet 200 colorMFP M276nw;CLS:PRINTER;DES:Hewlett-Packard LaserJet 200 colorMFP M276nw;MEM:MEM=230MB;COMMENT:RES=600x8;LEDMDIS:USB#ff#04#01;CID:HPLJPDLV1; Device URI: usb://HP/LaserJet%20200%20colorMFP%20M276nw?serial=CNF8GBXJW6&interface=1
D [10/Apr/2017:12:20:51 +0100] [Job 39] End of messages
D [10/Apr/2017:12:20:51 +0100] [Job 39] printer-state=3(idle)
D [10/Apr/2017:12:20:51 +0100] [Job 39] printer-state-message="Sending data to printer."
D [10/Apr/2017:12:20:51 +0100] [Job 39] printer-state-reasons=none
D [10/Apr/2017:12:20:52 +0100] [Job 39] Unloading...
I [10/Apr/2017:12:21:21 +0100] Saving job.cache...
D [10/Apr/2017:12:21:21 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Printing jobs and dirty files"
D [10/Apr/2017:12:21:21 +0100] Report: clients=1
D [10/Apr/2017:12:21:21 +0100] Report: jobs=11
D [10/Apr/2017:12:21:21 +0100] Report: jobs-active=1
D [10/Apr/2017:12:21:21 +0100] Report: printers=4
D [10/Apr/2017:12:21:21 +0100] Report: printers-implicit=0
D [10/Apr/2017:12:21:21 +0100] Report: stringpool-string-count=28438
D [10/Apr/2017:12:21:21 +0100] Report: stringpool-alloc-bytes=14992
D [10/Apr/2017:12:21:21 +0100] Report: stringpool-total-bytes=539992


Here's what it says on CUPS after trying to print
Image

Posted: Mon 10 Apr 2017, 12:01
by rcrsn51
You need to go farther up and find the actual filter error.

Also, open a terminal and type the command: /usr/lib/cups/filter/hpps

Posted: Mon 10 Apr 2017, 13:44
by LeithR
I've been up and down the error log and can't find anything that indicates a filter error other than what I have already mentioned. s there anything specific that I should be looking for?

When I ran the command: /usr/lib/cups/filter/hpps it returned the msge
"env: can't execute 'python' No such file or directory"

Posted: Mon 10 Apr 2017, 13:48
by rcrsn51
"env: can't execute 'python' No such file or directory"
See Step 2 from the list of instructions above.

Posted: Mon 10 Apr 2017, 14:10
by LeithR
We are shutting up shop for today. will come back to this on Thursday. Thanks

Posted: Wed 12 Apr 2017, 19:47
by LeithR
Is that this instruction?
2. Change "Loglevel info" to "Loglevel debug"

I checked that before I left the Shed on Monday, it still read "Loglevel debug"
will get onto it again in the morning.

Posted: Thu 13 Apr 2017, 10:16
by LeithR
rcrsn51 wrote:You need to go farther up and find the actual filter error.

Also, open a terminal and type the command: /usr/lib/cups/filter/hpps
To my untutored eye, there doesn't seem to be a command after /usr/lib/cups/filter/hpps, just the path?

Posted: Thu 13 Apr 2017, 23:26
by rcrsn51
LeithR wrote:Is that this instruction?
2. Change "Loglevel info" to "Loglevel debug"
HP has added some enterprise features that require Python.

2. Some Puppies, like Tahrpup, already have basic Python. Otherwise, get it here.

Posted: Tue 18 Apr 2017, 07:38
by LeithR
Updated this yesterday - Success, I installed Python and the printer is now working as a usb connected device. Many thanks for that!!

Tried to let you know then but our Broadband went down so couldn't.

There is more work to do to get it working as a wifi connected printer.

I also became a grandad for the third time yesterday.