Top Questions - Quick PDF Library Knowledge Exchange (PDF SDK & PDF API) most recent 30 from http://help.quickpdflibrary.com 2010-09-10T19:34:20Z http://help.quickpdflibrary.com/feeds http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://help.quickpdflibrary.com/questions/487/font-naming-error Font Naming error JimQ 2010-06-11T14:31:44Z 2010-09-10T15:24:01Z <p>Hello, Using the AddTrueTypeFontFromFile fonts loose their spacing between words. I.e "Times New" becomes "TimesNew" or "Mason Regular" becomes "MasonRegular". Any ideas how to fix?</p> <p>Thanks</p> http://help.quickpdflibrary.com/questions/492/problems-writing-multipage-tiff-to-pdf Problems Writing Multipage Tiff to PDF Brian 2010-06-16T19:48:07Z 2010-09-10T14:24:02Z <p>HI everone. I am new to using Quick PDF in VB6 and am using the trial version with the plan of buying the full version.</p> <p>I am attempting to read a multipage .tiff image and write it to a multipage .pdf file. The .pdf file creates but only contains the last page of my multipage image. Can any of you see anything wrong with this snippet? thank you so much! Brian</p> <pre><code> Dim intheight As Integer Dim intNumPages As Integer Dim i As Integer Dim QP Set QP = CreateObject("QuickPDFAX0719.PDFLibrary") blnLicenseOkay = False If QP.UnlockKey("j54g75ru43q3n14qr5wu9r36y") = 1 Then blnLicenseOkay = True End If If blnLicenseOkay = False Then Exit Sub End If strBaseFileName = getDataPath &amp; rs.Item("filename") //'Getting Path/Name of Multipage Tif intNumPages = QP.GetImagePageCount(strBaseFileName) If intNumPages &gt; 1 Then For i = 1 To intNumPages Call QP.AddImageFromFile(strBaseFileName, i) intwidth = QP.ImageWidth() intheight = QP.ImageHeight() Call QP.SetPageDimensions(intwidth, intheight) Call QP.DrawImage(0, intheight, intwidth, intheight) Next i Call QP.SaveToFile(strFileToCreate) //'strfiletocreate is the path/file of pdf being created </code></pre> <p>thanks! Brian</p> http://help.quickpdflibrary.com/questions/43/is-quick-pdf-library-compatible-with-delphi-2010 Is Quick PDF Library compatible with Delphi 2010? Rowan 2010-01-21T01:17:05Z 2010-09-10T12:23:54Z <p>Is Quick PDF Library compatible with Delphi 2010?</p> http://help.quickpdflibrary.com/questions/546/can-i-use-quick-pdf-as-a-viewer-in-my-delphi-application Can I use Quick PDF as a viewer in my Delphi Application? Jason 2010-07-29T20:39:37Z 2010-09-10T09:23:55Z <p>Can I use Quick PDF as a viewer in my Delphi application and be able to render PDF content to a Device Context?</p> http://help.quickpdflibrary.com/questions/548/how-to-view-a-pdf-in-my-delphi-application-using-darenderpagetostream How to view a PDF in my Delphi application using DARenderPageToStream? Question Seeder 2010-07-30T07:58:11Z 2010-09-10T09:23:55Z <p>How do I view a PDF in my Delphi application using the <a href="http://www.quickpdflibrary.com/help/quickpdf/DARenderPageToStream.php" rel="nofollow">DARenderPageToStream</a> function?</p> http://help.quickpdflibrary.com/questions/63/how-do-i-get-the-width-and-height-of-text-thats-already-in-a-pdf How do I get the width and height of text that's already in a PDF? Rowan 2010-01-21T01:43:09Z 2010-09-09T20:24:10Z <p>How do I get the width and height of text that's already in a PDF?</p> http://help.quickpdflibrary.com/questions/614/filling-pdf-form-fields-with-auto-font Filling PDF form fields with AUTO font Gordon 2010-09-09T18:51:32Z 2010-09-09T20:00:24Z <p>This is the second of a couple major issues we have with Quick PDF. As of yet, QuickPDF has not been able to resolve it. I need some help. </p> <p>We have a number of PDFs that we have form fields in. We fill those fields with QuickPDF and then we print those forms with QuickPDF.</p> <p>The issue here is that any field with AUTO font size set, the text sent to that field gets put onto the PDF in a DRASTICALLY different place than it is supposed to be. Due to the space constraints on our forms - we cannot specify a definate font size - otherwise all text would be at its smallest size - not idea.</p> <p>AUTO font is a standard feature of PDF - nothing fancy. But Quick PDF cannot fill those fields and render them properly - anyone have a clue?</p> <p>Thanks in advance for your help. We are using Win 2k Professional / Quick PDF 7.19.</p> http://help.quickpdflibrary.com/questions/615/pdfs-printed-with-quickpdf-lose-bold-style PDFs printed with QuickPDF lose bold style Gordon 2010-09-09T18:52:57Z 2010-09-09T19:59:30Z <p>I have been having an issue that I cannot resolve. I have tried darn near everything.</p> <p>We have PDFs that we populate with form data and then we print the PDF out (with the filled data) using QuickPDF. The problem is that the printed PDF loses the BOLD style of any text on the PDF that has that style. I have tried substituting fonts, etc. but it doesnt seem to be tied to any particular font.</p> <p>When I print the PDF using Acrobat natively, everything looks fine. Here is a snippet of my code. Anyone who has a theory, it would be appreciated. I can even send you the before and after PDFs. We are grasping at straws at this point and QuickPDF support has not been able to provide a remedy to this point.</p> <p>Here is the VB6 code snippet (we are running this in a Windows 2000 Professional environment btw - and the GDI DLL is the latest &amp; greatest available for Win2k): </p> <pre><code> Dim Result As Long Dim QuickPDF As QuickPDFAX0719.PDFLibrary Set QuickPDF = CreateObject("QuickPDFAX0719.PDFLibrary") Dim startPage As Integer Dim EndPage As Integer startPage = 1 Call QuickPDF.SetGDIPlusFileName(App.Path &amp; "\GDIPLUS.DLL") If QuickPDF.UnlockKey(KEY_GOES_HERE) = 1 Then Result = QuickPDF.LoadFromFile(pdfFile) Call QuickPDF.SetNeedAppearances(1) 'Complex code for filling the form fields goes here docPages = QuickPDF.PageCount printerName = QuickPDF.GetDefaultPrinterName printerOptions = QuickPDF.PrintOptions(0, 0, QuickPDF.GetDocumentFileName) Result = QuickPDF.PrintDocument(printerName, 1, docPages, printerOptions) End If </code></pre> <p>Anyone see anything wrong here??</p> http://help.quickpdflibrary.com/questions/609/whats-a-filelist What's a filelist? Chris 2010-09-05T19:09:07Z 2010-09-09T19:53:13Z <p>Hi,</p> <p>I'm working with the trial version and want to check if the mergefiles fit's my needs. But I'm not understand what's a filelist. If I take a variable nothing happens with it. If I only type in a name I get an error trying to mergefilelist.</p> <p>Best regards Chris</p> <p>Sorry, was my own error. Work's all fine.</p> <p>Best regards Chris</p> http://help.quickpdflibrary.com/questions/583/can-i-use-the-mergefilelist-function-with-one-or-more-encrypted-files Can I use the MergeFileList function with one or more encrypted files? Jason 2010-08-20T18:28:05Z 2010-09-09T19:24:16Z <p>I am using the AddToFileList in Delphi to populate a list to use with the MergeFileList function. Can I combine PDF files this way if one or more of the files in my list are encrypted? If so, how is it done?</p> http://help.quickpdflibrary.com/questions/584/crop-pdf-images-content Crop pdf images content Giuseppe 2010-08-21T00:00:10Z 2010-09-09T19:24:16Z <p>I need to crop all images inside pdf, to do so I'm saving pdf into an image using <strong>DARenderPageToFile</strong>, then get all images <strong>DAFindPage</strong>(fileHandle , 1); <strong>DAGetPageImageList</strong>(fileHandle , pageRef ); <strong>DAGetImageListCount</strong>(fileHandle , idlist); so I can have positions and size using <strong>DAGetImageDblProperty</strong> and then crop the image using that data. The problem is that <strong>DAGetImageDblProperty</strong> returns strange values and I'm not able to have right results I crop unknown area using returned values. I tryed different pdf and same problem the size is right but x and y aren't right. Could somebody halp me?</p> http://help.quickpdflibrary.com/questions/585/what-is-the-logic-behind-the-working-of-mouse-pointers-cursors What is the logic behind the working of Mouse pointers/cursors? bibin 2010-08-21T13:12:39Z 2010-09-09T18:24:34Z <p>Hi, I am trying to write a VBA Code in Excel to Display the X&amp;Y co-ordinates in an Excel sheet. I will have to get a page popped up when I double-click on the cell.I will also have to save the data entered in the cell and if the data is not entered I should have the provision to close the box.Unless I close the note pad, No other note pad should pop-up either for this cell or other cell.Plz help me with the flowchart and algorithm and the VBA Code as well. Thank you</p> http://help.quickpdflibrary.com/questions/586/recompose-splited-images-after-image-extraction Recompose splited images after image extraction. SebSil 2010-08-24T15:19:15Z 2010-09-09T18:24:34Z <p>Hi all,</p> <p>I wonder if there is a simple way via QPL to recompose extracted images (DASaveImageDataToFile or SaveImageToFile) when they are sub parts of a global one in the original PDF.</p> <p>I mean, there's a lot of pdf file in which manufacturers split embedded image in several ones.</p> <p>You can check that in acrobat when your selecting an image, you're in fact selecting only a part of the image. And when i extract images from a such page, in spite of in pdf view i have only one "real" image, it is split in some sub images.</p> <p>All the library i used (other than QPL) product the same result except one (but insufficient for other aspects).</p> <p>So I want to reproduce the same result with QPL, which is great by the way, and before dealing with sub image relatives positions in pdf and so having an headache, is there a simple way with QPL to reproduce this behaviour?</p> <p>Thanks for any help.</p> http://help.quickpdflibrary.com/questions/265/generate-pdf-report-from-ms-access-application-coded-in-vb Generate PDF report from MS Access application coded in VB Question Seeder 2010-02-26T11:31:07Z 2010-09-09T16:24:19Z <p>I am working on a MS Access application for our company and we have been testing PDFCreator 0.9.8 to generate PDF files from our report. The problem is that the printer is unstable and works poorly on our Terminal Server. Will this library help us generate a PDF from a report to a certain file location based on code in our VB part of the project?</p> http://help.quickpdflibrary.com/questions/418/draw-text-with-korean-font-onto-pdf Draw text with Korean font onto PDF Question Seeder 2010-04-22T10:56:33Z 2010-09-09T15:24:31Z <p>I am trying to type some Korean characters in the PDF with this library, but it looks impossible to add Korean characters with this. Please let me know the best way to display Koreans.</p> <p>I used source below:</p> <pre><code> PDFLibrary := TQuickPDF0718.Create; try UnlockResult := PDFLibrary.UnlockKey('...'); //Label1.Caption := PDFLibrary.LicenseInfo; if UnlockResult = 1 then begin //PDFLibrary.AddTrueTypeFont('&amp;#44404;&amp;#47548;',1); idx := PDFLibrary.AddTrueTypeFont('&amp;#44404;&amp;#47548;',1); PDFLibrary.SelectFont(idx); PDFLibrary.DrawText(100, 500, '&amp;#54620;&amp;#44544;&amp;#53580;&amp;#49828;&amp;#53944;'); PDFLibrary.SaveToFile('C:\HelloFromDelphi.pdf'); end else begin ShowMessage('Invalid license key'); end; finally PDFLibrary.Free; end; </code></pre> http://help.quickpdflibrary.com/questions/188/is-256-bit-aes-encryption-supported Is 256-bit AES encryption supported? Rowan 2010-01-27T23:16:37Z 2010-09-09T06:24:08Z <p>Does QuicK PDF Library support 256-bit AES encryption?</p> http://help.quickpdflibrary.com/questions/256/developing-application-with-visual-studio-2005-what-operating-systems-are-suppor Developing application with Visual Studio 2005. What operating systems are supported? Question Seeder 2010-02-26T08:26:25Z 2010-09-09T06:24:08Z <ol> <li><p>Does it support developing application under Visual Studio 2005? </p></li> <li><p>What operating system does it support for development?</p></li> <li><p>What operating system does it support when distributing the application to the customer?</p></li> </ol> http://help.quickpdflibrary.com/questions/399/c-getpagecontent-crashes C# GetPageContent crashes Alex Cohen 2010-04-11T21:24:13Z 2010-09-09T04:24:08Z <p>Has anyone used the C# dll version of GetPageContent. As soon as i call that function, my app just quits on its own, no crash info or anything. All other calls i am making seem fine and return good values. Can anyone shed some light on this for me?</p> <p>thx</p> http://help.quickpdflibrary.com/questions/378/create-my-own-pdf-printer-driver-with-its-own-name Create my own PDF printer driver with it's own name Question Seeder 2010-03-26T17:57:23Z 2010-09-09T03:24:12Z <p>I am developing a desktop application that will store documents to a SQL Server database. What I would like to do is have a printer driver assigned with a name for the application. When this driver is selected if the application is opened it will then my code query the application for the account to assign the document to. The document will then be automatically assigned a filename and imported in to the database. </p> <p>My questions are: </p> <ol> <li>With your application can I create my own printer driver with it's own name? </li> <li>Is there enough flexibility to allow me to insert code to do such a thing? </li> </ol> http://help.quickpdflibrary.com/questions/401/converting-a-visual-foxpro-report-to-pdf-file Converting a Visual FoxPro report to PDF File Brandy 2010-04-12T20:07:49Z 2010-09-09T03:24:12Z <p>Is there a function in the Quick PDF Library that will take a foxpro report and convert it to PDF? </p> http://help.quickpdflibrary.com/questions/364/compressing-pdf-files compressing pdf files Thomas 2010-03-24T15:52:33Z 2010-09-09T02:24:08Z <p>Hello, I have a pdf file and I want to compress the pdf File for example to 50 dpi. Is this possible with quick pdf?</p> <p>Thanks for the answer. thomas</p> http://help.quickpdflibrary.com/questions/397/cant-get-size-information Can't get size information. brandon 2010-04-09T21:10:28Z 2010-09-09T02:24:08Z <p>I am trying to get the size of the pdf document and it is returning the wrong values. I have tried this with three different pdfs. I even made one with photoshop at 1x52 dimension and it still returns that my dimensions are 792x612. Here's some of my code.</p> <pre><code> // Open PDF File pdfHandle = qp.DAOpenFile("C:\\test2.pdf", null); pageCount = qp.DAGetPageCount(pdfHandle); int pageHandle = qp.DAFindPage(pdfHandle, 1); int pageWidth = qp.PageWidth(); int pageHeight = qp.PageHeight(); int pageWidth2 = qp.DAGetPageWidth(pdfHandle, pageHandle); int pageHeight2 = qp.DAGetPageHeight(pdfHandle, pageHandle); </code></pre> <p>Notice I tried the DA function and standard function, both return the same wrong number. I have also tried getting every available box there is using GetPageBox, all return that the right box boundry is 612 and the top boundry is 792.</p> <p>Please help. I really like this library so far and I'm hoping we can get it to work for our application.</p> <p>I am using a trial, but I can't buy until I see this working. It's very important to our application.</p> http://help.quickpdflibrary.com/questions/371/insert-textbox-into-table insert textbox into table pallavi 2010-03-25T07:20:30Z 2010-09-09T01:24:08Z <p>hello, I have created table with rows and columns. i want to add textbox into table cell how i can add textbox into table cell?</p> http://help.quickpdflibrary.com/questions/386/does-quick-pdf-library-output-to-pdf-x1a-2001-and-pdf-x3-2002 Does Quick PDF Library output to PDF/X1a-2001 and PDF/X3-2002? Mr Roon 2010-03-31T01:05:49Z 2010-09-09T01:24:08Z <p>PDF/X formats particularly PDF/X1a-2003 and PDF/X3-2002 are more and more recognized as the pre-press PDF formats of choice for sending to commercial and short-run printing houses.</p> <p>Does Quick PDF output to these PDF formats? Thanks!</p> http://help.quickpdflibrary.com/questions/362/add-links-to-a-pdf Add links to a PDF Question Seeder 2010-03-24T08:45:57Z 2010-09-08T23:24:09Z <p>How do I add links to PDF files? </p> <p>I want these links to point to external files, or other pages in my PDF or even web pages (URL).</p> http://help.quickpdflibrary.com/questions/605/i-need-daappend-sample-codedeldhi I need DAappend sample code(deldhi) Kang Dong Gyun 2010-09-04T04:38:25Z 2010-09-08T22:41:44Z <ol> <li><p>merge spent long time</p> <p>so I will use DAappend function in my Delphi source code</p> <p>But I don't know how to use DAappend</p></li> <li><p>Is another method in quickly mersing?</p></li> </ol> <p>Thanks, have nice day!</p> http://help.quickpdflibrary.com/questions/395/reduce-file-size Reduce File Size Dan 2010-04-06T22:29:02Z 2010-09-08T22:24:19Z <p>What is the equivalent method for Acrobat's Reduce File Size menu option, found on the Document menu? CompressContent, CompressImages CompressFonts don't seem to work.</p> <p>I'm simply opening a PDF and assigning a Master Password, but would like to shrink the document. Acrobat can take a 1.5mb doc and reduce it to just under 200k. I would like it if QuickPDF could do the same.</p> <p>Thanks, Dan</p> http://help.quickpdflibrary.com/questions/404/how-do-i-read-a-text-print-file-and-create-a-new-pdf How do I read a text print file and create a new PDF Erico Ibarra 2010-04-14T22:29:21Z 2010-09-08T22:24:19Z <p>My application print client statements in text files. I need convert This files in PDF.</p> http://help.quickpdflibrary.com/questions/365/merge-two-pdfs-with-1-5-page-to-3-page merge two pdf's with 1.5 page to 3 page Thomas 2010-03-24T15:56:11Z 2010-09-08T21:24:13Z <p>Hello, is it possible to merge 2 pdf files with the following attribute: Each pdf File has 1.5 page. Now I want as result one pdf file with 3 page. I have found the "normal" merge. But then, I have 4 page.</p> <p>Thanks Thomas</p> http://help.quickpdflibrary.com/questions/403/extract-text-and-image-from-document-and-render-another-document Extract Text and Image from document and Render Another Document marcelo 2010-04-14T19:14:09Z 2010-09-08T21:24:13Z <p>Hi</p> <p>I am using the example in "Extract text and images and insert into new PDF", but i have a problem.</p> <p>I Draw the text, save the document and after I Open the document, but when I try select the text in adobe for example.. this selection don't work very well..</p> <p>Example </p> <p>In adobe show "PODER JUDICIÁRIO" when select the text, copy and past and notepad show</p> <p>"PODE R JUDICIÁRI O"</p> <p>Can I help me?</p>