|
Post by wtc on May 5, 2021 0:29:19 GMT 1
Hello, I attempted to print output from dBase IV to my simple, generic Epson receipt printer. Nothing happened, so I added: lpt1 = RAW to the end of config.txt, but nothing happened, again. Most anything else I've tried to add seemed to lock up vDos. Perhaps, I'm a little out if it, as I haven't really fiddled much with DOS over the last few decades, so some of the problem might just be syntax. lpt1 = SEL: "" didn't work either with the default printer set to the Epson.
Would someone mind typing out the exact line(s) I should add to config.txt (or elsewhere). (You'd be doing a favor for a small business.) If my only chance is with a network driver, I could buy a usb receipt printer.
In any case, thank you.
W.
|
|
|
Post by Jos on May 5, 2021 8:44:00 GMT 1
If the Windows driver (Generic Text Only?) is correctly setup to communicate with the Epson printer. LPT1 = RAW should just work.
The only thing that comes to mind is that your program doesn’t print to LPT1, but some other port. You could verify that by looking what #LPTx/COMx files are created when printing to the Epson printer.
Jos
|
|
|
Post by wtc on May 5, 2021 16:12:52 GMT 1
Thank you, Jos, I'll check this, today. W
|
|
|
Post by wtc on May 5, 2021 16:38:13 GMT 1
Hello, again, Jos, I cut and pasted LPT1 = RAW to config.txt . Every other line was rem-ed out and nothing printed out even though standard dBase (run on the same 32 bit Windows 10 Dell) prints out fine. I also tried unchecking "Let Windows manage my default printer" and made Generic-lpt1 my default. Still no go. Can you think of anything that would make out-of-the-box vDos different than standard 32 bit DOS on the same machine? Again, I thank you for your time, Wayne
|
|
|
Post by Jos on May 5, 2021 16:49:09 GMT 1
Your program not printing to LPT1?
Jos
|
|
|
Post by wtc on May 5, 2021 17:03:45 GMT 1
|
|
|
Post by wtc on May 5, 2021 17:06:09 GMT 1
To be clearer, it is printing to lpt1. Wayne
|
|
|
Post by wtc on May 5, 2021 17:43:36 GMT 1
Oops, To be clearer, regular dBase on standard 32 bit Dell is printing to lpt1. Not the vBox version. Thank you,
W
|
|
|
Post by wtc on May 5, 2021 17:45:00 GMT 1
I mean vDos. This is the problem of going from customers to the computer and back. W
|
|
|
Post by Jos on May 5, 2021 18:23:26 GMT 1
What if you open in Windows Notepad the #lpt1.txt file generated by vDos. Then print the document to the Generic driver.
Jos
|
|
|
Post by wtc on May 5, 2021 18:55:29 GMT 1
Thank you. I presume you mean #LPT1.asc . It is a text file of exactly what I wanted to print out. Wayne
|
|
|
Post by wtc on May 5, 2021 19:30:51 GMT 1
Assuming that #LPT1.asc is what you mean, I wish to ask how do I print this automatically to the generic driver? I am using dBase as my POS/cash register, and I need the receipts to be printed out emmediately by themselves. Thank you, Wayne
|
|
|
Post by Jos on May 5, 2021 19:32:15 GMT 1
Though what if you open that, or #LPT1.txt, in Notepad and print from there to the Generic driver?
Jos
|
|
|
Post by wtc on May 5, 2021 19:37:54 GMT 1
Thank you, Jos, But I do need the printing to be automatic. My employees and myself are ringing up customers all day. In any case, I appreciate the time you are giving me. Wayne
|
|
|
Post by wtc on May 5, 2021 19:40:43 GMT 1
Is there a solution or have we hit a wall? Thank you, Wayne
|
|