PDF generation for complete SharePoint page
Hi, I have a 2 part question on this: There are some sites on internet which are giving a way for downloading PDF files with code similar to Excel file download e.g. using Content disposition like this http://www.eggheadcafe.com/articles/20011006.asp On this my question is, in SharePoint scenario can we achieve generating PDFs without installing or using any 3rd Party PDF generation tools? My next question, which PDF tool is suitable for rendering/flushing the whole page's content like a FileStream on to a page of the PDF document for generating the PDF? Hope my questions are clear. If any more information is required, I would be glad to elaborate further.BR, PM
May 19th, 2010 9:57pm

you want to generate PDF document for a sharepoint web part page? or sharepoint word / excel document? If thst is the case, you will need 3rd party PDF generation tool.Moonis Tahir MVP, MCPD, MCSD.net, MCTS BizTalk 2006/SQL 2005/SharePoint Server 2007 (Dev & Config)
Free Windows Admin Tool Kit Click here and download it now
May 19th, 2010 11:45pm

Hi Moonis, I am looking for PDF creation of a complete ASPX page in SharePoint and not looking for word /excel conversion into PDF. BR, PM
May 20th, 2010 10:26am

See this: http://www.muhimbi.com/blog/2009/04/using-pdf-converter-from-sharepoint.html or http://stackoverflow.com/questions/1262717/sharepoint-list-to-pdf-report Hope this helps
Free Windows Admin Tool Kit Click here and download it now
May 20th, 2010 2:49pm

Your issue is going to be that to create a PDF of a sharepoint page, it has to be rendered, essentially it also has to be called by an account that has access to the page in Sharepoint. A tool like abcpdf can convert remote URL's into PDF files in only a few lines of code. With some programming, you could easily create a way to convert your aspx output from a sharepoint page and upload it via webdav to any library. Regards John Timney http://www.johntimney.com/blog
May 21st, 2010 12:30am

John, Many thanks for your response. I am aware of the way you are telling for generating the PDF. What is confusing is so many of those PDF api's, I used one from CeTe PDF for .Net but it is not having a way to put the stream of SPFile on the PDF. That is something I am looking for i.e. to render the contents of an ASPX taken in an SPFile on to a PDF. Hope you got my problem/requirement.BR, PM
Free Windows Admin Tool Kit Click here and download it now
May 21st, 2010 9:08am

Well not being a Sharepoint programmer (much), I can't help you with your API questions, but you could try one of the dev groups. I would hazard a guess that SPFile does not contain all you require anyway to actually create a PDF of a rendered page, give a typical MOSS page makes multiple calls to the MOSS server to get its javascript, css, images etc once the undlying output is sent to the browser for rendering - you might need multiple SPFile objects. I would solve the problem of obtaining a PDF of the rendered page first, and then build a solution around that approach. http://www.websupergoo.com/abcpdf-5.htm is .NET library, it can be given a URL to output a PDF locally - that way your already half-way there, and i think its free. Otherwise, perhaps one of the DEV groups is a better place to get this resolved. Regards John Timney http://www.johntimney.com/blog
May 21st, 2010 1:34pm

Best 6-in-1 PDF Converter PDF Converter Windows Version is for PC users dragging PDF files to PDF Converter and convert PDF files to Word, Excel, PowerPoint, EPUB, HTML, and Text. This PDF Converter helps to convert more and save more while dealing with native PDF files. The User-friendly interface makes the PDF Converter extremely easy to use. Support PDF files in 12 languages: English, German, French, Italian, Thai, Latin, Korean, Greek, Cyrillic, Japanese, Chinese, and Turkish. Note: For Mac OS X users, please turn to PDF Converter for Mac >> PDF Converter for PC functions: Batch conversion---Convert as many as 200 PDF files at one time. Partial conversion---Select any pages from the multi-page PDF file to convert. Support password protected PDF files conversion by entering the password. Convert PDF files with copying and printing restrictions directly. Convert PDF to editable Microsoft Office formats or extract text from PDF files to plain text files. Convert eBooks from PDF to EPUB format for iPad, iPhone 4, iPod touch, Sony reader reading. PDF to Word: Output Word documents are fully-formatted and editable. PDF to Excel spreadsheets: all the text and numbers are fully-editable. PDF files to PowerPoint presentations: Edit the presentations easily and add animations to make the presentation more attractive! PDF to EPUB eBooks: The converted EPUB eBooks will self-adjust the screen size of your iPad, iPhone, iTouch, Sony Readers, etc. 6.81 MB
Free Windows Admin Tool Kit Click here and download it now
April 12th, 2011 10:29pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics