emediastudios Posted November 12, 2007 Share Posted November 12, 2007 I had some help on this site building a printer friendy file and it works great. I wanted to know if there is a simple way to add two buttons to the bottom of the page. 1. print page. (i can do that one easily enough) 2. print to PDF ( this im not to sure about) I know you can go to file-print-pdf, if you have acrobat installed. But i wanted to know if i could eliminate that process and add a button instead. Do i need to add a module to php to enable this? and change my php.ini file? If so would i have to do the same again on my server? If so that would most likely be too much trouble. I was told to add this to my page and i did <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="application/pdf" content="text/html; charset=utf-8" /> <title>Applications</title> Quote Link to comment Share on other sites More sharing options...
trq Posted November 12, 2007 Share Posted November 12, 2007 You might take a look at the pdf extension. Quote Link to comment Share on other sites More sharing options...
aschk Posted November 12, 2007 Share Posted November 12, 2007 What you would have to do would be generate that same page in PDF format (using the PDFLib module), then open that page in their browser. However, there's no way to print "directly to PDF". Printing really is just an image of the text. So you might be better just to offer a print.css so it prints out nicely. The only reason to have PDF would be to pass around a digital copy once downloaded (or made available online). Quote Link to comment Share on other sites More sharing options...
emediastudios Posted November 12, 2007 Author Share Posted November 12, 2007 Thanks, i scraped the idea and used css to make a nice printer friendly file. Your right Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.