Print Page | Close Window

Printing creates jpg

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=356
Printed Date: 18 May 24 at 11:02PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Printing creates jpg
Posted By: tennistom
Subject: Printing creates jpg
Date Posted: 09 Mar 06 at 11:58AM

Hello all.

I am using version 5.11 dcu's in a Delphi 7 application.

when I call:    

QP.PrintDocument( Printer.Printers.Strings[Printer.PrinterIndex], 1, 1, QP.PrintOptions( 0, 0, 'AAAA') );

a temporary jpg file is created containing a image of the printed document.

this jpg file is not deleted.

So everytime I print there are more of these files.

Has anybody seen this before?

Any ideas on how to prevent these files from being left on the hard drive?




Replies:
Posted By: chicks
Date Posted: 09 Mar 06 at 1:15PM
That was one of the first things fixed by the gurus here (JanN, I think). See this link for the latest version with the fix:

http://www.quickpdf.org/forum/forum_posts.asp?TID=316&PN=1


Posted By: tennistom
Date Posted: 09 Mar 06 at 2:37PM

I just downloaded the updated version but it did not fix my problem.

Here is some more of my code:

 

 QP.SetNeedAppearances(1);

QP.LoadFromFile(‘aaa’);

QP.SelectPage(1);

QP.SetFormFieldValueByTitle('aaa', ‘aaa’ );

  for I := 1 to QP.FormFieldCount do

    begin

    QP.UpdateAppearanceStream(I);

    end;

QP.PrintDocument( Printer.Printers.Strings[Printer.PrinterIndex], 1, 1, QP.PrintOptions( 0, 0, 'aaa') );

QP.RemoveDocument(QP.SelectedDocument);

finally

QP.Free;



Posted By: tennistom
Date Posted: 09 Mar 06 at 5:30PM

I found my problem is that I am still running version 5.11.

The only problem is when I try to use the 5.14 dcu's I receive the following message:  "file not found ...uiSEDQuickPDF.pas"

If I restore the 5.11 dcu's then this message goes away.

Any ideas?

I know I must be missing something simple.

Thanks



Posted By: Ingo
Date Posted: 10 Mar 06 at 2:32AM
Hi!
Which dcu-version you're using d5,6,7,...?
Do you get this error from inside your ide while running your app? Perhaps there's an error in your code and the debugger wants to open the sources and you don't have the pas-files...?
Do you get this error with each code-sample you start or only with one special app?
You can use 5.11, too... Then you should implement the workaround you'll find in the bugfix-section.
Best regards,
Ingo


Posted By: tennistom
Date Posted: 10 Mar 06 at 9:16AM

DCU version contained in QPDFv514-DCU-D7.zip

I receive the file not found message when I compile my application which contains "uiSEDQuickPDF" in the uses clause.

When I use the DCU version contained in iSQP0511D7.zip I am able to compile my application.

Thanks.

 



Posted By: mc1965
Date Posted: 13 Jul 06 at 9:24AM

Hi,

I have buy a site license full source code of iSedQuickPdf.

I have version 5.11, but i see that is available version 5.14.

How can i download this version with full source code ???

thank you



Posted By: Ingo
Date Posted: 13 Jul 06 at 5:34PM
Hi MC!

Send one of the smallest source-file to Michel or me and you'll get the password.

Best regards,
Ingo



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk