ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Printed PDF is missing elements that are visible on the preview.
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

hinsona

14 Posts

Posted - Dec 22 2023 :  14:55:58  Show Profile  Reply
I have a PDF that includes a signature captured from a Topaz signature tablet. From our application we can print the document after the signature is captured, however when printed the signature is not visible. I tried printing the PDF using the PDF Viewer demo project, and it does the same thing.

Any idea why it's not printing the signature? It prints from other PDF viewers.

I've attached an example PDF.



attach/hinsona/20231222145822_PAWN TICKET_LT-OR10023062.zip
67.71 KB

Edit: Added zip PDF since it tried to attach as an image.

xequte

38613 Posts

Posted - Dec 22 2023 :  20:47:58  Show Profile  Reply
Hi

It prints with the signature when I test it here.

Is iepoAnnotations included in options?

http://www.imageen.com/help/TIEPdfViewer.Options.html

What version of ImageEn and the iepdf32.dll are you using?



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

xequte

38613 Posts

Posted - Dec 22 2023 :  21:09:31  Show Profile  Reply
Also, I assume you are printing using:

ImageEnView1.PdfViewer.Print( True );

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

hinsona

14 Posts

Posted - Dec 26 2023 :  08:32:32  Show Profile  Reply
> What version of ImageEn and the iepdf32.dll are you using?

ImageEn ver. 11.0.1 with iepdf32.dll ver. 119.0.6043.0

> Is iepoAnnotations included in options?

I'm not sure if it's enabled by default so I added it to the demo project in the FormCreate where it's setting other PDFViewer options.

ImageEnView1.PdfViewer.Options  := ImageEnView1.PdfViewer.Options + [iepoAutoButtons,iepoAnnotations];  // This is the default anyway


I tested it after setting this and it didn't make a difference.

> Also, I assume you are printing using:
> ImageEnView1.PdfViewer.Print( True );

Yes, this was already set in the demo project.

procedure TfrmMain.miPrintClick(Sender: TObject);
const
  Show_Print_Dialog = true;
begin
  ImageEnView1.PdfViewer.Print( Show_Print_Dialog );
end;


Is it the version of ImageEn I'm using?
Go to Top of Page

hinsona

14 Posts

Posted - Dec 27 2023 :  15:07:29  Show Profile  Reply
This issue was resolved by installing ImageEn v13.
Go to Top of Page

xequte

38613 Posts

Posted - Dec 27 2023 :  17:04:25  Show Profile  Reply
Cool. Thanks for letting us know.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

hinsona

14 Posts

Posted - Jan 04 2024 :  16:41:09  Show Profile  Reply
Is there a way to programmatically set the output printer without showing the printer selection dialog?

For example, if I have a printer named "Reports" can I send the print job to that printer, or does it always use the default printer? It would be really nice to be able to define where the job is printed.

Thanks!
Go to Top of Page

xequte

38613 Posts

Posted - Jan 04 2024 :  17:10:16  Show Profile  Reply
Hi

It should print to the active VCL printer. To specify the active printer set PrinterIndex:

https://docwiki.embarcadero.com/Libraries/Athens/en/Vcl.Printers.TPrinter.PrinterIndex

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: