<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 <boaz@mirrotek.com><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>><BR>> Date: Thu, 6 Aug 2009 11:51:16 -0700 (PDT)<BR>> From: Richard Hane <<A href="mailto:yoresoft@sbcglobal.net" ymailto="mailto:yoresoft@sbcglobal.net">yoresoft@sbcglobal.net</A>><BR>> Subject: Quick Print Wizard question<BR>> To: <A href="mailto:filepro-list@lists.celestial.com" ymailto="mailto:filepro-list@lists.celestial.com">filepro-list@lists.celestial.com</A>, Bob Rasmussen <<A href="mailto:ras@anzio.com" ymailto="mailto:ras@anzio.com">ras@anzio.com</A>><BR>> Cc: Rick Hane <<A href="mailto:rhane@deluxestitcher.com"
ymailto="mailto:rhane@deluxestitcher.com">rhane@deluxestitcher.com</A>><BR>> Message-ID: <<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>><BR>> Content-Type: text/plain; charset="iso-8859-1"<BR>><BR>> System:<BR>> fileProODBC 5.0.15 (16 user network)<BR>> Testing on a workstation with Windows XP Pro<BR>> Print Wizard verion 3.0<BR>><BR>> Here is my batch file:<BR>> @echo off<BR>> rem This File created by install shield on 8-25-2004<BR>> set PATH=C:\WINDOWS\COMMAND<BR>> set PFDSK=V<BR>> set PFDATA=V:<BR>> set PFPROG=V:<BR>> set PFDIR=<BR>> set PFLMHOST=server2007<BR>> set PFMENU=V:\fp\menus\rick<BR>> set PFGLOB=<BR>> set PFCONFIG=<BR>> set pfpostprint=c:\program files\printwiz30\printwiz.exe /fpdf c:\quote.txt /q<BR>> set
PATH=%pfprog%;%PFPROG%\fp;%path%<BR>> echo stuff > fp$$$$$$.bat<BR>> del fp$$*.bat>NUL<BR>> %pfprog%\fp\p<BR>><BR>> My printer definition<BR>> printer12|? rickpdf,printwiz,c:\quote.txt,Create PDF<BR>><BR>> 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>><BR>> 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>><BR>> Thank you in advance,<BR>> Rick Hane<BR>> Deluxe Stitcher Company Inc.<BR>> <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. 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. 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"> </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"> </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"> </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 - 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. 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 (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 & 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"> </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"> </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"> </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"> </DIV></DIV></div></body></html>