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
 Change printer in TImageEnView.PdfViewer
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

HeiniPotsdam

4 Posts

Posted - Nov 26 2025 :  05:03:13  Show Profile  Reply
Hi,

how can i change the printer in code without activating the printerdialog?

Best regards, Olaf

xequte

39298 Posts

Posted - Nov 26 2025 :  16:50:54  Show Profile  Reply
Hi Olaf

You can Printer.PrinterIndex:

Printer.PrinterIndex := Printer.Printers.IndexOf('My Printer Name');

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

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

HeiniPotsdam

4 Posts

Posted - Nov 27 2025 :  03:08:11  Show Profile  Reply
Thanks Nigel,
works fine.
(I could have figured that out for myself.)
Go to Top of Page

xequte

39298 Posts

Posted - Nov 28 2025 :  03:14:33  Show Profile  Reply
All good

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