<div dir="ltr"><div>Well I'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 <credit balance> (this is calculated inside the processing table), then I don't want to print it at all (hence setting the printer PFPRINTER to 'null)</div><div>Then when the next client statement is calculated and once it determines the ending 'balance', 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't printer the statement (PFPRINTER=null)</div>
<div> </div><div>I just want a way to 'switch' 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"><<a href="mailto:ScottWalker@ramsystemscorp.com" target="_blank">ScottWalker@ramsystemscorp.com</a>></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 "printer reset" 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>
> -----Original Message-----<br>
> From: filepro-list-<br>
> bounces+scottwalker=<a href="mailto:ramsystemscorp.com@lists.celestial.com">ramsystemscorp.com@lists.celestial.com</a><br>
> [mailto:<a href="mailto:filepro-list-">filepro-list-</a><br>
> bounces+scottwalker=<a href="mailto:ramsystemscorp.com@lists.celestial.com">ramsystemscorp.com@lists.celestial.com</a>] On Behalf Of<br>
> <a href="mailto:scooter6@gmail.com">scooter6@gmail.com</a><br>
> Sent: Tuesday, July 09, 2013 10:02 AM<br>
> To: <a href="mailto:filepro-list@lists.celestial.com">filepro-list@lists.celestial.com</a><br>
> Subject: PFPRINTER variable<br>
><br>
> I have some processing that prints our statements each month and it's<br>
> worked fine with no problem for years.<br>
><br>
> The PFPRINTER is set through a menu the user passes through, so they have<br>
> the option to printer to 3-4 different printers....no problem there<br>
><br>
> Now we've gotten more and more clients with a <credit balance> so I want<br>
> to be able to set PFPRINTER to 'null' if there is <credit balance><br>
><br>
> So, is there a way to set a variable to whatever PFPRINTER is set to when<br>
> the user executes the processing.....then put a GOSUB if it's a <credit><br>
> that will set PRPRINTER=null If it's NOT <credit balance> then I want to<br>
> obviously reset PFPRINTER to whatever it was when user executed the<br>
> command....<br>
><br>
> I haven't been able to figure out how to get the 'value' of PFPRINTER<br>
> pulled into processing to be able to 'manipulate' it?<br>
><br>
> Thanks<br>
> Scott<br>
> PDM<br>
</div></div>> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <a href="http://mailman.celestial.com/pipermail/filepro-" target="_blank">http://mailman.celestial.com/pipermail/filepro-</a><br>
> list/attachments/20130709/67e18e99/attachment.html<br>
> _______________________________________________<br>
> Filepro-list mailing list<br>
> <a href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a><br>
> Subscribe/Unsubscribe/Subscription Changes<br>
> <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>