Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-20-2006, 05:29 PM   #1
LQ Newbie
Registered: Feb 2006
Location: Florida, USA
Distribution: Slackware 10.2 Workstation
Posts: 13

Rep: Reputation: 0
Samba & PS2PDF

I am trying to get a Samba PDF printer (ps2pdf) to work via Samba so I can print to it with Windows XP computers. I have followed the guide at, but I have not had any success with the printing portion.

I have searched Google and these forums, but I have not found a way to fix my problem. I have tried various suggestions that have given me Windows error messages such as "Failed to open, retrying", "Access denied, unable to connect", and one that allowed me to connect, but would silently fail at printing everything.

I am currently using the configuration files as listed in, under the thread posted by AdamPengelly at 01-19-04, 08:01 AM:

guest account = nobody
invalid users = root
netbios name = Samba
hosts allow = 192.168.

path = /pdfshare/pdfs
browseable = yes
writeable = yes
guest ok = yes
force user = nobody

path = /tmp
printable = yes
guest ok = yes
print command = /usr/bin/printpdf %s
lpq command =
lprm command =



DATE=`date +%b%d-%H%M%S`


ps2pdf $1 $OUTDIR/$DATE.temp
rm $1

I should note that I've changed the workgroup to MSHOME and the PDF output directory (in both) to /projects/smb/PDF.

Under /var/log/samba/log.smbd I get:

[2006/05/20 17:33:20, 0] printing/print_cups.c:cups_cache_reload(85)
Unable to connect to CUPS server localhost - Connection refused

This is where I'm lost at. Here's locate cups on my computer:


Do I have to do something with CUPS? I was under the impression that using Windows, it would send a post script file directly to Samba which would then run it against PS2PDF to create the PDF output. Or, am I messing up somewhere else? Any help REALLY appreciated. I've had just no luck with this...




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
acroread cannot read ps2pdf file peter72 Linux - Software 2 12-11-2005 04:58 PM
Does ps2pdf allow the insertion of bookmarts into pdf files pedrosan Linux - Software 0 04-29-2004 03:18 AM
ps2pdf only outputs Black and white PDF's vmikalinis Linux - Software 2 04-12-2004 04:00 PM
SuSE9 && Samba && Win2k DaFrEQ Linux - Software 2 01-27-2004 07:45 AM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 01:21 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration