Bug#872721: hplip 3.17.7: Will not print colors correctly using my HP LaserJet M452dn printer

2017-11-16 Thread Brian Potkin
On Thu 16 Nov 2017 at 04:43:01 +0100, Adrian Immanuel Kieß wrote:

> Dear Brian,
> 
> I followd your steps but none of this printers now installed fixed this
> problem.

How disappointing. The only other thing worth trying I can think of is
to select a different renderer as described in the cups-filters README.

> I already wrote a snail-mail to HP Germany: Maybe a firmware update can
> fix this issue too. The printer is suddenly working fine, since the
> demo pages from GNOME printer settings and the printer directly still
> print the colors fine.

I am closing this report as I can see nothing wrong in the behaviour of
CUPS and hplip.

Best of luck with HP.

Thank you for your co-operation.

Brian.



Bug#872721: hplip 3.17.7: Will not print colors correctly using my HP LaserJet M452dn printer

2017-11-15 Thread Adrian Immanuel Kieß
Dear Brian,

I followd your steps but none of this printers now installed fixed this
problem.

I already wrote a snail-mail to HP Germany: Maybe a firmware update can
fix this issue too. The printer is suddenly working fine, since the
demo pages from GNOME printer settings and the printer directly still
print the colors fine.

Thank you very much for your help.

I send best wishes to you,

Adrian Immanuel Kieß

-- 
With many greetings from Leipzig, Germany.
Adrian Immanuel Kieß 

Gothaer Straße 34
D-04155 Leipzig

Administrator & programmer
Unix ∧ Perl ∧ Java ∧ LaTeX

 — < adrian@kiess.engineer >
 — http://www.kiess.engineer # Dem Ingenieur ist nichts zu schwör
 — http://totaleueberwachung.kiess.engineer # Site for people who hear voices
 — http://outanekka.kiess.engineer # Outanekka online image gallery

--SYSTEM--
echo "Your fortune cookie: " && /usr/games/fortune -c -s
> (politics) % War is peace. Freedom is slavery. Ketchup is a vegetable.

echo "IMMANUELK.NET uptime: " && /usr/bin/uptime
> 04:40:31 up 8 days, 19:25, 10 users, load average: 2.63, 2.29, 2.35


On Tue, 2017-11-14 at 12:03 +, Brian Potkin wrote:
> On Tue 14 Nov 2017 at 07:33:03 +0100, Adrian Immanuel Kieß wrote:
> 
> > Dear Brian,
> > 
> > I completed your suggested tests and all of those three printing
> > commands produce a B/W print with light magenta, the same result as
> > I
> > attached in a before sent to you message.
> 
> Let us summarise where we are at.
> 
> 1. I have printed adrian.ps on an Epson. Not the best of printouts
> but
>it is in full colour. The PS file is a good file, so cups-filters
>and cups have behaved correctly.
> 
> 2. You have sent two PS files *directly* to the printer. The outcome
> is
>described above. The good PS files *do* print but are very
> suboptimal.
>This poor printing is not the result of using hplip because its
>backend was not used; it points to the printer being responsible
> in
>some way.
> 
> 3. You have other print queues which also do not work. This is
> another
>indication that hplip is not responsible for the behaviour.
> 
> 4. You report:
> 
>  > Test printouts from the Gnome-Settings or directly fom the
>  > printer all print the colour correctly so I assume something
>  > is wrong the postscript file generated, ...
> 
>I am pretty confident (see 1) the PS file is ok. I am unfamiliar
> with
>Gnome-Settings; the only extra thing it will do (I think) is
> convert
>the JPG to a PDF before dispatching it to the printing system.
> Maybe
>that makes a difference; I do not know.
> 
>When you say print "directly fom the printer" I suppose you did
> this by
>using the front panel of the printer? Getting full colour implies
> a
>functional printer; toner ok etc.
> 
> Here are two ways to try in order to get printing working for you
> again.
> 
> a) Your printer should be capable of driverless printing. Please read
> 
>  https://wiki.debian.org/DriverlessPrinting
> 
>I'd suggest using the cups-browsed method.
> 
> b) Don't have the filtering system generate a PS file. Set up a print
>queue with a PCL 6 PPD (the CUPS+Gutenprint one?).
> 
> Regards,
> 
> Brian.

signature.asc
Description: This is a digitally signed message part


Bug#872721: hplip 3.17.7: Will not print colors correctly using my HP LaserJet M452dn printer

2017-11-14 Thread Brian Potkin
On Tue 14 Nov 2017 at 07:33:03 +0100, Adrian Immanuel Kieß wrote:

> Dear Brian,
> 
> I completed your suggested tests and all of those three printing
> commands produce a B/W print with light magenta, the same result as I
> attached in a before sent to you message.

Let us summarise where we are at.

1. I have printed adrian.ps on an Epson. Not the best of printouts but
   it is in full colour. The PS file is a good file, so cups-filters
   and cups have behaved correctly.

2. You have sent two PS files *directly* to the printer. The outcome is
   described above. The good PS files *do* print but are very suboptimal.
   This poor printing is not the result of using hplip because its
   backend was not used; it points to the printer being responsible in
   some way.

3. You have other print queues which also do not work. This is another
   indication that hplip is not responsible for the behaviour.

4. You report:

 > Test printouts from the Gnome-Settings or directly fom the
 > printer all print the colour correctly so I assume something
 > is wrong the postscript file generated, ...

   I am pretty confident (see 1) the PS file is ok. I am unfamiliar with
   Gnome-Settings; the only extra thing it will do (I think) is convert
   the JPG to a PDF before dispatching it to the printing system. Maybe
   that makes a difference; I do not know.

   When you say print "directly fom the printer" I suppose you did this by
   using the front panel of the printer? Getting full colour implies a
   functional printer; toner ok etc.

Here are two ways to try in order to get printing working for you again.

a) Your printer should be capable of driverless printing. Please read

 https://wiki.debian.org/DriverlessPrinting

   I'd suggest using the cups-browsed method.

b) Don't have the filtering system generate a PS file. Set up a print
   queue with a PCL 6 PPD (the CUPS+Gutenprint one?).

Regards,

Brian.



Bug#872721: hplip 3.17.7: Will not print colors correctly using my HP LaserJet M452dn printer

2017-11-13 Thread Adrian Immanuel Kieß
Dear Brian,

I completed your suggested tests and all of those three printing
commands produce a B/W print with light magenta, the same result as I
attached in a before sent to you message.

Thank you very much for your help.

With kind regards,

Adrian Immanuel Kieß

-- 
With many greetings from Leipzig, Germany.
Adrian Immanuel Kieß 

Gothaer Straße 34
D-04155 Leipzig

Administrator & programmer
Unix ∧ Perl ∧ Java ∧ LaTeX

 — < adrian@kiess.engineer >
 — http://www.kiess.engineer # Dem Ingenieur ist nichts zu schwör
 — http://totaleueberwachung.kiess.engineer # Site for people who hear voices
 — http://outanekka.kiess.engineer # Outanekka online image gallery

--SYSTEM--
echo "Your fortune cookie: " && /usr/games/fortune -c -s
> (medicine) % When a lot of remedies are suggested for a disease, that means 
> it can't be cured. -- Anton Chekhov, "The Cherry Orchard"

echo "IMMANUELK.NET uptime: " && /usr/bin/uptime
> 07:31:05 up 6 days, 22:15, 10 users, load average: 1.23, 1.11, 1.03


On Mon, 2017-11-13 at 18:57 +, Brian Potkin wrote:
> nc   < adrian.ps

signature.asc
Description: This is a digitally signed message part


Bug#872721: hplip 3.17.7: Will not print colors correctly using my HP LaserJet M452dn printer

2017-11-13 Thread Brian Potkin
On Mon 13 Nov 2017 at 18:57:34 +, Brian Potkin wrote:

> On Mon 13 Nov 2017 at 15:18:36 +0100, Adrian Immanuel Kieß wrote:
> 
> > Hello Brian,
> > 
> > I followed your suggestions and received a colored image rendering OK
> > in  Evince. 
> 
> That's something at least. Some progress! But I wonder why your PS file
> is 3M (20%) larger than mine?

That is incorrect. I looked at the sizes in mutt, not with ls. There is
barely any difference in their sizes.

-- 
Brian.



Bug#872721: hplip 3.17.7: Will not print colors correctly using my HP LaserJet M452dn printer

2017-11-13 Thread Brian Potkin
On Mon 13 Nov 2017 at 15:18:36 +0100, Adrian Immanuel Kieß wrote:

> Hello Brian,
> 
> I followed your suggestions and received a colored image rendering OK
> in  Evince. 

That's something at least. Some progress! But I wonder why your PS file
is 3M (20%) larger than mine?

> Attached to this message I have adrian.ps received through the lines of
> code you gave me.

Thank you. It doesn't look any different from mine.

> Printing this PS file fails again on my HP Color LaserJet Pro M452dn
> printer.

So, an image is produced, but mostly in black and white as before? I was
also wanting to know the result of brian.ps being printed. Please would
you do that?

  lp -d LaserJet_M452dn_HPLIP -o raw brian.ps

Using 'o raw' means that the cups-filters system is avoided and the only
filter being used is hp, which transports the data to the printer. We
can avoid hp too with

  nc   < adrian.ps
  nc   < brian.ps

nc is netcat.  can be 9100, 9101, 9102 etc for a socket connection
(JetDirect), 631 for the IPP protocol and 515 with the LPD protocol.

This is likely to be the final bit of testing. :) All that is needed is
the results from your three tests.

Thanks in advance,

Brian.




> > > mail.
> > 
> > You now have two postscript files. Assuming yours is in full colour,
> > print both files with
> > 
> >  lp -d LaserJet_M452dn_HPLIP -o raw adrian.ps
> >  lp -d LaserJet_M452dn_HPLIP -o raw brian.ps
> > 
> > (I'm assuming LaserJet_M452dn_HPLIP was set up with hp-setup). Do
> > they
> > print successfully?
> > 
> > Cheers,
> > 
> > Brian.



Bug#872721: hplip 3.17.7: Will not print colors correctly using my HP LaserJet M452dn printer

2017-11-13 Thread Brian Potkin
tags 872721 moreinfo
thanks



On Sat 11 Nov 2017 at 12:09:41 +, Brian Potkin wrote:

> You now have two postscript files. Assuming yours is in full colour,
> print both files with
> 
>  lp -d LaserJet_M452dn_HPLIP -o raw adrian.ps
>  lp -d LaserJet_M452dn_HPLIP -o raw brian.ps
> 
> (I'm assuming LaserJet_M452dn_HPLIP was set up with hp-setup). Do they
> print successfully?

Any progress with this, Adrian?

Cheers,

Brian.



Bug#872721: hplip 3.17.7: Will not print colors correctly using my HP LaserJet M452dn printer

2017-11-10 Thread Brian Potkin
On Fri 10 Nov 2017 at 16:26:56 +0100, Adrian Immanuel Kieß wrote:

> Dear Brian,
> 
> the problem persits using up-to-date Debian/testing installation. Now
> even the colors from LaTeX printouts are missing which was the last
> colors the printer printed.
> 
> Printing color pictures or color PDF fails completely. 
> 
> I will attach a sample printout of a picture and screenshot of HPLIP
> version used to this message.

adrian-hplip-debian-bug-sample-image-2017-11-10.jpg shows a young man in
a reddish shirt and a black-white background with cars and buildings.
The only other coloured object is a sign in red behind the man. Are we
seeing the same thing?

> Additionally, please note: This error also applies to the windows hp
> printer driver.

The only thing that would imply to me is that the printer is at
fault. But I could be completely wrong. (People usually say Windows
works but Linux doesn't!).

> As written before, only altering the print density settings of the
> printer helps to have black and white working but in bad quality.
> 
> I used both HPLIP (hp://) and CUPS to setup a printer entry. Both
> installations issue the same errors described before.

CUPS can also use hp://... to set up the printer. If you did that,
it is no wonder you got the same outcome.

> Can you keep me informed when the error is fixed because it's the only
> printing device I own and I need the printer to get my work done.

Fixing any error in the Debian printing system requires co-operation
from you. You have the printer and there is only so much we can do.

Your print queue has a PPD in /etc/cups/ppd. Do (as root):

  cupsfilter -p /etc/cups/ppd/ -m printer/foo -e --list-filters > 
filters

Post filters to the bug as an attachment.

Now use the original of adrian-hplip-debian-bug-sample-image-2017-11-10.jpg
to do:

  cupsfilter -p /etc/cups/ppd/ -m printer/foo -e  > 
adrian.ps

Examine adrian.ps with a PostScript viewer. Post it to the bug. What do
you think of its quality?

Thanks in advance,

Brian.



Bug#872721: hplip 3.17.7: Will not print colors correctly using my HP LaserJet M452dn printer

2017-11-10 Thread Brian Potkin
Hello Adrian; thank you for your report.


On Sun 20 Aug 2017 at 15:20:15 +0200, Adrian Immanuel Kiess wrote:

> Package: hplip
> Version: 3.17.7+repack0-3
> Severity: normal
> 
> Dear Maintainer,
> 
>* What led up to the situation?
>  I assume updating HPLIP and or CUPS
>* What exactly did you do (or not do) that was effective (or
>  ineffective)?
>  Updating the system on regular schedule
>* What was the outcome of this action?
>  The HP LaserJet M452dn won't print colors correctly anymore
>* What outcome did you expect instead?
>  Printer working correctly as before
> 
> currently under Debian/testing my HP LaserJet M452dn color printer won't print
> colors correctly anymore.
> 
> Afer adjusting the density "contrast" to "5" in the web console for all colors
> and black, black and white printing works correctly again.
> 
> But I found no solution for color printing.
> 
> Attached to this bug report I added a sample printout of a color print - there
> you will see that colors are printed uncorrectly.
> 
> In addition to that, attached I have a demo page printout from my M452dn.
> 
> The third image is a screenshot of HPLIP GUI software, showing the version
> number used.
> 
> I like to note to have acceptable printout in black and white I have to set 
> the
> "Photo Neutral Greys" to black switching this from 4-color default setting.

We note that the problem also occurs when a print queue is set up with
CUPS; using localhost:631, we suppose. Can you remember whether you
used hp://... or usb://... as the connection (the device URI)? Did
you originally use hp-setup to set up the printer?

hplip is presently at version 3.17.10+repack0-1 and cups-filters and
cups have new versions too. Please would you update your system and
report on the printing output.

Regards,

Brian.