|
Post by mjmiller0 on Feb 9, 2023 0:25:38 GMT 1
I am working with a really old dos program. I can make almost all things work in DosBox including printing. The fonts in DosBox and the file locking is whats killing me. I have tried vdos and the fots are much better, the file locking is no longer an issue but I can't get printing to function. The program requires LPT2 and LPT3. The printers are parallel connected to usb and shared off of one PC. I have net use statements in place for both ports. The printers are OKI Data 320 Turbos. I can print from command line but not from Vdos. I would prefer to use Vdos for the fixes it has over doxbox. Does anyone have any ideas on how to accomplish this??
|
|
|
Post by Jos on Feb 9, 2023 8:36:13 GMT 1
The DOS LPT and COM ports/devices in vDos are not those of Windows, so NET USE statements don’t apply. Have a look at the Printing.pdf document. The RAW option would be best for low res matrix printers.
Jos
|
|
|
Post by mjmiller0 on Feb 9, 2023 9:56:58 GMT 1
any hints at the config?
|
|
|
Post by Jos on Feb 9, 2023 10:14:37 GMT 1
LPT2 = SEL:"Windows printer name/address" RAW LPT3 = SEL:"Windows printer name/address" RAW
Jos
|
|
|
Post by mjmiller0 on Feb 9, 2023 15:52:20 GMT 1
There are no drivers available for these printers in 64 bit windows. So no windows printers.
|
|
|
Post by Jos on Feb 9, 2023 16:13:05 GMT 1
Try SEL:"\\server\shared_printer_name". Or install for instance the MS Text Only driver (the driver actually doesn't matter with RAW), and connnect that to the shared printer.
Jos
|
|
|
Post by mjmiller0 on Feb 10, 2023 3:36:59 GMT 1
didn't work
|
|
|
Post by mjmiller0 on Feb 10, 2023 3:39:46 GMT 1
LPT2 = @%windir%\system32\print /D:LPT2 C:\vDosplus\#lpt2.asc LPT3 = @%windir%\system32\print /D:LPT3 C:\vDosplus\#lpt3.asc
worked
however when it prints, it prints the receipt then advances another full receipt label on lpt3 will print then advance 8 to 10 more blank labels. how do I stop it from advancing? only want it to print once and be done
|
|
|
Post by Jos on Feb 10, 2023 7:48:18 GMT 1
You didn’t mention using vDosPlus. I don’t support that, neither vDos versions that old.
Jos
|
|
|
Post by mjmiller0 on Feb 10, 2023 23:43:19 GMT 1
getting the same results in vdos What configs need to be in place if I want to print to directly to LPT2.
|
|
|
Post by Jos on Feb 11, 2023 8:37:21 GMT 1
“didn’t work” doesn’t give any information to go on.
Jos
|
|
|
Post by mjmiller0 on Feb 18, 2023 23:25:25 GMT 1
I created local printers with generic drivers as follows: Receipt and Label. My config file has the following printer configs lists.
LPT2 = /SEL'Receipt' /RAW LPT3 = /SEL'Label' /RAW
The receipt prints correctly but the label file advance 8 to 10 blank labels afterwards. I have tried in both Vdos and VdosPlus with the same results. I didn't realize you didn't offer support with VdosPlus, I am back to using Vdos so that I might be able to get some assistance.
|
|
|
Post by mjmiller0 on Feb 18, 2023 23:37:33 GMT 1
Lpt3.asc looks like this:
EW202300001FW SAMSON, KRISTOPHEFW ITEM 202300001 CRAFTSMA LAWN MOW CRAFTSMAN 2BBPR37 In:01-02-23 E:CH C:VV L: however it does not advance to the next label when it finishes. I hope I am just missing something.
|
|
|
Post by Jos on Feb 19, 2023 0:12:15 GMT 1
LPT2 = /SEL'Receipt' /RAW and LPT3 = /SEL'Label' /RAW are no valid config.txt directives for 7 years. You’ll first have to download and install the latest 2022.05.01 version.
Pasting the content of lpt3.asc into a message doesn’t work, printer control codes are mostly lost. You’ll have to add the file as an attachment, use Reply to the right, instead of Quick Reply.
Jos
|
|