Sat - April 12, 2003

PDF files on the Web


OS X provides quick and easy way to publish long and/or graphically rich documents in PDF format - here's how.

HTML files are the norm on the Web, and you should normally publish Web content as HTML pages.

However, it may sometime happen that you have a long, or graphically sophisticated document that is unwieldy as HTML. A quick and easy way to make such documents available on the Web is to turn them into PDF - Portable Document File - format files. These can be read by Adobe's Acrobat Reader on virtually any kind of computer and even some PDAs. You can also read them using Apple's Preview app on OS X systems.

Windows users need to purchase Adobe's Acrobat application to create PDF documents. But, OS X users, thanks to OS X's native PDF internal imaging format, you can create simple PDFs in seconds just by using the OS X print dialog (OS X users can create more sophisticated PDFs with features like electronic forms and on-line collaboration if they have the Acrobat app).

For simple PDFs from OS X, open the file you wish to make into a PDF in its application (it can be any OS X app - Word, Appleworks, whatever). Choose 'Print' from the File menu: when the dialog box appears, you will see a button at the bottom labeled 'Save as PDF'. Click it, and a new dialog box appears that lets you name the file ('.pdf' is already, helpfully typed in for you) and choose where to save it - the Desktop is good if you're going to move it up to your Web server.

FTP or otherwise move the PDF to your server, and then link to it from your home page or other HTML page like this:

a href="http://www.myserver.com/my_file.pdf"

...(don't forget the start and close brackets) and publish the HTML page. When a reader clicks on the link, the PDF file will download and, depending on the system type and configuration, open in Acrobat Reader or the Reader browser plug-in.

A bonus with PDF files is that they aren't editable: others can pass the file along, but they won't be able to change it (unless they have access to some sophisticated editing software). So no one can grab your report or homework and put their name on it... gulker_blog.pdf

Posted: April 12, 2003 16:17   Chris Gulker on publishing   Web   Email Comments


© Chris Gulker