<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 08/11/2018 02:55 PM, Laura Brody via Filepro-list wrote:<br>
<blockquote type="cite"
cite="mid:CAMDnY5OyE4jtb4U9sT+zSKkhzzNon_o3UhD_CA46khemrU6PRg@mail.gmail.com">
<pre wrap="">printer7=txt,nocodes,|cat ><i class="moz-txt-slash"><span class="moz-txt-tag">/</span>home<span class="moz-txt-tag">/</span></i>$LOGNAME/report.txt</pre>
</blockquote>
I would suggest something like<br>
<br>
printer7=txt,nocodes,|cat > /home/$LOGNAME/report$$.txt<br>
<br>
<br>
if you may have the need to keep the history and not override one
report with another (of course, a sweeping process is advised).<br>
<br>
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.<br>
<br>
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.<br>
<br>
<br>
</body>
</html>