|
Post by barndweller on May 22, 2020 5:02:47 GMT 1
I can not seem to get my config.txt just right. I have read and tried many of the things I have read in the posts on this forum but I still can not get it to work
I am trying LPT1 = RAW
That does not give me an error just does not print but the #LPT.txt file has the contents of the receipt in it. From what I think I understand the RAW setting should just send it to the printer on lpt1 but it comes up with a prompt for a windows printer to print to.
I have read the print.pdf file and I am just lost and would appreciate any help you could send my way.
Thank You
|
|
|
Post by Jos on May 22, 2020 5:42:41 GMT 1
To the left of the equal sign you specify the printer port the DOS program expects to print to. To the right the printer installed in Windows. If you omit that, the printer selection dialog is shown.
If you don’t have the receipt printer installed in Window, add a new one. Select “The printer that I want isn’t listed” - “Add a local printer or network printer with manual settings” - Port: LPT1 - Generic/Text Only, and give it a sensible name. Then change the line in config.txt to:
LPT1 = SEL:"New printer name" RAW
Jos
|
|
|
Post by barndweller on May 22, 2020 16:36:10 GMT 1
Thank you very much for the quick reply. I will try that and let you know how it goes.
|
|
|
Post by barndweller on May 26, 2020 1:54:33 GMT 1
Thank you very much, with your help everything is working. Do you know if there is a way to lessen the pause between sending the print job and the printer printing?
|
|
|
Post by Jos on May 26, 2020 6:16:30 GMT 1
Try adding one of these: TIO: 0 TIO: files TIO: key
If none works, TIO: 1
Jos
|
|
|
Post by barndweller on Jun 6, 2020 16:20:49 GMT 1
The TI0: 1 Worked for me, got the delay down to 2 seconds and we can live with that and its still sending the control code so it opens the cast drawer! Now I will not be out of business when the old parallel printers are no longer available I can use UBS also. IN fact I have just created separate config.txt files and that is what switches between printers. Thank you for a great product and fantastic customer service!
|
|
|
Post by Jos on Jun 6, 2020 19:57:04 GMT 1
The delay should of course only be 1 second, but there will be some overhead of mostly the Windows printing system.
You could also add the PRIVATE option, so: LPT1 = PRIVATE TIO:1 SEL:"New printer name" RAW
vDos will then skip creating a #lpt1.asc and #lpt1.txt file. With RAW there’s certainly no use for those.
If you can set the port of the receipt printer in the DOS program to something else than LPT1, you could do without distinct config.txt files. If for instance COM2 is allowed: COM2 = PRIVATE TIO:1 SEL:"New printer name" RAW
Jos
|
|