Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error opening pdf created on unix

Status
Not open for further replies.

naga5566

Technical User
Mar 14, 2003
90
US
Hi ,
I have an issue while opening pdf created on unix.
This pdf was created bny business obejcts app on unix machine.When i ftp this pdf onto windows and try to open,i am getting an error "File is corrupted"
Does anyone could suggest me in this regard.I am new to unix systems.
 
Are you ftp'ing the file as an ascii or binary file? It should be binary, I believe.
 
I think you neeed the following tools to convert your file to pdf format in unix.

Follow the instructions

To convert to pdf format without any specified options:

ps2pdf paper.ps paper.pdf
where paper.ps is the input file and paper.pdf is the output file

You may want to specify options such as embedding fonts, so all users can view your file:

ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true

The command, ps2pdf is part of Alladin's Ghostscript program.

More about the options for ps2pdf:


Hanwant Verma
Software Developer/Analyst
London (UK)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top