Home
Features
Demos
Store
Forum
Support
ImageEn Forum
Profile
Join
Active Topics
Forum FAQ
Search
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
Default printer
New Topic
Reply to Topic
Author
Topic
aleatprog
132 Posts
Posted - Jul 07 2019 : 10:02:28
Is it possible to define a default printer in order to print an image without opening the print dialog?
xequte
38610 Posts
Posted - Jul 07 2019 : 15:32:34
Hi
You don't change the default printer, you change the active printer by set the Printer.PrinterIndex:
http://docwiki.embarcadero.com/Libraries/Rio/en/Vcl.Printers.TPrinter.PrinterIndex
Setting to -1 uses the default printer, otherwise set to an index. The Printers property contains a list of installed printers.
http://docwiki.embarcadero.com/Libraries/Rio/en/Vcl.Printers.TPrinter.Printers
Nigel
Xequte Software
www.imageen.com
Topic
New Topic
Reply to Topic
Jump To:
Select Forum
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page