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
 PDF Print selected pages
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

mdgodfrey

USA
54 Posts

Posted - Apr 11 2024 :  12:28:01  Show Profile  Reply
I don't seem to be able to find a PDF Print option that allows the printing of selected pages within the PDF.
I am using a ImageEnMView as the selector of pages but I don't seem to be able to populate the the pages to be printed using prSelection.

What I wish I could find is something like is possible with exporting.
ImageEnMView.Print(True, MultiSelectImageImage, prSelection);
Then have the printdialog allow prSelection and show the selected page to be printed.

I can write around this using export pages and then print the exported file but if there is something I'm just missing I would rather use that.

Thanks

xequte

38613 Posts

Posted - Apr 11 2024 :  15:30:32  Show Profile  Reply
Hi

Please see the PrintSelected parameter of TImageEnMView.MIO.PrintImages():

https://www.imageen.com/help/TImageEnMIO.PrintImages.html

Or if you are printing directly from the PDFViewer, use:

https://www.imageen.com/help/TIEPdfViewer.Print.html



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

mdgodfrey

USA
54 Posts

Posted - Apr 22 2024 :  18:24:06  Show Profile  Reply
I am printing directly from the PDFViewer.
But the desire is print only the pages that the user has selected in the Thumbnails.
The example sent only allows the printing of pages in sequence but I want the selected.
For Example Pages: 1,3,7,9

I did find something that allows the user to type in the pages manually but I want to supply the already selected pages.

Thanks
Go to Top of Page

xequte

38613 Posts

Posted - Apr 22 2024 :  22:50:16  Show Profile  Reply
Hi

Next week's release supports a print overload with a Pages: Array of Index parameter. That will do what you are looking for.

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