Displaying 3 results from an estimated 3 matches for "pdfcreate".
Did you mean:
md_create
2002 Jul 29
5
HOWTO Create a PDF Writer in samba
...and make it executable
by whatever your guest user for samba is :
#!/bin/bash
#convert to pdf $1 = spool file $2 = uid $3 = gid $4 = machinename $5 = ip
FILENAME=pdf-$2-`date +%d%m%H%M%S`.pdf
OUTPUTPATH=/mnt/raid/topdf
echo converting $1 to $FILENAME for $2 of machine $4... >>
$OUTPUTPATH/pdfcreate.log
/usr/bin/ps2pdf $1 $OUTPUTPATH/$FILENAME >> $OUTPUTPATH/pdfcreate.log 2>>
$OUTPUTPATH/pdfcreate.log
echo conversion finished, removing $1 >> $OUTPUTPATH/pdfcreate.log
rm $1
echo done, setting permissions and notifing user >> $OUTPUTPATH/pdfcreate.log
chown $2:$3 /mnt/ra...
2003 Jan 30
1
not enough charcters available in %J or confusing blanks?
...d it:
1. (completely failed):
Jobname in Windows:
"C:\Dokumente und Einstellungen\Administrator\Eigene Dateien\Neu
Textdatei.txt"
Jobname in %J:
"C:\Dokumente und Einstellungen\"
[2003/01/30 01:05:12, 3] printing/print_generic.c:print_run_command(88)
Running the command `( /pdfcreate.sh smbprn.000175.ChIgbF ~root
\\\\linux\\root tb2 192.168.0.7 "C:\Dokumente und Einstellungen\" ) &'
gave 2
2.(okay):
Jobname in Windows:
"C:\Programme\Neu Textdatei.txt"
Jobname in %J:
"C:\Programme\Neu Textdatei.txt"
[2003/01/30 01:17:01, 3] printing/prin...
2005 Feb 23
0
printer access slow
...uid + GID, %m = machine name, %I = ip, %H = homedir
print command = /usr/sbin/pdfprint %s %U %m %I %H '%J'
use client driver = yes
lpq command =
lprm command =
===============================
/usr/sbin/pdfprint:
===============================
OUTPUTPATH=/usr/local/pdfs
LOGFILE=$OUTPUTPATH/pdfcreate.rtf
FILENAME="$2-$6.pdf"
echo "converting file \"$6\", spooled to \"$1\" to file \"$FILENAME\" for
user \"$2\" on machine \"$4\"... " >> $LOGFILE
echo "" >> $LOGFILE
/usr/bin/ps2pdf $1 "$OUTPUTPATH/$...