From b3be8b155f205e432effd18f3d0dbc9e52a1d8dd Mon Sep 17 00:00:00 2001 From: Marc Ole Bulling Date: Fri, 15 Jan 2021 14:43:24 +0100 Subject: [PATCH] Added note about user permission --- config-dist.php | 1 + 1 file changed, 1 insertion(+) diff --git a/config-dist.php b/config-dist.php index 7d6f71c9..343d6e08 100644 --- a/config-dist.php +++ b/config-dist.php @@ -108,6 +108,7 @@ Setting('TPRINTER_PORT', 9100); // Port of printer, eg. 9100 Setting('TPRINTER_CONNECTOR', '/dev/usb/lp0'); // Location of printer. For USB on Linux this is often '/dev/usb/lp0', // for serial printers it could be similar to '/dev/ttyS0' // Make sure that the user that runs the webserver has permissions to write to the printer! + // On Linux add your webserver user to the LP group with usermod -a -G lp www-data // Default user settings