Re: Print to PDF Problem in SuSE 9.0

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Eric \"Shubes\"
Date:  
To: plug-discuss
New-Topics: Mandrake Updates
Subject: Re: Print to PDF Problem in SuSE 9.0
Calvin Cannon wrote:

> For some reason, it seems that Samba isn't transferring print files to
> the print queue. I'm at a bit of a loss because I have another SuSE 9.0
> box configured basically the same way (Different domain name) and it
> works great! Basically, both pdf-distiller shares shown below come up
> in network neighborhood just fine, and I can connect to the print shares
> just fine. Everything works great until I send a job to one of the
> print shares.
>
> When I send a job to either pdf-distiller print share, I get no error
> messages, and no PDF file. The [pdf-distiller-debug] share is
> configured to add log entries whenever a job is sent. That log file
> DOES get updated, but no print file appears in /var/spool/samba/pdf to
> be processed by Ghostscript. The spool directory is chmod'ed at 777 so
> it shouldn't be a permissions issue, and I'm using the standard Apple
> postscript driver on the WinXP side.
>
> As mentioned earlier, I have another box configured (I think) exactly
> the same way and it's working great. I've been ripping my hair out
> trying to figure out why this isn't working here. If I had an error
> message I would have a place to start, but I don't even have that.
>
> I appreciate any help you can provide.
>
> Thanks!
>
> Calvin Cannon
>
>
> Below is a snippet of code from my smb.conf file. The Global printcap
> variable is set to "printcap = cups".
>
>
> ___________________________________________________________________________________
>
> [printers]
> comment = All Printers
> path = /var/tmp
> printable = yes
> create mask = 0600
> browseable = no
> guest ok = no
> use client driver = yes
>
> # This share provides printer driver down- and upload in an Windows
> NT-style
> # point-and-print way. For more detailed information consult the Printing
> # Support Section of the Samba-HOWTO-Collection. For uploading take extra
> # care to add the printer admins to the group lp.
>
> [print$]
> comment = Printer Drivers
> path = /var/lib/samba/drivers
> write list = @ntadmin root
> force group = ntadmin
> create mask = 0664
> directory mask = 0775
> browseable = yes
> guest ok = no
> printable = no
>
> [pdf-distiller]
> comment = PDF Generator - Saves to P: Drive
> printing = sysv
> printcap = lpstat
> path = /var/spool/samba/pdf
> printable = Yes
> print command = gs -dNOPAUSE -dBATCH -q -sDEVICE=pdfwrite
> -sOutputFile=%H/PDF-Distiller/%s.pdf %s; rm %s
>
> [pdf-distiller-debug]
> comment = PDF Generator - Saves to P: Drive
> printing = sysv
> printcap = lpstat
> path = /var/spool/samba/pdf
> printable = Yes
> print command = echo %T: %u on %m >>
> /var/log/samba/PDF-Dilstiller.log; cp %s %H/PDF-Distiller/%s.deleteme
> ___________________________________________________________________________________
>
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>

Calvin,
Is the sticky bit set on the spool directory? The man page doesn't say
it's absolutely necessary, but it does say that it's typically set.

-- 
-Eric 'shubes'
"There is no such thing as the People;
  it is a collectivist myth.
  There are only individual citizens
  with individual wills
  and individual purposes."
-William E. Simon (1927-2000),
     Secretary of the Treasury (1974-1977)
  "A Time For Truth" (1978), pg. 237


****************************************************
This message has been scanned using Contraxx
Technology Group mail server v2.3 and is virus free.
****************************************************
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss