mirror of
https://github.com/pdewacht/brlaser
synced 2025-04-08 21:36:44 +02:00
Bug Owl-Maintain#23
Corrected the Duplex & Tumble Check: - swapped the PLC values for duplex and tumble. Thanks @wmlapierre
This commit is contained in:
parent
911a518f4e
commit
f277899eec
@ -78,9 +78,9 @@ void job::write_page_header() {
|
|||||||
fputs("\033E", out_);
|
fputs("\033E", out_);
|
||||||
fprintf(out_, "\033&l%dX", std::max(1, page_params_.num_copies));
|
fprintf(out_, "\033&l%dX", std::max(1, page_params_.num_copies));
|
||||||
|
|
||||||
if (page_params_.duplex && page_params_.tumble) {
|
if (page_params_.duplex) {
|
||||||
fputs("\033&l2S", out_);
|
fputs("\033&l2S", out_);
|
||||||
} else if (page_params_.duplex) {
|
} else if (page_params_.tumble) {
|
||||||
fputs("\033&l1S", out_);
|
fputs("\033&l1S", out_);
|
||||||
} else {
|
} else {
|
||||||
fputs("\033&l0S", out_);
|
fputs("\033&l0S", out_);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user