diff --git a/Code/thermal_printer/etc/systemd/system/devterm-printer.service b/Code/thermal_printer/etc/systemd/system/devterm-printer.service index f4e93ac..0f0812d 100644 --- a/Code/thermal_printer/etc/systemd/system/devterm-printer.service +++ b/Code/thermal_printer/etc/systemd/system/devterm-printer.service @@ -4,6 +4,7 @@ After=devterm-socat [Service] Type=simple +EnvironmentFile=/usr/local/etc/devterm-printer StandardOutput=file:/tmp/devterm_printer.log StandardError=file:/tmp/devterm_printer.err.log ExecStart=/usr/local/bin/devterm_thermal_printer.elf diff --git a/Code/thermal_printer/usr/local/etc/devterm-printer b/Code/thermal_printer/usr/local/etc/devterm-printer new file mode 100644 index 0000000..1ac3fd4 --- /dev/null +++ b/Code/thermal_printer/usr/local/etc/devterm-printer @@ -0,0 +1 @@ +TTF=/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc