<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Bob<o:p></o:p></p><p class=MsoNormal>I emailed you and the List, a week or so ago asking how to get started using the Print Wizard Demo to turn my FP5.0, Windows, printouts with Print Codes to my HP-4050 to PDF's.<o:p></o:p></p><p class=MsoNormal>Here's what worked for me.<o:p></o:p></p><p class=MsoNormal>The the following input processing uses Reader to display the PDF generated by PW of an Invoice selected from Field 1 input, for viewing, printing, emailing etc. My only problem, Print Wizard UI solved, by allowing me to tell PW where to send the PDF. It had to be in C:\stprt. The PW default was in \Documents and Settings\……\Print Wizard 4 on my workstation. Our IT people don't allow workstations access to the path beginning with Documents & Settings (this took me a over an hours to figure out) . We're only allowed access to the C:\stprt directory.<o:p></o:p></p><p class=MsoNormal>Line 8 did the conversion perfectly.<o:p></o:p></p><p class=MsoNormal>Also, unexpected, I was working on this from home using gotomypc, and I was able to easily print the pdf to the dumb windows printer attached to my laptop.<o:p></o:p></p><p class=MsoNormal>Everyone here loves the results, and I know PW can do much more. There are 11 of us, should we purchase 1 Print Wizard 4 for each, or is there a version to put on the server?<o:p></o:p></p><p class=MsoNormal>Note: I always program on a Stand file in Add Records Mode. The TAB to exit, I kept from the Tandy Accounting Package days. This is just test processing, if a existing<o:p></o:p></p><p class=MsoNormal>invoice number wasn't entered, Reader would just present a blank. FP is on the S Drive.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> 1 ------- - - - - - - - - - - - - - - - -<o:p></o:p></p><p class=MsoNormal> <span style='font-family:"Arial","sans-serif"'>◄</span> If:<o:p></o:p></p><p class=MsoNormal> Then: end<o:p></o:p></p><p class=MsoNormal> 2 ------- - - - - - - - - - - - - - - - -<o:p></o:p></p><p class=MsoNormal>@wlf1 <span style='font-family:"Arial","sans-serif"'>◄</span> If: @sk eq "rtab"<o:p></o:p></p><p class=MsoNormal> Then: delete ; close ; exit<o:p></o:p></p><p class=MsoNormal> 3 ------- - - - - - - - - - - - - - - - -<o:p></o:p></p><p class=MsoNormal> <span style='font-family:"Arial","sans-serif"'>◄</span> If: 'save inputed Invoice Number for Output Selection<o:p></o:p></p><p class=MsoNormal> Then: putenv "invno",1<o:p></o:p></p><p class=MsoNormal> 4 ------- - - - - - - - - - - - - - - - -<o:p></o:p></p><p class=MsoNormal> <span style='font-family:"Arial","sans-serif"'>◄</span> If: 'name the output txt file with the actual Invoice Number<o:p></o:p></p><p class=MsoNormal> Then: ptxtfile = "C:\stprt\Inv" & 1 & ".txt"<o:p></o:p></p><p class=MsoNormal> 5 ------- - - - - - - - - - - - - - - - -<o:p></o:p></p><p class=MsoNormal> <span style='font-family:"Arial","sans-serif"'>◄</span> If: 'name the output pdf file<o:p></o:p></p><p class=MsoNormal> Then: pdffile = "Inv" & 1 & ".pdf"<o:p></o:p></p><p class=MsoNormal> 6 ------- - - - - - - - - - - - - - - - -<o:p></o:p></p><p class=MsoNormal> <span style='font-family:"Arial","sans-serif"'>◄</span> If: 'print HP-4050 output as txt file to C:\stprt directory<o:p></o:p></p><p class=MsoNormal> Then: system "\fp\dreport SILines -f ILines -v sILines -ij -a -p" < ptxtfile<o:p></o:p></p><p class=MsoNormal> 7 ------- - - - - - - - - - - - - - - - -<o:p></o:p></p><p class=MsoNormal> <span style='font-family:"Arial","sans-serif"'>◄</span> If: 'change directory<o:p></o:p></p><p class=MsoNormal> Then: chdir "C:\stprt"<o:p></o:p></p><p class=MsoNormal> 8 ------- - - - - - - - - - - - - - - - -<o:p></o:p></p><p class=MsoNormal> <span style='font-family:"Arial","sans-serif"'>◄</span> If: 'use printwiz to generate txt to pdf <o:p></o:p></p><p class=MsoNormal> Then: system "C:\Program Files\Rasmussen Software, Inc\Print Wizard 4\printwiz" < ptxtfile < "/pdf /quiet"<o:p></o:p></p><p class=MsoNormal> 9 ------- - - - - - - - - - - - - - - - -<o:p></o:p></p><p class=MsoNormal> <span style='font-family:"Arial","sans-serif"'>◄</span> If: 'use Reader to display & process pdf file<o:p></o:p></p><p class=MsoNormal> Then: system "start AcroRd32.exe" < pdffile<o:p></o:p></p><p class=MsoNormal> 10 ------- - - - - - - - - - - - - - - - -<o:p></o:p></p><p class=MsoNormal> <span style='font-family:"Arial","sans-serif"'>◄</span> If: 'change back to original directory<o:p></o:p></p><p class=MsoNormal> Then: chdir "S:"<o:p></o:p></p><p class=MsoNormal> 11 ------- - - - - - - - - - - - - - - - -<o:p></o:p></p><p class=MsoNormal> <span style='font-family:"Arial","sans-serif"'>◄</span> If:<o:p></o:p></p><p class=MsoNormal> Then: 1 = "" ; screen ,1<o:p></o:p></p><p class=MsoNormal> 12 ------- - - - - - - - - - - - - - - - -<o:p></o:p></p><p class=MsoNormal>declare<span style='font-family:"Arial","sans-serif"'>◄</span> If:<o:p></o:p></p><p class=MsoNormal> Then: declare ptxtfile , pdffile<o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Bob Simcoe<o:p></o:p></span></p><p class=MsoNormal><i><span style='color:#1F497D'>CFO<o:p></o:p></span></i></p><p class=MsoNormal><span style='color:#1F497D'><a href="http://www.midcityoffice.com/"><span style='color:blue'>Mid-City Office Equipment Inc.</span></a> <o:p></o:p></span></p><p class=MsoNormal><i><span style='color:#1F497D'>A Women Business Enterprise<o:p></o:p></span></i></p><p class=MsoNormal><span style='color:#1F497D'>P. 716.832.0138 x201<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>C. 716.725.8311<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>F. 716.832.0892<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><a href="http://www.facebook.com/pages/MidCity-Office-Furniture/298763689497?ref=ts"><span style='color:blue'>Follow us on Facebook</span></a><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>For a Better Day at the Office<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div>
.<br>
.<br>
.<br>
.<br>
.<br>
.<br>
.<br>
.<br>
*** Message Virus Free. Email scanned by I-FILTER ***<br>
Corporate Anti-Spam and Anti-Virus email service by www.I-EVOLVE.com<br>
</body>
</html>