20 lines
993 B
Plaintext
20 lines
993 B
Plaintext
# ASCII Photobooth printer configuration
|
|
# Sourced by txt2printr.sh and photobooth.py.
|
|
|
|
# Is the printer loaded with A4 paper for a landscape printout? (true/false)
|
|
# Needle/dot-matrix printers have no hardware page-rotation command: the
|
|
# print head only scans across a fixed carriage width while the paper feeds
|
|
# in one fixed direction, so there is no way to make the physical page
|
|
# itself "landscape". Instead, when this is true:
|
|
# - txt2printr.sh rotates the ascii art 90 degrees in software before
|
|
# sending it to the printer (turn the printed page 90 degrees to read it)
|
|
# - photobooth.py sizes its live-preview viewfinder to an A4-landscape
|
|
# character grid instead of just following the terminal size, so what you
|
|
# see in the preview matches the shape of what gets printed
|
|
PRINTER_A4=false
|
|
|
|
# Printer pitch, used only to size the A4 viewfinder above (characters per
|
|
# inch / lines per inch). Defaults match common Epson ESC/P draft settings.
|
|
PRINTER_CPI=10
|
|
PRINTER_LPI=6
|