Editing PRN file

This is not exact solution for the PRN file edit issue , but should be useful.

 

First when you print to file, do the below stuff

 

Add a new local printer - When prompted for which port to use(LPT1, LPT2, etc.), select "File:" and click "Next"
When prompted for a printer manufacturer and model, scroll down the manufacturer list to "Generic" and then select "Generic / Text Only" in the printers column.
Complete the rest of the prompts to your preference.

Now when you print to this Generic/Text Only printer, it will prompt you for a file name. Give it a filename and path. Once it's done, you can edit the file using notepad.

 

Alternatively you can use Hex Editors(as PRN is hex coded file) to edit it.

Use can use Ghost Script or Multiply program as editors to do it.

 

By printing to a file, the file on disk is in a format suitable for printing, but not suitable for manipulation or editing.  When attempting to open it, the file will appear as "garbage" because it's a binary

file, not a file format most word processors can manage.  You can print the file, you can send it via modem to someone else, or you can hand the file on disk to another individual

 

Alternatively you can convert a PRN file to another format like word etc and edit it.

No comments: