|
Post by j on Oct 27, 2021 18:41:55 GMT 1
I am using vDos to run a point-of-sale program in Foxpro for DOS 2.6. I am experiencing an issue with the receipt printer (Star SP712), where the alignment of the printed receipts is off. The receipt prints as if it has a large margin on the left side, and the text is cut off on the right side. I attempted to change the printer settings through Windows, as the printer defaulted to using Letter size paper. When i changed the paper size in the printer settings to a receipt size paper, I receive an error message when attempting to print through vDos. The message states "Printer output wouldn't be readable. Check the HORZ/VERT settings in CONFIG.TXT" I attempted to change the HORZ margins through the config file, but was not able to get it to print aligned properly. I am wondering what I can do to fix the inability to print when configured for a receipt sized paper instead of letter sized.
|
|
|
Post by Jos on Oct 27, 2021 19:58:25 GMT 1
The printer will print at a rather low DPI.
By default a printer in vDos is set to print 80 characters on a line, with a 15 mm (0.6”) left and 10 mm (0.4”) right margin.
You could adjust those figures in config.txt with something like:
LPT1 = SEL: "Star SP700 (SP12)" HORZ: 0,0,40
But because of the low DPI, it’s better to let the printer do the rendering of the characters:
LPT1 = SEL: "Star SP700 (SP12)" RAW
Jos
|
|
|
Post by j on Oct 29, 2021 16:00:32 GMT 1
I appreciate the help. Just to clarify, that string can be copied and pasted directly into the config file and it should work immediately, right? I pasted the line into the config file but it doesn't seem to have made a difference
|
|
|
Post by Jos on Oct 29, 2021 17:21:06 GMT 1
You have to restart vDos since config.txt is only read at startup.
Jos
|
|