<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Laura, <div class=""><br class=""></div><div class="">That is the exact solution I was looking for. Thank you very much, <br class=""><div class="">
<div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2; margin: 0px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; color: rgb(121, 121, 121);"><br class="Apple-interchange-newline"><br class=""></div><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2; margin: 0px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; color: rgb(121, 121, 121);">James Flanagan</div><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2; margin: 0px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; color: rgb(0, 106, 227);"><span class="" style="text-decoration: underline;"><a href="http://Flantec.com/" class="">Flantec.com</a></span></div><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2; margin: 0px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; color: rgb(121, 121, 121); min-height: 14px;"><br class=""></div><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2; margin: 0px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; color: rgb(0, 106, 227);"><span class="" style="color: rgb(121, 121, 121);">email:<span class="Apple-tab-span" style="white-space: pre;"> </span><a href="mailto:James@Flantec.com" class=""><span class="" style="color: rgb(0, 106, 227);">James@Flantec.com</span></a></span></div><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2; margin: 0px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; color: rgb(121, 121, 121);">mobile:<span class="Apple-tab-span" style="white-space: pre;"> </span>760-458-8498</div><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2; margin: 0px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; color: rgb(121, 121, 121);">home: <span class="Apple-tab-span" style="white-space: pre;"> </span>219-221-6219</div><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2; margin: 0px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; color: rgb(0, 106, 227);"><span class="" style="color: rgb(121, 121, 121);">text:<span class="Apple-tab-span" style="white-space: pre;"> </span><a href="mailto:7604588498@txt.att.net" class=""><span class="" style="color: rgb(0, 106, 227);">7604588498@txt.att.net</span></a></span></div><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2; margin: 0px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; color: rgb(121, 121, 121); min-height: 14px;"><br class=""></div><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2; margin: 0px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; color: rgb(121, 121, 121);">Skype:<span class="Apple-tab-span" style="white-space: pre;"> </span>Flantec</div><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2; margin: 0px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; color: rgb(0, 106, 227);"><span class="" style="color: rgb(121, 121, 121);">ichat:<span class="Apple-tab-span" style="white-space: pre;"> </span><span class="" style="color: rgb(0, 106, 227);"><a href="mailto:James@Flantec.com" class="">James@Flantec.com</a><span class="Apple-tab-span" style="white-space: pre;"> </span></span></span></div><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2; margin: 0px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; color: rgb(121, 121, 121); min-height: 14px;"><br class=""></div><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2; margin: 0px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; color: rgb(121, 121, 121);">home:<span class="Apple-tab-span" style="white-space: pre;"> </span>1901 Cidermill Road</div><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2; margin: 0px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; color: rgb(121, 121, 121);"><span class="Apple-tab-span" style="white-space: pre;"> </span>Michigan City, IN 46360</div>
</div>
<div style=""><br class=""><blockquote type="cite" class=""><div class="">On Aug 11, 2018, at 2:55 PM, Laura Brody <<a href="mailto:laura.k.brody@gmail.com" class="">laura.k.brody@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="auto" class=""><div class="">If you send the output through a pipe, rather than direct to a filename, the shell gets involved and will expand environment variables:</div><div dir="auto" class=""><br class=""></div><div dir="auto" class=""><span style="font-family:sans-serif" class="">printer7=txt,nocodes,|cat >/home/$LOGNAME/</span><span style="font-family:sans-serif" class="">report.txt</span></div><div dir="auto" class=""><font face="sans-serif" class=""><br class=""></font></div><div dir="auto" class=""><font face="sans-serif" class="">This is one of the rare cases where a "useless use of cat" isn't so useless.</font></div><div dir="auto" class=""><font face="sans-serif" class=""><br class=""></font></div><div dir="auto" class=""><font face="sans-serif" class="">Laura Brody</font></div><div dir="auto" class=""><font face="sans-serif" class=""><br class=""></font></div><div dir="auto" class=""><font face="sans-serif" class=""><br class=""></font></div><div dir="auto" class=""><div class="gmail_quote" dir="auto"><div dir="ltr" class="">On Sat, Aug 11, 2018, 2:14 PM James Flanagan via Filepro-list <<a href="mailto:filepro-list@lists.celestial.com" class="">filepro-list@lists.celestial.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Filepro 5.7.00.09D4<br class="">
FreeBSD 10.3<br class="">
<br class="">
What I am trying to is something like the following so that printer’s output destination is controlled by the value of a variable. Otherwise I would need to define a separate printer for each user, which is too unwieldily. And yes, I realize, I could print to a single destination, such as /tmp and then use a system command to move the file with appropriate variable right afterwards (which is actually what I am doing now). However, if possible, I would much prefer to be able to have the printer conditionally put the output directly where it is intended to go, all in a single step. <br class="">
<br class="">
Is this possible in Filepro? The 2 examples below do NOT work and the variables are treated as actual values, and not what the variable represents. <br class="">
<br class="">
printer7=txt,nocodes,>/home/@id/report.txt<br class="">
<br class="">
Or <br class="">
<br class="">
printer7=txt,nocodes,>home/$LOGNAME/report.txt<br class="">
<br class="">
Thank you very much, in advance. <br class="">
<br class="">
<br class="">
James Flanagan<br class="">
<a href="http://Flantec.com" class="">Flantec.com</a> <<a href="http://flantec.com/" rel="noreferrer noreferrer" target="_blank" class="">http://flantec.com/</a>><br class="">
<br class="">
<a href="mailto:James@Flantec.com" class="">email: James@Flantec.com</a> <mailto:<a href="mailto:James@Flantec.com" target="_blank" rel="noreferrer" class="">James@Flantec.com</a>><br class="">
mobile: 760-458-8498<br class="">
home: 219-221-6219<br class="">
text: <a href="mailto:7604588498@txt.att.net" target="_blank" rel="noreferrer" class="">7604588498@txt.att.net</a> <mailto:<a href="mailto:7604588498@txt.att.net" target="_blank" rel="noreferrer" class="">7604588498@txt.att.net</a>><br class="">
<br class="">
Skype: Flantec<br class="">
ichat: <a href="mailto:James@Flantec.com" class="">James@Flantec.com</a> <mailto:<a href="mailto:James@Flantec.com" target="_blank" rel="noreferrer" class="">James@Flantec.com</a>> <br class="">
<br class="">
home: 1901 Cidermill Road<br class="">
Michigan City, IN 46360<br class="">
<br class="">
-------------- next part --------------<br class="">
An HTML attachment was scrubbed...<br class="">
URL: <<a href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20180811/109c481f/attachment.html" rel="noreferrer noreferrer" target="_blank" class="">http://mailman.celestial.com/pipermail/filepro-list/attachments/20180811/109c481f/attachment.html</a>><br class="">
_______________________________________________<br class="">
Filepro-list mailing list<br class="">
<a href="mailto:Filepro-list@lists.celestial.com" target="_blank" rel="noreferrer" class="">Filepro-list@lists.celestial.com</a><br class="">
Subscribe/Unsubscribe/Subscription Changes<br class="">
<a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" rel="noreferrer noreferrer" target="_blank" class="">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br class="">
</blockquote></div></div></div>
</div></blockquote></div><br class=""></div></body></html>