Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
difference between DrawText and Printer.Print |
Post Reply
|
| Author | |
Cuspide
Team Player
Joined: 25 May 10 Status: Offline Points: 21 |
Post Options
Thanks(0)
Quote Reply
Topic: difference between DrawText and Printer.PrintPosted: 28 Dec 11 at 3:07PM |
|
Hi all,
i'm sorry for the silly question. IDE: VB6 I am printing a file of 30 lines. printing with Printer.Print I get a file in the spool of 25,3KB printing with quickPdf I get a file in the spool of 169 Kb My setting are: Set oPdf = New PDFLibrary If oPdf.UnlockKey(LICENSEKEY) = False Then Exit Function End If Call oPdf.NewDocument Call objPdf.SetPageSize(IIf(pPdfPage.bOrizzontale, "A4 Landscape", "A4")) Call objPdf.SetOrigin(1) Call objPdf.SetMeasurementUnits(1) Call objPdf.AddStandardFont(pPdfPage.iFontName) Call objPdf.SetTextSize(pPdfPage.dSize) and I have sostitute the old Printer.Print this procedure: Public Sub gPdfRiga(ByVal pText As String) Static yPos As Double If PRN_CTR = 0 Then yPos = 0 End If yPos = yPos + CDbl(oPdf.GetTextHeight) Call oPdf.DrawText(7, yPos, pText) PRN_CTR = PRN_CTR + 1 End Sub you're doing something wrong? or the file must be of such size? thanks to all. Daniele
|
|
![]() |
|
AndrewC
Moderator Group
Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 Jan 12 at 11:57AM |
|
Currently with Quick PDF Library, when you print the PDF, the file is converted to a bitmap image before being sent to the printer and this is why the spool file is so large. We are looking into options to improve the spool file size but this won't happen until after 8.14 is released. |
|
![]() |
|
Cuspide
Team Player
Joined: 25 May 10 Status: Offline Points: 21 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 Jan 12 at 9:31AM |
|
Perfect.
So will wait for the release of >= 8.14 Tnank You Andrew.
Daniele
|
|
![]() |
|
Cuspide
Team Player
Joined: 25 May 10 Status: Offline Points: 21 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 May 12 at 7:56AM |
|
Hi Andrew,
news for this problem? Thank you. Daniele
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store