From e1d7ea629121b2461b233d2a51a5a23cbdaea915 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 27 Jun 2017 12:00:59 +0200 Subject: README.md: Next try for displaying code blocks via CGit's markdown engine. --- README.md | 78 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 38 insertions(+), 40 deletions(-) diff --git a/README.md b/README.md index bd3df6d..fe46ab2 100644 --- a/README.md +++ b/README.md @@ -13,46 +13,44 @@ In /etc/standardskriver.cfg you are able to change the defined devices and their The syntax for doing this is simple and easy to manage via the configuration file ``/etc/standardskriver.cfg``: -``` -[settings] - -# Define if standardskriver shall be active (it gets loaded via XDG autostart during -# session startup: - -enable = {yes,no} - -# Define if groups section overrides machine section (= groups machine) or machine section -# overrides groups section. - -order = {machine groups | groups machine} - -# Define if standardskriver shall remove the previous default printer, if no entry in the groups or -# machine section matches at login time. - -delete loptions = {yes,no} - -[machine] - -# Example 01: single client (example-printer has to be defined as a known device/printer in CUPS): - - = example-printer - -# example: IP subnet (e.g. matching a pool of machines in one of the computer labs), again -# other-example-printer needs to be a well-defined CUPS print queue. - - = other-example-printer - -# Example: Single client defined via MAC-address: - -aa:bb:cc:dd:ee:ff = example-printer - -[groups] - -# Here you can define a default printer for users based on POSIX group membership (teacher-printer -# needs to be a well-defined CUPS print queue again): - -teachers = teacher-printer -``` + [settings] + + # Define if standardskriver shall be active (it gets loaded via XDG autostart during + # session startup: + + enable = {yes,no} + + # Define if groups section overrides machine section (= groups machine) or machine section + # overrides groups section. + + order = {machine groups | groups machine} + + # Define if standardskriver shall remove the previous default printer, if no entry in the groups or + # machine section matches at login time. + + delete loptions = {yes,no} + + [machine] + + # Example 01: single client (example-printer has to be defined as a known device/printer in CUPS): + + = example-printer + + # example: IP subnet (e.g. matching a pool of machines in one of the computer labs), again + # other-example-printer needs to be a well-defined CUPS print queue. + + = other-example-printer + + # Example: Single client defined via MAC-address: + + aa:bb:cc:dd:ee:ff = example-printer + + [groups] + + # Here you can define a default printer for users based on POSIX group membership (teacher-printer + # needs to be a well-defined CUPS print queue again): + + teachers = teacher-printer ## License and Copyright -- cgit v1.2.3