Printing DOS apps with local USB Lexmark printer

L

Lisa

I have tried the net use statement tip from Microsoft:

"Cannot Print from a 16-Bit MS-DOS-Based Program
In this situation, type the following line at a command
prompt, and then press ENTER:
net use lpt1: \\servername\printershare /persistent:yes

In the 16-bit program, print to LPT1. You can assign
other LPT ports to MS-DOS-based 16-bit programs if the
program needs to use other ports."

This doesn't work for me. It appears that USB is not
recognized?

Does anyone know how to get DOS to recognize LPT1 as USB
instead of parallel port?

Thanks!
 
J

JP

You cannot print from a DOS app to a USB printer. Parallel
is the only supportedport for DOS.
 
D

Davide Guolo

Lisa,
net use lpt1: \\servername\printershare /persistent:yes
This doesn't work for me. It appears that USB is not
recognized?
Does anyone know how to get DOS to recognize LPT1 as USB
instead of parallel port?

DOS can't directly print to an USB port.
NET USE LPT1 tells Windows to redirect all the LPT1 output to the shared
printer.
If it doesn't work, probably your printer is a Windows-only one (i.e. a
printer which can't understand the simple ascii flow that your DOS app. is
sending to, but requires the output generated by the Windows driver).

If this is the case, you can point your app. to print to a disk file, then
you can use Printfil to send it to any Windows printer, using the Windows
driver.
Printfil also automatically adds some interesting features to your DOS
application, like print preview, font selection, margins and so on.

On our website you can find more info and a free Printfil trial to download.

Kind regards,
Davide Guolo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top