• ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Experiencing 'Printer Blocked' or 'Printer Error' message? Click here for more information.
Check some of the most frequent questions about Instant Ink: HP INSTANT INK, HP+ PLANS: INK AND TONER.


Check out our Black or Color Ink Not Printing, Other Print Quality Issues info about: Print quality and Cartridge Issues.
HP Recommended
HP Color LaserJet Enterprise Flow MFP M682z
Linux

The old printer could take the postscript duplex command and duplex the pages. The old printer is the M630z, the new printer M682z will not take the duplex command and duplex the sheets. The following file sent to the printer from linux using the lp -s -d myprinter duplex.ps results in simplex printing. The older HP printer worked fine with the duplex command. The duplexer works on the printer, we have used other ways to test the duplexer and its fine. What would be in the way of the new printer duplexing like the old printer?

 

%!PS-Adobe-3.0

<</Duplex true >> setpagedevice

/Courier 72 selectfont
72 648 moveto
(PAGE 1) show
showpage

72 648 moveto
(PAGE 2) show
showpage

 

1 ACCEPTED SOLUTION

Accepted Solutions
HP Recommended

What I have found is the linux cups printing uses ppd files. These files are literally the driver for the printer. What we are doing is turning off duplexing and turning on duplexing inside the file itself. The ppd file is not going to allow that from what I can tell. If you use the lp command with no duplex options, it will take the default from the ppd file. It wouldn't matter if you had 100 duplex commands in your file, if the ppd default was simplex, it would print simplex. If you opted to use the duplex option on the command line, the duplexer would be invoked and every page would be duplexed. This is not what we want. We want to be able to turn off and on duplexing in a file as needed. The lpr command has the -l option which sends the raw file to the printer. This does not use the ppd file and will work, but it would be nice not to have to do that. 

View solution in original post

2 REPLIES 2
HP Recommended

The 630 series and the M682 are different generations and there was a major redesign of the hardware which appears to have changed the duplex commands. Have you tried any of the LInux boards to see if other users have had problems? You do not state which type of linux you are running but you can refer to this page which lists commands that appear different than what you included in your script and might work better with the newer pritner.

 

https://www.cups.org/doc/options.html

 

If you find the information provided useful or solves your problems, help other users find the solution easier by giving kudos and marking my post as an accepted solution.
I am a volunteer, offering my knowledge to support fellow users, I do not work for HP nor speak for HP.



HP Recommended

What I have found is the linux cups printing uses ppd files. These files are literally the driver for the printer. What we are doing is turning off duplexing and turning on duplexing inside the file itself. The ppd file is not going to allow that from what I can tell. If you use the lp command with no duplex options, it will take the default from the ppd file. It wouldn't matter if you had 100 duplex commands in your file, if the ppd default was simplex, it would print simplex. If you opted to use the duplex option on the command line, the duplexer would be invoked and every page would be duplexed. This is not what we want. We want to be able to turn off and on duplexing in a file as needed. The lpr command has the -l option which sends the raw file to the printer. This does not use the ppd file and will work, but it would be nice not to have to do that. 

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.