<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Boaz Bezborodko &lt;boaz@mirrotek.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> filepro-list@lists.celestial.com<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Friday, August 7, 2009 10:48:32 AM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Quick Print Wizard question<BR></FONT><BR>&gt;<BR>&gt; Date: Thu, 6 Aug 2009 11:51:16 -0700 (PDT)<BR>&gt; From: Richard Hane &lt;<A href="mailto:yoresoft@sbcglobal.net" ymailto="mailto:yoresoft@sbcglobal.net">yoresoft@sbcglobal.net</A>&gt;<BR>&gt; Subject: Quick Print Wizard question<BR>&gt; To: <A href="mailto:filepro-list@lists.celestial.com" ymailto="mailto:filepro-list@lists.celestial.com">filepro-list@lists.celestial.com</A>, Bob Rasmussen &lt;<A href="mailto:ras@anzio.com" ymailto="mailto:ras@anzio.com">ras@anzio.com</A>&gt;<BR>&gt; Cc: Rick Hane &lt;<A href="mailto:rhane@deluxestitcher.com"
 ymailto="mailto:rhane@deluxestitcher.com">rhane@deluxestitcher.com</A>&gt;<BR>&gt; Message-ID: &lt;<A href="mailto:802935.99947.qm@web81408.mail.mud.yahoo.com" ymailto="mailto:802935.99947.qm@web81408.mail.mud.yahoo.com">802935.99947.qm@web81408.mail.mud.yahoo.com</A>&gt;<BR>&gt; Content-Type: text/plain; charset="iso-8859-1"<BR>&gt;<BR>&gt; System:<BR>&gt; fileProODBC 5.0.15 (16 user network)<BR>&gt; Testing on a workstation with Windows XP Pro<BR>&gt; Print Wizard verion 3.0<BR>&gt;<BR>&gt; Here is my batch file:<BR>&gt; @echo off<BR>&gt; rem This File created by install shield on 8-25-2004<BR>&gt; set PATH=C:\WINDOWS\COMMAND<BR>&gt; set PFDSK=V<BR>&gt; set PFDATA=V:<BR>&gt; set PFPROG=V:<BR>&gt; set PFDIR=<BR>&gt; set PFLMHOST=server2007<BR>&gt; set PFMENU=V:\fp\menus\rick<BR>&gt; set PFGLOB=<BR>&gt; set PFCONFIG=<BR>&gt; set pfpostprint=c:\program files\printwiz30\printwiz.exe /fpdf c:\quote.txt /q<BR>&gt; set
 PATH=%pfprog%;%PFPROG%\fp;%path%<BR>&gt; echo stuff &gt; fp$$$$$$.bat<BR>&gt; del fp$$*.bat&gt;NUL<BR>&gt; %pfprog%\fp\p<BR>&gt;<BR>&gt; My printer definition<BR>&gt; printer12|? rickpdf,printwiz,c:\quote.txt,Create PDF<BR>&gt;<BR>&gt; I am trying to create a pdf of the output from filepro called quote.? The file quote.txt is created correctly and exists in the C:\directory.? But the above does not create a file called quote.pdf.? If I remove the "/fpdf c:\quote.txt" it will print correctly.? It does create a file called pdf that can not be opened.<BR>&gt;<BR>&gt; What am I doing wrong?? Also on the printer definition is it possible to let fp create the name of the output based on the data in a field?<BR>&gt;<BR>&gt; Thank you in advance,<BR>&gt; Rick Hane<BR>&gt; Deluxe Stitcher Company Inc.<BR>&gt; <A href="http://www.deluxestitcher.com/" target=_blank>www.deluxestitcher.com</A><BR>My own preference in using PrintWizard is to print to a file starting
 <BR>with a !PDF command to make Printwizard generate the file I want and <BR>then open it from within processing.&nbsp; By controlling file names I can <BR>avoid multiple users trying to use the same file as might happen when <BR>using PFPOSTPRINT.<BR><BR>Boaz<BR></DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">First I want to thank Bob Rasmussen for his helpful email yesterday.&nbsp; I am posting this to the list in case anyone else needs this info.</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">Boaz, I accomplised the same thing but did it a little differently.</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">Here is what I did.</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">In my batch file I have this line - set pfpostprint=c:\program files\printwiz30\printwiz /fpDF://u:\pdfquote\quote.pdf /quiet</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">My printer definition is -&nbsp;printer12| rickpdf,printwiz,c:\quote.txt,Create PDF</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">Here is the filepro menu scrip file which does everything.&nbsp; Note V: is the mapped drive for fpodbc and u: is mapped to the users folder on the main server.</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">cd\</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">cd fp</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">rreport repair -f quote -v what -a -u&nbsp; (this process prints the quote.txt file and places it in u:\pdfquote)</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">u:</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">cd pdfquote</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">rreport reprqte -f cleanup -a (this process renames the pdf with a unique repair number, then deletes the files quote.txt &amp; quote.pdf)</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">cd ..</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">v:</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">cd\</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">This works perfectly and is very fast.</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">Again thanks to all who replied.</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">Rick Hane</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">Deluxe Stitcher Company Inc</DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif"><A href="http://www.deluxestitcher.com">www.deluxestitcher.com</A></DIV>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">&nbsp;</DIV></DIV></div></body></html>