How to write a script file to insert "form feed" into ASCII file?
Posted on 2000-04-14
I am using SEIKOSHA BP-5780II printer for my Solaris server print job.
I have create an ASCII file from my application but when lp the ASCII file to printer the report does not form feed well and there is no special character in the ASCII file for form feed.
So I need a script file to insert "form feed" into the ASCII file when detected a string start with "REPORT ID". From the printer manual Hexadecimal & Decimal value for form feed is "[0C]H D".