Use of variable or system maintained field in config file printer definition?

Jose Lerebours fpgroups at gmail.com
Sun Aug 12 07:12:17 PDT 2018


On 08/11/2018 02:55 PM, Laura Brody via Filepro-list wrote:
> printer7=txt,nocodes,|cat >/home/$LOGNAME/report.txt
I would suggest something like

printer7=txt,nocodes,|cat > /home/$LOGNAME/report$$.txt


if you may have the need to keep the history and not override one report 
with another (of course, a sweeping process is advised).

There is also the "printer" command and its subsets you can use to 
manage targeted output and printer type should you wish to include 
printer code at any given moment.

I always liked asking user for his/her output destination of choice and 
set the printer based on chosen option.  This, paired with table based 
printer definitions (name, type, etc) one can easily keep a dynamic and 
uniform UI when generating reports/forms.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20180812/88f82058/attachment.html>


More information about the Filepro-list mailing list