Results 1 to 5 of 5

Thread: Print from DOS app under XP

  1. #1
    Join Date
    Jan 2006
    Posts
    115

    Print from DOS app under XP

    I want to print a Usb MFP from a Dos app under XP. When I issue a mode command then it finds Com3:modem and Con: but not the printer. If I try to print a file XP responds. I am getting "Unable to initialize device PRN". Can anyone tell me how to do that with NET use to enable DOS printing or this DOSPRN shareware app? What is the simplest fix that involves least work for my users? Thanks

  2. #2
    Join Date
    Oct 2004
    Posts
    1,342

    Re: Print from DOS app under XP

    Follow the below tips to solve your issue:
    1. First of all share your printer.
    2. After that link it to an LPT port: net use LPT2: \\%ComputerName%\PrinterShare
    3. Now you have to send the print stuff to LPT2: copy c:\print.prn LPT2:.
    4. After that try eject the page if necessary: echo Ctrl+L > LPT2:

  3. #3
    Join Date
    Sep 2005
    Posts
    1,476
    It looks to me that you havent used a USB printer and it will not work for a printer that is accessible via a network only. Your best bet would be to test before you post.

  4. #4
    Join Date
    Oct 2005
    Posts
    792
    This solution might work only if the printer itself is DOS compatible. Many USB MFP nowadays are GDI (AKA Windows-Only). For printing to this kind of printers from DOS you may want to have a look at Printfil.

  5. #5
    Join Date
    Jan 2006
    Posts
    605
    There seems to be one issue, that is, a Usb printer is not on LPT1: which is a parallel port. Thinking that your computer name is PC and your printer is shared with the name PrtShr, the capture command you want should be: NET USE LPT1: \\PC\PrtShr

Similar Threads

  1. Replies: 3
    Last Post: 28-07-2010, 10:19 PM
  2. Replies: 8
    Last Post: 09-11-2009, 07:14 AM
  3. Replies: 6
    Last Post: 30-05-2008, 10:53 PM
  4. Print spooler hangs when trying to print from a shared print
    By Jisbomb in forum Windows XP Support
    Replies: 3
    Last Post: 27-07-2007, 10:17 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,041,811.04083 seconds with 16 queries