1
0
mirror of https://github.com/pdewacht/brlaser synced 2025-01-07 12:28:21 +01:00

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
This commit is contained in:
Thomas Nixon 2022-10-23 11:09:09 +01:00 committed by Benjamin Lowell
parent 2a49e3287c
commit d209bac4c1

View File

@ -80,6 +80,8 @@ void job::write_page_header() {
if (page_params_.duplex) {
fputs("\033&l2S", out_);
} else {
fputs("\033&l0S", out_);
}
}