Go Back   TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Print from DOS app under XP

Windows XP Support


Reply
 
Thread Tools Search this Thread
  #1  
Old 28-10-2006
Member
 
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

Reply With Quote
  #2  
Old 28-10-2006
Member
 
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:
Reply With Quote
  #3  
Old 29-10-2006
Member
 
Join Date: Sep 2005
Posts: 1,466
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.
Reply With Quote
  #4  
Old 04-11-2006
Member
 
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.
Reply With Quote
  #5  
Old 26-12-2006
Member
 
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
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Print from DOS app under XP"
Thread Thread Starter Forum Replies Last Post
Using current XP Print drivers and Windows 7 Print drivers on 2003 Print Server Richcom Operating Systems 3 28-07-2010 10:19 PM
Unable to Print or Print Preview from IE7 on Vista Home Premium Poppy Vista Help 8 09-11-2009 07:14 AM
How to cancel printing or to delete a print job that is stuck in the print queue in Windows XP Alan Morris [MSFT] Windows XP Support 6 30-05-2008 10:53 PM
Print spooler hangs when trying to print from a shared print Jisbomb Windows XP Support 3 27-07-2007 10:17 PM


All times are GMT +5.5. The time now is 02:21 AM.