<div dir="ltr"><div>Well I&#39;m only changing WHERE to print to based on the balance of the statement</div><div>If there is a balance due, it should print the statement as usual to the selected printer the user chose thru a menu option prior to executing the processing</div>
<div>IF there is a &lt;credit balance&gt; (this is calculated inside the processing table), then I don&#39;t want to print it at all (hence setting the printer PFPRINTER to &#39;null)</div><div>Then when the next client statement is calculated and once it determines the ending &#39;balance&#39;, the processing should detect which route to go</div>
<div> </div><div>In a nutshell, the processing calculates the total ending balance....either a positive or negative number</div><div>If positive number, print the statement to what PFPRINTER is set to</div><div>If negative number, don&#39;t printer the statement (PFPRINTER=null)</div>
<div> </div><div>I just want a way to &#39;switch&#39; the value of PFPRINTER based on the calculation of the processing</div><div> </div><div>Hope that helps to clarify</div><div> </div><div>Scott</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Jul 9, 2013 at 10:33 AM, Scott Walker <span dir="ltr">&lt;<a href="mailto:ScottWalker@ramsystemscorp.com" target="_blank">ScottWalker@ramsystemscorp.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If I understand what you want, would not a &quot;printer reset&quot; put the printer<br>
setting back to what it was before you changed it?<br>
<br>
Regards,<br>
<br>
Scott<br>
<div><div class="h5"><br>
<br>
&gt; -----Original Message-----<br>
&gt; From: filepro-list-<br>
&gt; bounces+scottwalker=<a href="mailto:ramsystemscorp.com@lists.celestial.com">ramsystemscorp.com@lists.celestial.com</a><br>
&gt; [mailto:<a href="mailto:filepro-list-">filepro-list-</a><br>
&gt; bounces+scottwalker=<a href="mailto:ramsystemscorp.com@lists.celestial.com">ramsystemscorp.com@lists.celestial.com</a>] On Behalf Of<br>
&gt; <a href="mailto:scooter6@gmail.com">scooter6@gmail.com</a><br>
&gt; Sent: Tuesday, July 09, 2013 10:02 AM<br>
&gt; To: <a href="mailto:filepro-list@lists.celestial.com">filepro-list@lists.celestial.com</a><br>
&gt; Subject: PFPRINTER variable<br>
&gt;<br>
&gt; I have some processing that prints our statements each month and it&#39;s<br>
&gt; worked fine with no problem for years.<br>
&gt;<br>
&gt; The PFPRINTER is set through a menu the user passes through, so they have<br>
&gt; the option to printer to 3-4 different printers....no problem there<br>
&gt;<br>
&gt; Now we&#39;ve gotten more and more clients with a &lt;credit balance&gt; so I want<br>
&gt; to be able to set PFPRINTER to &#39;null&#39; if there is &lt;credit balance&gt;<br>
&gt;<br>
&gt; So, is there a way to set a variable to whatever PFPRINTER is set to when<br>
&gt; the user executes the processing.....then put a GOSUB if it&#39;s a &lt;credit&gt;<br>
&gt; that will set PRPRINTER=null If it&#39;s NOT &lt;credit balance&gt; then I want to<br>
&gt; obviously reset PFPRINTER to whatever it was when user executed the<br>
&gt; command....<br>
&gt;<br>
&gt; I haven&#39;t been able to figure out how to get the &#39;value&#39; of PFPRINTER<br>
&gt; pulled into processing to be able to &#39;manipulate&#39; it?<br>
&gt;<br>
&gt; Thanks<br>
&gt; Scott<br>
&gt; PDM<br>
</div></div>&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: <a href="http://mailman.celestial.com/pipermail/filepro-" target="_blank">http://mailman.celestial.com/pipermail/filepro-</a><br>
&gt; list/attachments/20130709/67e18e99/attachment.html<br>
&gt; _______________________________________________<br>
&gt; Filepro-list mailing list<br>
&gt; <a href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a><br>
&gt; Subscribe/Unsubscribe/Subscription Changes<br>
&gt; <a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" target="_blank">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br>
<br>
<br>
</blockquote></div><br></div>