<div dir="ltr"><div>Still having issues with this</div><div> </div><div>This processing is subtotaled and has @wbrk1 where it does the calculating</div><div>The premise is the &#39;top&#39; part of the report prints line detail from the payment file - then @wrbk1 calculates the totals, if they owe us or we owe them</div>
<div>I have tried putting different logic in place including a running variable on &#39;balance&#39; and if it&#39;s negative not to print etc</div><div>From what I can see the &#39;print&#39; command only works on &#39;records&#39; and not once processing is finishing and it&#39;s spitting out the report?</div>
<div> </div><div>I can post the code if that would help - just trying to figure out can I even prevent printing once it gets to @wbrk1 ?  Or do I need to &#39;kill&#39; the print BEFORE it gets there?</div><div> </div><div>
thanks</div><div>Scott</div><div>PDM</div><div> </div><div> </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 9, 2013 at 11:52 AM, Nancy Palmquist <span dir="ltr">&lt;<a href="mailto:nlp@vss3.com" target="_blank">nlp@vss3.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Scott,<br>
<br>
getenv(&quot;PFPRINTER&quot;) is one way to find out what is loaded into that<br>
variable.<br>
<br>
However, if it is not set and the default is running, you can get the<br>
current printer from @pr  (Current printer name) or @pt (current printer<br>
type)<br>
<br>
My gotcha&#39;s:<br>
<br>
Be sure you never name printers the same as tables. Filepro is clever<br>
enough to print to any printer that has a given table assigned.  So if<br>
you have a number of printers with a table called &quot;laser&quot; you can direct<br>
output to &quot;laser&quot; and it will turn up on one of those printers in the<br>
queue.  A neat trick but annoying if the printer you want is next to you<br>
and it never prints.<br>
<br>
If you change the printer name in processing, also set the printer type.<br>
<br>
I know FilePro will assume but I find it always a better rule to be<br>
clear as to what you want.  Saves much troubleshooting.<br>
<br>
Nancy<br>
<div><div class="h5"><br>
<br>
<br>
<br>
<br>
On 7/9/2013 10:01 AM, <a href="mailto:scooter6@gmail.com">scooter6@gmail.com</a> wrote:<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 to<br>
&gt; 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<br>
&gt; If it&#39;s NOT &lt;credit balance&gt; then I want to obviously reset PFPRINTER to<br>
&gt; whatever it was when user executed the 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><div class="im">&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: <a href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20130709/67e18e99/attachment.html" target="_blank">http://mailman.celestial.com/pipermail/filepro-list/attachments/20130709/67e18e99/attachment.html</a><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>
&gt;<br>
<br>
--<br>
</div>Nancy Palmquist         MOS &amp; filePro Training Available<br>
Virtual Software Systems    Web Based Training and Consulting<br>
PHONE: <a href="tel:%28412%29%20835-9417" value="+14128359417">(412) 835-9417</a>           Web site:  <a href="http://www.vss3.com" target="_blank">http://www.vss3.com</a><br>
<div class="HOEnZb"><div class="h5"><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>
</div></div></blockquote></div><br></div>