|
Post by nelsonhd on Mar 4, 2021 18:46:55 GMT 1
Hello: I have recommended someone to use vDos and it's having problems when printing invoices due to the entire text being condensed. The text begins with a cancel condensation command (Alt+18) or DC2 to cover the report header up to the beginning of the details. Then the report sends Alt+15 or SI to start condensing up to the footer. The issue happens when printing from the DataFlex runtime in vDos to an Epson LX-350 printer. When using NTVDM, printing is normal. Also, if we print the #lpt1.asc from the vDos command line using type #lpt1.asc > lpt1, the text prints correctly. The user is using v2020.03 and we tried using an older release to see if it makes a difference but doesn't. I attached the #lpt1.asc as it was printed from DataFlex. Regards, Nelson. Attachments:LPT1.asc (1.83 KB)
|
|
|
Post by Jos on Mar 4, 2021 19:58:14 GMT 1
I have no explanation why printing from DataFlex would differ from a copy of the generated #lpt1.asc to lpt1.
What if you add TIO:10, or TIO:files to the print definition LPT1= in config.txt? Perhaps there’s a somewhat long delay after the initial DC2. Though that shouldn’t really matter since that control code made it to the #lpt1.asc file.
Jos
|
|
|
Post by nelsonhd on Mar 4, 2021 21:27:55 GMT 1
Thank you for the quick response.
I realized that we didn't insert RAW at the end of the LPT1 printer setting in config.txt. I told the user to append RAW at the setting and try it out to see if it helps. I should have also seen a picture of the print out to see if it was in RAW mode or not. My bad.
|
|
|
Post by Jos on Mar 4, 2021 21:33:56 GMT 1
As long you use the Epson LX-350 printer, and don't need PDF's, RAW is the best option. The rendering is then done by the printer software, and that is optimized to its (limited) specifications.
Jos
|
|