Jump to content


 

Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

DOS Printing to a USB printer


  • Please log in to reply
6 replies to this topic

#1 jnewell

jnewell

    Member

  • Members
  • PipPip
  • 27 posts
  • Gender:Male
  • Location:Colchester UK

Posted 21 January 2012 - 12:13 PM

Hi there all,
I have several old DOS programs which I still use for various reasons (eg Wordstar 5). I also have several programs I've written using GWBASIC and MBASIC. These programs were all for a DOS environment and USB wasn't probably even thought of then. I want to keep using these programs but modern computers and laptops tend not to have serial or parallel ports that older printers can connect to. Also at some point my trusty parallel DataProducts Laser printer will probably give up the ghost. The programs I have written myself contain lots of control codes to control print size, formatting etc and are written for an IBM ProPrinter emulation.

So the question is "How can I redirect/force/get around, to make my DOS programs to print to a USB printer"

Thanks ... John N

Edited by jnewell, 21 January 2012 - 12:14 PM.


 

  • BC Ads
  • BleepingComputer.com

#2 Eyesee

Eyesee

    Bleepin Teck Shop

  • BC Advisor
  • PipPipPipPipPipPip
  • 3,447 posts
  • Gender:Male
  • Location:In the middle of Kansas

Posted 05 March 2012 - 09:54 PM

I found DOSPRN by Googling.
Its free & might be worth a shot
In the beginning there was the command line.

#3 The_Outkast

The_Outkast

    Forum Regular

  • Members
  • PipPipPip
  • 161 posts
  • Gender:Male
  • Location:Ft. Wayne, IN

Posted 15 August 2012 - 05:45 PM

Any chance you can connect the printers directly to the network or a print server? If not, you can share the printer from your pc, then map a LPT port to the share name.

#4 DavisMcCarn

DavisMcCarn

    Member

  • Members
  • PipPip
  • 102 posts

Posted 02 December 2012 - 09:33 AM

It is both easy and hard to do this....
If you share the printer with a short name(!!!), you can then do NET USE LPT1: \\<yourcomputername>\<sharename> /PERSISTENT:YES to make the printer work. I've done this hundreds of times.
The hard part is the printer will have to have Proprinter emulation and you had better stay away from a 64 bit O/S or your programs won't work.

Edited by DavisMcCarn, 02 December 2012 - 09:33 AM.

Computer dinosaur, servicing PC's since 1976

#5 Jos Schaars

Jos Schaars

    New Member

  • Members
  • Pip
  • 1 posts

Posted 05 December 2012 - 04:30 PM

Problem with NET USE is indeed that the printer can emulate a DOS printer.
DOSBox is great for running DOS programs, but mainly targetted at gaming.
If you need DOS just for serious business, I wrote my own version of DOSBox for that.
It uses another great program DOSPrinter for printing, supporting USB printers, EMF/PDF/RTF and mailing.
Configuring it to start a DOS application is a snap.
No cpu, joystick, soundblaster and all those unneeded gaming hardware settings.
Supports LPT1-9 and COM1-9 for printing.

#6 44guy

44guy

    Member

  • Members
  • PipPip
  • 118 posts

Posted 27 April 2013 - 08:45 PM

Sir;: See my post this date, about Dos,. wp51 and x copy.  There is a printing formular in there which works to print to usb, however, it is laced with wp-51 printing symbols, which is stated as my problem.

 

It is a good start though.

 

There is printing program out of Britain called PRINTFIL which you can purchase for this purpose, but you will be paying a yearly fee.

 

I prefer to work this out with DOS commands, but, as my post says, I too need a little help to perfect it.

 

44 Guy



#7 44guy

44guy

    Member

  • Members
  • PipPip
  • 118 posts

Posted 27 April 2013 - 08:50 PM

Will the person who wrote his own DOSBOX program to solve this dos printing problem, please let us all know how to use the program you came up with?

 

44  guy






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users