[Samba] Print via print command while using 3.0
Chris Aitken
chris at ion-dreams.com
Thu Jan 29 11:36:06 GMT 2004
> Hi there,
>
> I want to do the following:
>
> ------------------------------------------------------------
> # smb.conf
> [global]
> ...
> printing = cups
> ...
> [pdfprinter]
> comment = PDF Drucker, druckt nach H:\print
> print command = /usr/bin/tps2file.sh "%s" "%U" "pdf" "pdfwrite" ""
> path = /tmp
> printable = yes
> valid users = @users
> ------------------------------------------------------------
> The script "/usr/bin/tps2file.sh" convert the ps data to pdf. It
> works fine
> under SAMBA 2.2.3 but not under 3.0.
>
> How can I use my script under 3.0.
>
> Thanks for help.
>
> Regards
> Thomas Nolte
Hi Thomas
IIRC I had a script like this, but it had %u under 2.2.
I assume that you have tried replacing the %U with % u or %S (does the %u
work as a username do that the file can be emailed to the printee?)
HTH
Chris
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the samba
mailing list