Dos to USB

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
rdonnelly
Level 2
Level 2
Posts: 15
Joined: Sat Dec 06, 2008 12:07 pm

Dos to USB

Post by rdonnelly »

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
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Dos to USB

Post by vitamin »

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.
Wine doesn't support USB. Do you have your printer properly configured with CUPS? Wine can't talk to non-CUPS printers.

Also note that Wine's DOS support has many issues.
User avatar
André H.
Moderator
Moderator
Posts: 207
Joined: Sun Dec 07, 2008 8:33 am

Post by André H. »

Try it with DOSBox(http://www.dosbox.com/)
rdonnelly
Level 2
Level 2
Posts: 15
Joined: Sat Dec 06, 2008 12:07 pm

Post by rdonnelly »

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?
Usurp
Level 4
Level 4
Posts: 161
Joined: Sat Apr 19, 2008 7:16 am

Post by Usurp »

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?
IIRC, DOSBox already redirects LPT to CUPS.
You Dos to USB is no use here, since you are able to print with your dos program if it runs in DOSBox.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

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 DOES NOT use dosbox. They are totally separate programs. Wine has it's own DOS emulation layer.
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.
rdonnelly
Level 2
Level 2
Posts: 15
Joined: Sat Dec 06, 2008 12:07 pm

Post by rdonnelly »

vitamin wrote:
Don't ask here anything related to dosbox/dosemu/etc that's not part of Wine. Go to their forms and ask there.
Dos to USB is a windoze app.............. I am here to learn. Thanks for your knowledge.
English_Mohican
Level 2
Level 2
Posts: 18
Joined: Wed Nov 26, 2008 3:09 pm

Post by English_Mohican »

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.
James Mckenzie

Dos to USB

Post by James Mckenzie »

English_Mohican <[email protected]> at: Dec 11, 2008 2:31 PM (MST) wrote about: [Wine] Re: Dos to USB
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 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.
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.
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.

James McKenzie
rdonnelly
Level 2
Level 2
Posts: 15
Joined: Sat Dec 06, 2008 12:07 pm

Post by rdonnelly »

OK, so dos does not print through wine, so I guess I wont need dos to usb. when I print out of a dos box, it sends a printer error to my GDI printer. I am going to search this further on the dos forums. Thanks for all your input.
Locked