Business Daily from THE HINDU group of publications
Monday, Jan 08, 2007
ePaper


eWorld
Features
Stocks
Cross Currency
Shipping
Archives
Google

Group Sites

eWorld - Computer Usage
Columns - Tip Off
`Print to file' option

What is the use of the "print to file" option? How is it used to print files?

Johnson A.F.

The "print to file" option is used to create a binary file on the disk. This binary file can then be sent to a printer.

The command used to send the binary file to the printer is from DOS prompt: Copy filename.prn PrinterPort: /b

The filename.prn is the file created using the "print to file" option. The PrinterPort: is normally LPT1: if the printer is connected to the first Parallel port.

The "print to file" is useful in scenarios where the actual printer and the necessary application are not present in the same computer.

The application is installed in one computer and the printer installed in another computer.

You can, nevertheless, take a print from that computer without having to install the application.

If the printer is a network printer and not connected through the parallel port, then the printer has to be shared from one of the computers. Then one will have to map the shared printer using the net use command,

Net use LPT1: \\SharedComputerName\Shared

PrinterName

After this, you can use the Copy filename.prn LPT1: /b

The other way to take a print is by dragging and dropping the document. The first step is to create a batch file with the command Copy %1 LPT1: /b In the batch file, the LPT1: is the port the printer is connected to or mapped. After creating the batch file, you can drag and drop the .prn file on the batch file from windows.

Solution by P. Natarajan

More Stories on : Computer Usage | Tip Off

Article E-Mail :: Comment :: Syndication :: Printer Friendly Page



Stories in this Section
Value for your money


When it hurts to wait...
Making cyberspace safer for children
Take this seriously
Blow upon blow
`Print to file' option
.nfo file
India, the big picture
Digital divide in Govt
Information security begins with ... people!
Quiz
Call of the village


The Hindu Group: Home | About Us | Copyright | Archives | Contacts | Subscription
Group Sites: The Hindu | The Hindu ePaper | Business Line | Business Line ePaper | Sportstar | Frontline | The Hindu eBooks | The Hindu Images | Home |

Copyright © 2007, The Hindu Business Line. Republication or redissemination of the contents of this screen are expressly prohibited without the written consent of The Hindu Business Line