From 92cd6ac2ced9028835c152a68febbc53e19d027f Mon Sep 17 00:00:00 2001 From: Thomas Schneider <thomas@fsmpi.rwth-aachen.de> Date: Fri, 24 Feb 2023 14:02:15 +0100 Subject: [PATCH] desktop: Fix lpoptions for new printer driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also, remove AStA handling, they don’t use it any more anyway. --- desktop/templates/lpoptions.j2 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/desktop/templates/lpoptions.j2 b/desktop/templates/lpoptions.j2 index 26f157c..8214fb4 100644 --- a/desktop/templates/lpoptions.j2 +++ b/desktop/templates/lpoptions.j2 @@ -1,9 +1,6 @@ {%- if ansible_hostname | regex_replace('[0-9]$', '') == "hoern" or ansible_hostname == "portal" -%} Default Hoern_Kopierer Duplex=DuplexNoTumble -{%- elif ansible_hostname | regex_replace('[0-9]$', '') == "lxc" -%} -Dest Kopierer_Briefpapier ColorModel=Gray KCRotate=On -Default Kopierer_BW ColorModel=Gray {%- else -%} {%- set number = ansible_hostname | regex_replace('^[a-z]*', '') -%} -Default Kopierer ColorModel=Gray Duplex=DuplexNoTumble OutputBin=MBDWN0{{ number }} +Default Kopierer ColorModel=Gray Duplex=DuplexNoTumble OutputBin=Mailbox{{ number }} {%- endif -%} -- GitLab