<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span></span></div><div><br></div> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116"> </div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" dir="ltr" class="ms__id1116"> <font size="2" face="Arial"> <div style="margin: 5px 0px; padding: 0px; border: 1px solid rgb(204, 204, 204); height: 0px; line-height: 0; font-size: 0px;" class="hr" contentEditable="false" readonly="true"></div> <b><span style="font-weight: bold;">From:</span></b> GCC Consulting <rkreiss@gccconsulting.net><br> <b><span style="font-weight: bold;">To:</span></b> 'Richard Hane' <yoresoft@sbcglobal.net>; 'file Pro Mailing List' <filepro-list@lists.celestial.com> <br>
<b><span style="font-weight: bold;">Sent:</span></b> Wednesday, April 18, 2012 10:23 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> RE: question using a menu script<br> </font> </div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116"> <br>
<br><br>> -----Original Message-----<br>> From: filepro-list-bounces+rkreiss=<a href="mailto:verizon.net@lists.celestial.com" ymailto="mailto:verizon.net@lists.celestial.com">verizon.net@lists.celestial.com</a><br>> [mailto:filepro-list-bounces+rkreiss=<a href="mailto:verizon.net@lists.celestial.com" ymailto="mailto:verizon.net@lists.celestial.com">verizon.net@lists.celestial.com</a>] On<br>> Behalf Of Richard Hane<br>> Sent: Tuesday, April 17, 2012 6:39 PM<br>> To: file Pro Mailing List<br>> Subject: question using a menu script<br>> <br>> Good afternoon list,<br>> <br>> Is it just me or has activity just died?<br>> <br>> Anyway, my question.<br>> <br>> First our system, 4 server Win 2003 using fpodbc and Print Wizard.<br>> <br>> I have 2 users that sometime print report to their printer and then again<br>> would rather print to a pdf. We use Print Wizard.<br>> <br>> In the past I set up
2 batch files, one for each operation. I also have<br>set up 2<br>> copies of each report; 1 with the pdf defintion and 1 with the users HP<br>printer<br>> type.<br>> <br>> My question is if use only 1 batch file but on the menu line defined a<br>script<br>> (F5) and added the Print Wizard pfpostprint as seen below, run the<br>> rreport then added another pfpostprint to set the state back to printer;<br>would<br>> that work?<br>> <br>> I probably would have to set pfprinter 2 times as well.<br>> <br>> set pfpostprint=C:\Program Files\Rasmussen Software, Inc\Print Wizard<br>> 4\printwiz /fpDF://V:\rickpdf\<br>> <br>> Thank in advance,<br>> Rick Hane<br>> Controller<br>> Deluxe Stitcher Company Inc<br>> ISP Stitching Products<br>> <a href="http://www.deluxestitcher.com" target="_blank">www.deluxestitcher.com</a><br><br>Suggestion: Use a clerk session with a menu selection for printing or
pdf.<br>Then use a system command to execute the correct option. I have set this up<br>for one of my clients and I works just fine.<br><br>Richard Kreiss<br>GCC Consulting<br>Office: 410-653-2813<br><br>Richard,</div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116"> </div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116">Thanks for the idea. It sounds like this would be the answer; however when I set it up it just plain didn't work. Nothing changed.</div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116"> </div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116">I set up a new file select_printer with 2 fields. Fld 1 ask press 1 for printer and 2 for pdf. Fld 2 asks for the printer name (ie. rick, eng,
rickpdf, etc.</div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116"> </div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116">Below is my processing..</div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116"> </div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116">1. if: 1="1" </div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116">then: ca="set pfprinter="{2{""; cb="set pfpostprint' "; goto dosys</div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116"> </div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116">2:if: 1="2" </div><div style="font-family: times new roman, new york,
times, serif; font-size: 12pt;" class="ms__id1116">then: ca="set pfprinter=rickpdf"</div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116"> </div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116">3. if: 1="2" <br>then: cb="set pfpostprint=C:\Program Files\Rasmussen Software, Inc\Print Wizard 4\printwiz /fpDF://V:\rickpdf\"<br><br>4. if: 1="2"</div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116">then: goto dosys</div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116"> </div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116">5. then: beep; errorbox "Must select 1 or 2 in 1st question"; restart</div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"
class="ms__id1116"> </div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116">6. then: end<br> </div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116">7. label: dosys</div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116">if:</div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116">then: system ca</div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116"> </div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116">8.if:<div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116">then: system cb</div> </div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"
class="ms__id1116">9. end</div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116"> </div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116">Do you see my problem or what I did wrong? BTW I do get a syntax error on the end of line 3 after the V:\ and yes this is a valid mapped drive.</div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116"> </div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116">I should point out for what it's worth; I am running in the virtual XP mode on a Win 7 O/S.</div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116"> </div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116">Thanks in
advance</div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116">Rick Hane</div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="ms__id1116"><var id="yui-ie-cursor"></var> </div> </div> </div></body></html>