Re: Printing DOS apps with local USB Lexmark printer

From: Davide Guolo (daNOSPAMguolo_at_tin.it)
Date: 03/21/04


Date: Sun, 21 Mar 2004 12:47:20 GMT

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
---------------------------------------------------
Printfil - Windows Printing System for Applications
           http://www.guolo.com/printfil
---------------------------------------------------



Relevant Pages

  • Guillermitos Particles
    ... > As I implied above the only reason I can't use DOS is I would ... Randy did some work with USB. ... There's an attempt to cut it down to a "skeleton" - a "work in progress" - not much progress. ... I have a strong aversion to booting to Windows right now... ...
    (alt.lang.asm)
  • Re: Guillermitos Particles
    ... > lose access to the hardware. ... you could do this yourself in dos. ... You said it was a USB device, ... I have a strong aversion to booting to Windows ...
    (alt.lang.asm)
  • Re: DOS Printing from Windows Server 2003 TS?
    ... TS2003 you wont be able to print to LPT1 if you are not an administrator. ... We have a customer who is still using and old DOS version of software ... them to move to the Windows version). ... could not find anything except a Kixstart script. ...
    (microsoft.public.windows.terminal_services)
  • RE: DOS Printing
    ... Even though you can set a USB printer in XP ... to point to accept output sent to lpt1 newer printers no longer support DOS ... I got an older model printer and printing from DOS works fine. ...
    (microsoft.public.windowsxp.print_fax)
  • Re: Printing from DOS to USB Printer
    ... >> This program prints directly to an LPT port but will not print to his ... >> USB printer (which works fine in windows). ... >> how to get DOS to recognise that the USB port contains the printer. ...
    (microsoft.public.cert.exam.mcse)

Quantcast