|
|
| (9 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) |
| Zeile 1: |
Zeile 1: |
| =Download Script Pdfprint.sh=
| | |
| *wget https://wiki.samba.org/images/b/bd/Pdfprint.sh.txt
| |
| =Verschieben und Umbenennen Script=
| |
| *mv Pdfprint.sh.txt /usr/local/bin/pdfprint.sh
| |
| =Ausführbar machen=
| |
| *chmod 755 /usr/local/bin/pdfprint.sh
| |
| =samba Konfiguration anpassen=
| |
| bei /etc/samba/smb.conf hinzufügen:
| |
| [PDFprinter]
| |
| comment = Samba PDF Printer
| |
| path = /var/spool/samba
| |
| printable = Yes
| |
| lpq command =
| |
| lprm command =
| |
| print command = /usr/local/bin/pdfprint.sh -s /var/spool/samba/%s \
| |
| -d /home/%U -o %U -m 600
| |
| =Konfiguration neu laden=
| |
| smbcontrol all reload-config
| |