Dos to USB
Dos to USB
Hi, I have a windows app that allows an old dos program that will only print to LPT, to redirect to a USB printer. I was able to use this in native windows. But Wine does not seem to be able to launch a dos box like windows could. The program is at:
http://www.dos2usb.com/download.htm
Unless there is some other way to redirect an LPT port?
Thanks Bob
http://www.dos2usb.com/download.htm
Unless there is some other way to redirect an LPT port?
Thanks Bob
Re: Dos to USB
Wine doesn't support USB. Do you have your printer properly configured with CUPS? Wine can't talk to non-CUPS printers.rdonnelly wrote:Hi, I have a windows app that allows an old dos program that will only print to LPT, to redirect to a USB printer.
Also note that Wine's DOS support has many issues.
Try it with DOSBox(http://www.dosbox.com/)
IIRC, DOSBox already redirects LPT to CUPS.rdonnelly wrote:I have a cups printer, but wine and dosbox or dosemu do not run in the same space, so the dos box is not sending printing queue to the wine printer. I am no computer expert, but that is what I beleve is happening. But if wine does not do USB, I suppose it will not run the Dos to USB prog any ways?
You Dos to USB is no use here, since you are able to print with your dos program if it runs in DOSBox.
Wine DOES NOT use dosbox. They are totally separate programs. Wine has it's own DOS emulation layer.rdonnelly wrote:I have a cups printer, but wine and dosbox or dosemu do not run in the same space, so the dos box is not sending printing queue to the wine printer. I am no computer expert, but that is what I beleve is happening. But if wine does not do USB, I suppose it will not run the Dos to USB prog any ways?
Wine CAN NOT print to non-CUPS printers.
Wine DOES NOT support USB.
Did you try to run your DOS program under Wine? Does it work? If not, what error do you get? Can you print to this printer from Wine's notepad?
Don't ask here anything related to dosbox/dosemu/etc that's not part of Wine. Go to their forms and ask there.
-
- Level 2
- Posts: 18
- Joined: Wed Nov 26, 2008 3:09 pm
Clarification please:
1. Stating that Wine will not talk to a non-Cups printer presumably means that it will talk to a Cups printer. So if Linux can print to a USB printer that is a CUPS printer, presumably so can Wine. Yes?
2. If this Dos programme can be persuaded to run under Wine (I accept that may be asking too much - Wine primarily emulates Windows rather than DOS) does it matter whether the printer is serial/usb/networked/whatever, surely Wine simply redirects it to "the" printer and Linux looks after the rest.
1. Stating that Wine will not talk to a non-Cups printer presumably means that it will talk to a Cups printer. So if Linux can print to a USB printer that is a CUPS printer, presumably so can Wine. Yes?
2. If this Dos programme can be persuaded to run under Wine (I accept that may be asking too much - Wine primarily emulates Windows rather than DOS) does it matter whether the printer is serial/usb/networked/whatever, surely Wine simply redirects it to "the" printer and Linux looks after the rest.
Dos to USB
English_Mohican <[email protected]> at: Dec 11, 2008 2:31 PM (MST) wrote about: [Wine] Re: Dos to USB
James McKenzie
Correct. Wine does not care where the printer is located. If you can print to it using CUPS, then Wine should be able to do so likewise.Clarification please:
1. Stating that Wine will not talk to a non-Cups printer presumably means that it will talk to a Cups printer. So if Linux can print to a USB printer that is a CUPS printer, presumably so can Wine. Yes?
Correct. Wine will direct all output to CUPS. However, you must go into CUPS and configure the printer and I recommend that it be the primary or default printer. Your DOS program may not be able to switch printers. Windows programs, depending on when they were made, should.2. If this Dos programme can be persuaded to run under Wine (I accept that may be asking too much - Wine primarily emulates Windows rather than DOS) does it matter whether the printer is serial/usb/networked/whatever, surely Wine simply redirects it to "the" printer and Linux looks after the rest.
James McKenzie