Home > How To > Printing When Using A MS DOS Application

Printing When Using A MS DOS Application


Figure 1 shows an example of an operating system command that will not work because the resource name (in this example, a computer cleverly named "my computer name") contains blanks. It offers printing only to COM and LPT ports. Just like resource (network) names for computers, printers can be assigned share names even if you're not attached to a network. In our example you will see all of the hidden admin shares as well as the Lexmark printer which we have just shared out. http://macland.net/how-to/printing-a5.php

Despite that, and because of Windows 2000's flexibility, DataFlex and most other MS-Dos applications can be coaxed into printing character mode documents to a USB printer.. Default=10 with range of 1 to 255. /t Removes files from the print queue. If the command line above is wrapping to two lines then widen your browser's window because the above command is on one line. In DOS this did not cause any troubles at all, but on Windows, the system might be so "busy" that no other tasks can be performed (including the print spooling process, http://www.tomshardware.com/forum/282495-45-application-printing-printer

Print From Dos To Usb Printer Freeware

As shown in figure 2, double quotes are used to tell Windows 2000 that the words my computer name belong together. Dos print (from LPT1) to USB printer Printing from dos application to dot matrix lpt1 Printing in a DOS application DOS Application stops printing Printing from DOS Application Printing an application To do this type the following command; net use lptx \\printserver\sharename /persistent:yes In our example we had entered the following command which will redirect the Lexmark shared printer to the local

  1. Depending on your printer's configuration and settings, the first page might automatically eject after the 'dir' command and a blank page will eject after the 'echo' command.
  2. Even though they look nearly the same on the screen, two single quotes will not work. 5.
  3. I may return to the net use statements at a later date as I dislike being beaten!Many thanks for your help - Robin georgetomJan 2, 2013, 3:57 AM Please explain "make
  4. From here we will need to install the same printer driver as that which we are going to be using for the DOS application to print to which is installed on
  5. Please try again now or at a later time.
  6. WinPrint links modern USB printers and older DOS applications for headache-free printing.
  7. Figure 5 is another example of the command in Figure 3, but blanks (spaces) are inside the resource names.
  8. Terms of use.Question/comment about this page?
  9. A USB port is a completely foreign concept to character mode DataFlex.
  10. View more comments most viewed The Guardian back to top home UK world sport football opinion culture business lifestyle fashion environment tech selected travel all sections close home UK education media

Once this has completed please restart the XP Mode virtual machine then re-open Printers and Faxes from the start menu. Generated Wed, 22 Feb 2017 12:56:35 GMT by s_wx1096 (squid/3.5.23) Within the command prompt type the command NET USE, this will display all available connects used by this computer. Net Use Command For Usb Printer How you do this is dependent on the IOS.

Be sure to verify that the share name is no more than 8 characters long with no spaces or special characters. Dos Print Command Windows 7 Print the Test PageOnce the printer is installed and the obligatory test pages print correctly, proceed to the following steps. 3. It could be rather dangerous. https://www.cnet.com/forums/discussions/using-an-ms-dos-application-to-a-printer-on-a-usb-port-139935/ Net share http://technet.microsoft.com/en-us/library/bb490712.aspx Now at this point the Windows 7 client has been configured correctly and the printer is available for the DOS application to use.

Was this page useful? How To Print In Dos Mode In Windows 7 The printer is printing meaningless and useless information on the pages, such as squiggles, lines and random characters. Ask ! If you're in this situation, you can close the DOS program as soon as it finishes printing.

Dos Print Command Windows 7

We recommend it to users of our heritage MS DOS applications." More blogposts Topics Gadgets Software Windows Share on Facebook Share on Twitter Share via Email Share on LinkedIn Share on https://www.theguardian.com/technology/askjack/2007/oct/04/gettinganolddosprogramto Note: If you need to print an e-mail, picture, document, or other file that cannot be opened from a command line you must print from the program that opens the file. Print From Dos To Usb Printer Freeware If you have not already download and installed the Windows XP Mode virtual machine on you Windows 7 client system. Dos Printer Setup A DOS programmer did not need to close the printing device (port) when the print job ended, because the printer had already finished its job.

The command in figure 3 can be inserted into the autoexec.bat or network login script, whichever is most appropriate for your installation. http://macland.net/how-to/printing-over-the-net.php We will need to be sure the printer has been shared out correctly, to do this click on Devices and Printers from the Start Menu. How do I find the share name for my computer? Tags DOS Windows 7 XP Mode Comments (0) Cancel reply Name * Email * Website Skip to main content Follow UsPopular TagsWindows 7 Alan netbook Farhad Micander DOS Point and Print How To Print Dos To Network Printer

Any program that knows how to write to a LPT port can then use the USB printer. Brian says: "I found the easiest solution, if rather roundabout, was to use the PRN2FILE.COM utility." Peter Burrows pointed to a useful page at that offers several ways to print to In our example we are using LEXE352 as the share name. his comment is here Press the Enter key at the end of each line.

Is there any way of getting it to write to USB? How To Print From Command Prompt To Usb Printer The Problem: If you run a DOS application on NT-based Windows systems (Windows NT, Windows 2000, Windows XP, Windows 2003, Windows Vista, Windows 7, Windows 8, Windows 2008, Windows 2012 RC2, Once this open you can Add a printer if one has not been installed as of yet or modify the printer which is going to be used for the DOS application.

Thanks in advance .Rajesh Discussion is locked Flag Permalink You are posting a reply to: Using an MS-Dos Application to a Printer on a USB Port The posting of advertisements, profanity,

Open the properties of the printer and then click on the Sharing tab. Now start the Windows XP Mode virtual machine by clicking Windows XP Mode from Start > All Programs > Windows Virtual PC Once the XP Mode virtual machine has started and Brian Cooley found it for you at CES 2017 in Las Vegas and the North American International Auto Show in Detroit. How To Print To A Network Printer From An Ms-dos-based Program In Windows Xp From the File drop-menu click on Server Properties and then click on the Drivers tab.

Any program that knows how to write to a LPT port can then use the USB printer. that can only print to LPT1 and a PC that uses USB printing - help please. The you can use the "net use LPT2: ...." command to redirect LPT2 (or whatever LPT port you want) to the USB printer. weblink Availability The print command is an external command that is available in the below Microsoft operating systems.

dir>lpt1: echo^L>lpt1: Figure 7: Test the printer connection by sending data to it. If you're looking for a way to get old records or obscure data out of an old-timey app and into your current workflow, or just to squeeze a few more years Depending on your system's defaults and security settings, Windows 2000 might even ask if you want to have the printer connection deleted when Windows 2000 can't find the printer anymore. Laser and other graphical printers need to receive an entire page before rendering it on paper.

Page margins, default fonts, page orientation, and character conversion settings enable you to finely tweak data sent to the Windows-based printer. Download Windows XP Mode http://www.microsoft.com/windows/virtual-pc/download.aspx Before we start on the configuration of the Windows XP Mode virtual machine, we will need to be sure that the Windows 7 client system is