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
 Print pdf and set runtime printer
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

lorife

Italy
44 Posts

Posted - Jun 07 2022 :  02:56:01  Show Profile  Reply
Hello,
is it possible to set the printer runtime when I print a PDF?

I don't see an option to set printer name or the printer bin

thanks

xequte

38198 Posts

Posted - Jun 07 2022 :  15:11:17  Show Profile  Reply
Hi

ImageEn just uses the current VCL printer, so you should set it via the global Printers var, e.g.

Printer.Printer := 5;

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

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

King-Soft

Germany
2 Posts

Posted - Jun 27 2022 :  02:21:26  Show Profile  Reply
If i print a DIN-A3-PDF, the Printer prints on a DiN-A4-Sheet.
The PDF-Component don't recognize sizes of PDF-sheets.

Is this possible in the future?

Best Regards
Bernd
Go to Top of Page

xequte

38198 Posts

Posted - Jun 27 2022 :  17:36:52  Show Profile  Reply
Hi Bernd

When printing, ImageEn (by default) does not consider the DPI or document size. You would need to add some code to handle that (should not require much).

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