New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds printer support - fixes #245 #246

Open
wants to merge 7 commits into
base: master
from

Conversation

Projects
None yet
2 participants
@michaelneu
Copy link

michaelneu commented Jan 9, 2019

ISSUE TYPE
  • Feature
SUMMARY

As discussed in #245, this PR adds support for PJL/PCL:

  • Most messages can be overridden using the pjl_msgs field in the config, by specifying the corresponding key from the pjl_default_responses dictionary
  • Printed files are stored in dionaea.download.dir. Using the default config, that's var/lib/binaries
  • Multiple volumes can be created in the root directory by creating e.g. the directories {0,1}/foo. Both volume 0 and 1 will have a "foo" directory. To have a consistent volume behaviour, the info_filesys message needs to be overridden accordingly.
  • Documentation is included. I linked the code reference to this repository already, so until this PR is merged, it'll 404.

Tested using PRET and printing files using the macOS built-in PCL driver.

If you want to convert the printed PCL files to PDF, you may want to check out GhostPCL Docker image.

Lastly: I'd be happy to further maintain this module, if you want.

@dino-bot

This comment has been minimized.

Copy link

dino-bot commented Jan 9, 2019

Can one of the admins verify this patch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment