Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Duplex, Simplex
The following code explicitly sets the duplex/simplex in PCL.
\033&l2S
: This sets the printer to duplex printing with tumble mode.\033&l1S
: This sets the printer to duplex printing without tumble mode.\033&l0S
: This sets the printer to simplex (single-sided) printing.#169 explicitly sets the printer in simplex mode (
\033&l0S
).This resolves the issue of printers continuing to duplex when disabled.
QORTEC#2 adds duplex no tumble printing (
\033&l1S
).This change also adds logic to print with and without tumble.
Compiling
QORTEC#3 fixes building on Fedora 38;
error: 'uint8_t' was not declared in this scope
Resolves , so
uint8_t
undeclared issue by explicitly includingcstdint
intest/tempfile.h
.