The printer is"HP LaserJet Plus Pro M148fdw", connected by ethernet.

I first created a .txt file, then converted it to a .ps file, then converted to a .pdf file. I then ran the following commands:
lpr -o sides=two-sided-long-edge lipsum.txt.ps
lp -o sides=two-sided-long-edge lipsum.txt.ps
lpr -o sides=two-sided-long-edge lipsum.txt.pdf
lp -o sides=two-sided-long-edge lipsum.txt.pdf

All printed one-sided.

Then, as root, I ran the command
cupsctl --debug-logging

Then as regular user, I ran:
lp -o sides=two-sided-long-edge lipsum.txt.pdf

After many seconds, error reported:
lp: Error - scheduler not responding.

No output to the printer.

I then ran:
lpr -o sides=two-sided-long-edge lipsum.txt.pdf

It printed one-sided.

This used to work correctly, then a few months ago, it stopped working. I had hoped it would have been corrected, but now I am reporting it.

Please let me know if I can help in any other way.

Thank you!

Rick


On 2022-03-27 08:08, Brian Potkin wrote:
tags 1008175 moreinfo
thanks


On Wed 23 Mar 2022 at 13:01:18 -0400, Rick Stanley wrote:

Now neither option works correctly executing from the command line.
"lpr -o sides=two-sided-long-edge  test.pdf"
"lpr -o sides=one-sided  test.pdf"

And same for lp.

Thank you for your report, Rick. What is the printer make and model?

The situation is that neither command gives double-sided printing?

Printing from Okular works correctly as expected.

There is a slight difference between your lp command and what Okular
does. Okular sends a PostScript file to the ptinter. Not that I can
see why that should make any difference, but printing from Evince or
Firefox sens a PDF. You could try that.

Anyway, let's have a log. Enable debug logging with

  cupsctl --debug-logging

Empty error_log with

  >/var/log/cups/error_log

Print and send error_log as an attachment after compressing it.

Regards,

Brian.

Attachment: error.7z
Description: application/7z-compressed

Reply via email to