Select Printer From A List
Hi,
i'm trying to use ActiveX from C# code and i'm unable to find a method for retrieving the list of printers installed.
I haven't find any topic about that in forums...
Thanks!
Marco
0
-
BarTender doesn't have functionality to enumerate the printers from Windows, what you'll do is use the PrinterSettings.InstalledPrinters property from Windows to be able to get the printers list. 0 -
Thank you Mike!
I have another question but it's not related to the topic.
Is there a way to generate the image file (.jpg) of a format print preview?
I am able to show the preview dialog but i need to show the preview into a picture box.
Thank you again!
0 -
You have several ways of doing this:
- Use the Format.ExportToClipboard() method.
- Use the Format.ExportToFile() method.
- Use the Format.ExportPrintPreviewToImage(method) --> only available in Enterprise Automation Edition of BarTender.
For further reference, please take a look BarTender's Help (press F1 key within BT), and now at the "Automating BarTender > Automation with ActiveX" topic.
0
请先登录再写评论。
评论
3 条评论