Skip to content

Conversation

@braveheuel
Copy link
Member

Contributor checklist

  • I have read the CONTRIBUTING.rst
  • I have tested my contribution on these devices:
  • POS-5890T
  • My contribution is ready to be merged as is

Description

When using the dummy printer as caching device, you can send the output to a physical device. But the reusing the same dummy device would result in appending the new output to already printed output. To overcome this issue, the clear function is implemented, which clears the current buffer.

braveheuel and others added 3 commits November 23, 2017 02:09
* If you are using the dummy printer, you may want to use the printer
  again after sending the output to a physical printer.
* This method empties the list of the output buffer
@patkan
Copy link
Member

patkan commented Dec 3, 2017

Thank you for the PR! This seems like a good idea to me 👍

I will merge this directly after #273 is fixed.

@patkan patkan merged commit 26d72a6 into development Dec 3, 2017
@patkan patkan deleted the feature/clear_content_in_dummy_printer branch December 3, 2017 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants