Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
[samba] printer & cups
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
root  
View profile  
 More options Oct 30 2012, 8:20 pm
Newsgroups: linux.samba
From: root <r...@server-ready.aghezzi.it>
Date: Wed, 31 Oct 2012 01:20:02 +0100
Local: Tues, Oct 30 2012 8:20 pm
Subject: [Samba] [samba] printer & cups
my samba is working good, only a problem with the classic pdf printer

I get this message from testparm

Warning: Service pdf-printer defines a print command, but print command parameter is ignored when using CUPS libraries.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

and this is my .conf

[global]
        workgroup = RSA
        netbios name = RSA-INTRANET
        server string = RSA-INTRANET
        map to guest = Bad User
        passdb backend = tdbsam
        log file = /var/log/samba/log.%m
        dns proxy = No

[pubblico]
        comment = condivisione pubblica
        path = /var/pubblico
        read only = No

[pdf-printer]
        path = /var/pubblico/
        create mask = 0700
        guest ok = Yes
        printable = Yes
        print command = /usr/bin/printpdf.sh %s
        printer name = lp

everyt hings works ok, but the print command isn't executed altough the printer is shared and visible on the lan.

thanks for any help

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Moray Henderson  
View profile  
 More options Nov 1 2012, 7:50 am
Newsgroups: linux.samba
From: Moray Henderson <Moray.Hender...@ict-software.org>
Date: Thu, 01 Nov 2012 12:50:02 +0100
Local: Thurs, Nov 1 2012 7:50 am
Subject: Re: [Samba] [samba] printer & cups

We had "printing = bsd" when we had a PDF printer script like yours.
Because we are running SELinux, we also had to label our script
samba_unconfined_script_exec_t to allow Samba to run it.

However, we found that Samba was not really happy with both real CUPS
printer shares and a virtual PDF printing script, so we have moved to
PDFCreator (www.pdfforge.org) on the clients instead.  It lets you use more
features than the server-side script too.

[It's better English to say "working well" than "working good"]

Moray.
"To err is human; to purr, feline."

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »