Print Page | Close Window

PrintDocument / Javascript

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=4000
Printed Date: 28 Apr 24 at 9:50PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: PrintDocument / Javascript
Posted By: Ulrich Blomeyer
Subject: PrintDocument / Javascript
Date Posted: 07 Feb 23 at 10:43PM
Hello everyone!

I have a question about printing pdf files.

In an application the customer has to fill out a pdf form and print it.

The form contains some javascript routines. These are executed as soon as the document is printed.
The javascript routines change the printed image: for example, a barcode is printed and OCR readability is increased by omitting grid lines.

Is my impression correct that the QPL routine "PrintDocument" can print the Pdf file, but without executing the previously mentioned Javascript routines?
This is only possible with the help of an installed Acrobat Reader (i.e. "ShellExecute") ?

My system: Quick Pdf Library 18.11, Delphi 10.4.2 and Windows 10/11.

Kind regards
U. Blomeyer





Replies:
Posted By: Ingo
Date Posted: 12 Feb 23 at 5:53PM
I've told it to you already but for the other ones here:
QPL's PrintDocument converts the PDF to graphic format on the fly and outputs the resulting image to the printer. PrintDocument does not a real "open" with these PDF and due to this no Javascript code is executed.


-------------
Cheers,
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