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.
几天前,一位用户请求我更改布局以适应她的预印纸。由于她身处爱尔兰,而我在新加坡,无法拿到预印纸进行实际测试。因此,我尝试了一种方法:下载输出文件并使用十六进制编辑器进行编辑,添加了一个规则到文本文件中,然后上传到服务器并通过打印机直接打印以检查布局。
10万+

被折叠的 条评论
为什么被折叠?



