Days ago, user requested me to change the layout to fit for her new pre-printed paper. She is in Ireland and thousands kilometers away from Singapore. There's no way for me to get that pre-printed paper and test myself. So I have to ask her favour to check the printout. The first printout was very ugly and totally off-aligned. I had an idea to print a manually created file direct to her printer. So I download her request's output file and edit it with a hex editor , add a rule into this text file, say:
1234567890123456789012345678901234567890
And I upload this file into my apps unix server.
Then I use lp to print it
lp -c -d pr-cle-invdm01 text.txt
I also checked the printer SRW driver definition in apps to make sure if I missed any initialization string and reset string. Fortunately , there's neither init string nor reset string. So no need to use FNDPRESC.