Results 1 to 5 of 5

Thread: How to print a .prn file

  1. #1
    Join Date
    Apr 2005
    Posts
    12

    How to print a .prn file

    I have a HP printer connected to my laptop running with Windows XP. I received some file from my office in .prn format. I wanted to know whether it is possible to print these files by dragging them to printer icon? If not, then please let me know some alternate way of getting the job done.

    Many thanks

  2. #2
    Join Date
    Jul 2011
    Posts
    125

    Re: How to print a .prn file

    Nope, you cannot print .prn in that way. Instead you can use the copy. Do you have USB printer? If yes, then first share it, then copy the file to
    \\machine\printershare

    for LPT printer

    copy filename lpt1

    Hope it helps.

  3. #3
    Join Date
    Apr 2005
    Posts
    12

    Re: How to print a .prn file

    Thank you very much for the help buddy. I understood that i printed successfully. But many times when i am not a home i give these tasks to my brother who is a layman in computers. Hence can you please provide me a simple way for end users to print those .prn files. For example, any kind of script where when prm files are dragged they should be printed.

  4. #4
    Join Date
    Jun 2006
    Posts
    206

    Re: How to print a .prn file

    yes there is a possibility for crating a batch file for this task. You can create a batch-file with the text between the dashed lines below, and save in e.g. "C:\Windows\SendLpt1.bat". Change "lpt" in the filename and the script to whatever you setup is (as per Alan Morris' note).
    -------------------------------------------
    :loop
    @echo Printing %1
    @copy /b %1 lpt1 >nul
    @shift
    @if not !%1==! goto loop
    -------------------------------------------

    Create a shortcut for the batch file on your desktop and drag the prm files on the same to print it out. In order to print files by right-clicking and using the SendTo-option: In "C:\Documents and Settings\{username}\SendTo", add a shortcut to the script you just created.

  5. #5
    Join Date
    Apr 2005
    Posts
    12

    Re: How to print a .prn file

    I appreciate your help buddy. Thats exactly what i wanted to know.

    Thanks a lot!

Similar Threads

  1. Print A File List in Mac
    By Wenro in forum Operating Systems
    Replies: 6
    Last Post: 01-06-2010, 12:12 AM
  2. Print a DRM PDF File
    By Alexander102 in forum Windows Software
    Replies: 3
    Last Post: 11-08-2009, 10:39 AM
  3. Import excel file and print
    By skylabnn in forum Software Development
    Replies: 11
    Last Post: 04-07-2009, 08:04 PM
  4. How can I print a external file using C++???
    By RadhaV in forum Software Development
    Replies: 3
    Last Post: 19-02-2009, 06:22 PM
  5. Unable to print PDF file
    By jeffcoo in forum Windows Software
    Replies: 3
    Last Post: 23-01-2009, 12:13 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,750,324,432.85948 seconds with 16 queries