How to append filepro generated text to the first line of a filepro generated file.

oldtony tony at ynotsoftware.com
Fri May 1 10:51:28 PDT 2020


The file generation is on Linux.  P is a windows share folder. Also 
using the GREAT ANZIO Printwizard.

filepro generates a file for me (a text file of a printout). file is 
P:\files\prt\wolfprt

filepro generates this string for me:     !PDF 
/fP:\files\prt\wolfprt.pdf /email="tony at ynotsoftware.com /j"this is a test"

When i manually edit the file P:\files\prt\wolfprt  and put this string 
as the first line of the file P:\files\prt\wolfprt i get the desired 
results. That is, when i copy the edited file to Print Wizard despool 
directory a email is sent to me with the report is attached as a PDF file.

the string filepro generates has lots of special characters. which has 
caused issues for me

i want to do a system call using something like AWK or sed to add this 
string as the first line of the file p:\files\prt\wolfprt.

I am hoping one of you experts will help

thanks

Old Tony

-- 
tony at ynotsoftware.com
Tony Freehauf (Old Tony)
YNOT Software & PC Support
815.467.2179
YNOT sounds like "Why Not."
YNOT let us help you.



More information about the Filepro-list mailing list