Improve and extend the _read() method availability for its users and related methods. Part 1: Cupsprinter and on/offline.
#709
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.
Description
This starts a PR series to improve and extend the availability of the
_read()method to some connectors where it is currently not implemented.The objectives of this series are:
_read()method in the following connectors:File()Dummy()Part 1: Improve on/offline masks consistency and its usage by the Cups connector:
This will close #611 by:
RT_MASK_OFFLINEconstant and change the value ofRT_MASK_ONLINEto a value that is more consistent with the ESC/POS real-time status response format for both constants (a validator/checker is planned for a follow up PR). The new values are also consistent with the rest of RT_MASK_* constants._read()method in theCupsPrinter()connector to improve readability.Part 2: #711
Part 3: #712
Part 4: #714
Tested with
TM-U210 Parallel port printer