Configuration examples
You will find here some simple but common examples of configuration for the
libreprinter.conf file in various printer use cases.
Note: Keep in mind that for Epson processing you may also want to modify the
configuration of your convert-escp2 binary taken from the RetroPrinter project,
like the number of pins (./config/epson_pins),
the page size (./config/page_size), the font (./config/epson_font),
the charset (./config/charset) or the margins (./config/default_margins).
A Simple Epson 9 pins Serial printer
This printer sends ESCP2 commands and you want PDF files.
[misc] emulation=epson [serial_printer] enabled=yes
Note: For serial interface tuning like flow control or logic levels, see the section
[serial_printer]of the config file.If you just want the text files without ESCP2 commands in it
[misc] emulation=epson endlesstext=strip-escp2-jobs [serial_printer] enabled=yes
Note: A PDF will be also created
A serial printer that sends basic text
[misc] emulation=text [serial_printer] enabled=yes
A serial printer that sends basic text indefinitely in a stream
[misc] emulation=text endlesstext=plain-stream [serial_printer] enabled=yes
A parallel Epson ESCP2 printer
[misc] emulation=epson [serial_printer] enabled=no
A parallel HP PCL printer
[misc] emulation=hp [serial_printer] enabled=no