187 Topics
| |
hi i'm working on a website that i allow the user to enter a name and then press a button that prompts the server to setup a pdf acording to the info the user entered and then send the pdf to the user i'm testing the website on my leptop … | |
im using fpdf.php library have some extension the pdf_lp.php then i got this error on my codes... hope somebody can help me identify my error.. any help is very much appreciated. <?php date_default_timezone_set('Asia/Manila'); require_once('./pdf_lp.php'); include ('connect.php'); // $sql = mysql_query("SELECT * FROM mydb WHERE contractno = '$_SESSION[contractno]'") $sql = "SELECT … | |
hi everyone. i'm tryng to use Reportlab to output an invoice on a simple Django app. it seems quite difficult to do simple things like this. here's my code: def print_pdf(fattura, soggetto, buffer=None): import time from reportlab.lib.enums import TA_LEFT, TA_CENTER, TA_RIGHT, TA_JUSTIFY from reportlab.lib.pagesizes import letter from reportlab.platypus import SimpleDocTemplate, … | |
Recentlt, I need to insert comment in my pf document, but I never try it and finds little information from the intenet, but I found that the PDF has the function of showing the comment and hiding the comemnt, so I try to convert a word document that contains comment … | |
I want some help to generate a report in PDF/Doc(MS Word) format . I’m not able to find any module to generated report in doc, except “docx” which I’m not able to comprehend. Actually my actual task is to generate the report in Doc only, but as I’m not able … | |
Hi I need help regarding file download. $url="http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; $id = strrchr($url,"/"); $id= substr($id,1,strlen($id)); retrieving name of the pdf from url header('Content-disposition: attachment; filename='.$id); header('Content-type: application/pdf'); readfile($id); code for downloading file but it is not working? So i need help from you guys. Thanks in advance. | |
hi everyone i am very new to programming and really need some advice. i am currently building a program and one of the things i need is to be able to count the number of pages in pdf files in a directory. i found a script online which is suppose … | |
I need a program which counts the pages of all the pdf files in a directory. i found this scrpit which is supposet to do exactly that, but when i try to run it it just doesnt work for me it outputs nothing. i dont really know what to change … | |
I am trying to extract the number in the string "(c) 2010 Elsevier Ltd" from a PDF document . I found that the textsearch method of PDFtron package would help me find the string as stated in the example code: [CODE]import pdftron.Common.PDFNetException; import pdftron.PDF.*; import pdftron.SDF.SDFDoc; // This sample illustrates … | |
I am trying to extract all the images in a PDF and then convert them into DIB format using an Acrobat plugin. First part is easy. I extract all the contents in the PDF, then iterate through them and whenever I find a PDEImage, I put them in an array. … | |
I have a set of PDF files on our website that the user needs to log in in order to view. The only problem is once they log in and get the URL for them, they can email it to their friends or anyone and they can be viewed by … | |
Hello all; I'm having a heck of a time trying to resolve an issue (and thus far Google has not yielded the answer). I have a web application that invokes a 3rd party application to display a PDF page. Everything runs smoothly on Windows 2003, but now that I am … | |
All the webpage data will be converted into PDF file, You can also add details such as ur name etc by using Chunk chunk1 = new Chunk("By Vishal RAne, [email]vishalrane50@example.com[/email] \n",FontFactory.GetFont("Verdana", 8)); The pdf will be saved on desktop.... u can change location by using PdfWriter.GetInstance(Doc, new FileStream(Environment.GetFolderPath (Environment.SpecialFolder.Desktop)+ "\\VishalRane.pdf", … | |
Hi everyone, Is there a way to read the text in a pdf file like reading notepad? And after that, I should be able to use it, for example, in a text area or show it to my users without using another program such as adobe reader. That's really important … | |
i am used wkhtmltopdf for convert the web page to pdf. but i have a following error [CODE] **WKPDF couldn't determine CPU ("").**[/CODE] how to solve it, does any one know plz tel me how to solve it. Thank you | |
Hi guys, Have been trying this out for sometime with no success. I want to be able to use pdf printing application like pdfprinter to print my vb reports to and then save the reports to a particular location on my computer. Anyone with an idea how i'd achieve that? … | |
I saw the adobe pdf viewer control in vs2010 toolbox somewhere. and I thought it can be very useful. So I tried to add it. [url]http://img155.imageshack.us/img155/3349/choosetoolboxitems.jpg[/url] as I expected things are never simple for me, when I try to drag it to the form. there'a an error. [url]http://img214.imageshack.us/img214/8042/errorrp.jpg[/url] any idea … | |
hey expert, I m working on a project where i have to genrate pdf from given data using php give me your expert suggestion.... how its happend......? | |
Greetings, I have just went from Access 2003 to 2007.... I have a project requiremtn to output some reports to PDF file format... Don't know how to do it.... I tried doing a little research but.... :-( I am open to ideas... I would like to automate the process so … | |
HI i am trying to convert a doc file to a pdf file. please see my conversion code below [CODE] private string m_SourceFilePath; private string m_DestFilePath; public bool DoConversion() { bool returnValue; Word.WdExportFormat exportFormat = Microsoft.Office.Interop.Word.WdExportFormat.wdExportFormatPDF; object paramMissing = Type.Missing; Word.ApplicationClass wordApplication = new Word.ApplicationClass(); Word.Document wordDocument = null; try … | |
I want to attach User Instructions to a Java application, and allow the user to open it from the help menuitem. I'm not very familiar with classpath variables. If I use an absolute path name everything is fine, such as File pdfFile = new File("C:/Program Files/MyProgram/UserGuide.pdf"); But I want to … | |
hi, i have a panel with controls and richtextbox's within it. When the user clicks the save button, i take panel1 and DrawToBitmap, then add the image to a pdf created using abcPDF7. My problem is that i have recently change textbox's with richTextBox's to enable the user more functionality, … | |
Hello, I've been trying to create a script that will take defined pages of a PDF and display them to a webpage using PHP. I've looked through the PHP Manual and only came up with ways to create a PDF, but no read options. --Detailed Scenario-- My school wanted me … | |
Hi All I have one .pdf file and I want to read with this file using PHP. and I know that i need pdf library for do that but i haven't any information about that so, please give me detail info for that library also...! Thanks in advance. | |
Hi, Thanks in advance for reading this message. My problem is that I need to write a program that must list the pdf files in a folder that contain a text pattern. The user writes a text and the program list the files that contain the pattern. I know that … | |
[CODE] public static void ServeAsPDF(System.Web.UI.Page webPage, Boolean download, String FileName) { try { string htmlString = GetHtmlForPage(webPage); webPage.Response.Buffer = true; webPage.Response.Clear(); webPage.Response.ContentType = "application/vnd.ms-word"; //application/octet-stream webPage.Response.ContentEncoding = System.Text.UnicodeEncoding.UTF8; webPage.Response.Charset = "UTF-8"; webPage.Response.AddHeader("Content-Disposition:", "attachment; filename="+ FileName +""); webPage.Response.AddHeader("cache-control", "must-revalidate"); webPage.Response.Write("<html xmlns:v='urn:schemas-microsoft-com:vml' xmlns:o='urn:schemas-microsoft-com:office:office' xmlns:w='urn:schemas-microsoft-com:office:word' xmlns:m='http://schemas.microsoft.com/office/2004/12/omml' xmlns='http://www.w3.org/TR/REC-html40'>"); webPage.Response.Write("<head>"); webPage.Response.Write("<title>PF FUND</title>"); webPage.Response.Write("<META HTTP-EQUIV='Content-Type' CONTENT='text/html; … | |
Hi PLEASE HELP I have a problem with my PDFBox API. I am currently getting a PDF Document and then I want to add a string at location 0,0, when i try to save it , it is not saving the changes and it remains as it is. The Following … | |
Hi. I’m creating a system for my client where he goes to a page where he types in a letter. The text is saved as a file (preferably PDF) and then sent as an email to a printing service. I’d prefer not to save multiple PDFs on my server, so … | |
Thank you in advance to anyone who can help this coldfusion noob. What I am trying to do seems easy enough but clearly I am having very serious problems. ;D I am trying to populate a pdf with data from a database. //Here is the page that lists all the … | |
Who can help please, I have no knowledge of the PDFlib and its functions and have a time constraint, dont have the time to sit down and study it. Who can help, I need the following dynamic php page exported to a pdf. Here is the link: [URL="http://www.lifestyle-solutions.biz/jeanadmin/print-program.php?idprgramdet=40"]http://www.lifestyle-solutions.biz/jeanadmin/print-program.php?idprgramdet=40[/URL] Thank you … |
The End.