Dionaea provides a basic PJL/PCL printer server on port 9100. It can receive prints and PRET works with it. Most messages can be overridden using the configuration file, please refer to the pjl_default_responses dictionary for all available messages.

Example config

- name: printer
    root: "var/lib/printer/root"
        info_id: "HP LASERJET 5ML"


When connecting to a printer using PRET, one may inspect the filesystem. By creating folders in the configured printer root (var/lib/printer/root above), they’ll be usable from the PRET shell.

PRET by default checks the info_filesys command, which needs to be adjusted to match your setup. The default configuration assumes there’s a volume called 0.