On Thu, 29 Jan 2004 12:18:19 +0100
"Thomas Nolte" <[EMAIL PROTECTED]> wrote:

> 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.

If your samba is linked with the CUPS libraries it doesn't obey the "print
command" definition.

So i think you have to use:
=================================
 [global]
         ...
         printing = cups
         ...
 [pdfprinter]
         printing = bsd
         comment = PDF Drucker, druckt nach H:\print
         print command = /usr/bin/tps2file.sh "%s" "%U" "pdf" "pdfwrite" ""
         path = /tmp
         printable = yes
         valid users = @users
=================================

(Not sure if it works to redefine the "printing" inside a subsection)

regards,
-- 
Stefan Klein, Systems Engineer

MATERNA GmbH Information & Communications
Theodor-Heuss-Str. 59, 61118 Bad Vilbel, Germany
phone: +49 6101 806 0       |   fax: +49 6101 806 590
mobile: +49 160 12 108 338  |   [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to