Click here to Skip to main content
15,913,941 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

Can anyone help me with code on "How to convert TIFF file from the PRN file using C#".
I urgently need it to implement in my project.
Please help to do so.

Thanks
Jeetendra
Posted
Updated 11-Nov-14 1:58am
v2
Comments
OriginalGriff 11-Nov-14 8:03am    
From that?
No, probably not.
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Use the "Improve question" widget to edit your question and provide better information.
Tomas Takac 11-Nov-14 8:04am    
What's a PRN file? What did you try so far? Can you post some code?

1 solution

A "PRN" file is just a save to a file of the stream of data that would be sent to your printer, if you chose to print using the "print to file" option: such a file is produced by the printer driver, and will include all kinds of device-specific information like what paper-tray to use, etc.

So, it's not a device-independent format ! If you create a PRN file with your Gonzo 1000 printer selected as the current printer, the bad news is that someone on another machine not connected to a Gonzo 1000 is not going to be able to print that file; the good news is that everyone, anywhere, with a Gonzo 1000 may be able to print that file without having the application that you used to create the file.

It does not make sense to think of somehow reverse-engineering a PRN file and creating a TIFF file.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900