Hi folks, I set up a while back, a Samba printer on one of my Linux (RH7.3+errata) that converts the postscript file generated (using a Apple Laserwrite driver) on a Win9x box into a PDF file and then transfers that PDF file to a shared folder on the originating PC - see below.
However, I have now set up a WinXP Pro box as a client for this printer, and while it works to the extent that the PDF file is generated and put on the client's disk, the originating application - Windows test page, or Outlook print were the ones I tried - hangs and then times out. Has anyone got any ideas why this is happening, and how I can fix it? smb.conf entry: [pdf] comment = PDF Generator path = /var/spool/samba browseable = yes public = yes guest ok = yes printable = yes print command = /usr/bin/smbtopdf '/var/spool/samba/' '%f' '%J' '%m' [EMAIL PROTECTED] root]# cat /usr/bin/smbtopdf #!/bin/bash -x exec >>/tmp/smbtopdf exec 2>&1 echo $@ path="$1" fname="$2" Job=`echo $3|perl -plne 's/[:\\\[\] ]/_/g'` machine="$4" echo "machine='$machine' file='$fname' job='$Job'" cd $path /usr/bin/ps2pdf -sPAPERSIZE=a4 $fname $fname.pdf /usr/bin/smbclient //$machine/PDFS$ -N<<EOF put $fname.pdf $Job.pdf EOF rm $fname $fname.pdf echo Done [EMAIL PROTECTED] root]# -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list