From d209bac4c195f15aa382ea0d16c944413e3dcff3 Mon Sep 17 00:00:00 2001 From: Thomas Nixon Date: Sun, 23 Oct 2022 11:09:09 +0100 Subject: [PATCH] explicitly disable duplex in PCL this seems to be required for the HL-L2350DW, and matches the behaviour of the official driver without this, if duplex is disabled then the printer still duplexes, but every other page is garbled --- src/job.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/job.cc b/src/job.cc index 9212e65..fa6fb43 100644 --- a/src/job.cc +++ b/src/job.cc @@ -80,6 +80,8 @@ void job::write_page_header() { if (page_params_.duplex) { fputs("\033&l2S", out_); + } else { + fputs("\033&l0S", out_); } }