Specify default printer

Hi,

Can someone give me an example of how to specify the default printer that is used in the Print Options dialog.

Currently my code looks like this:

using (var listLabel = new ListLabel())
{
...
    listLabel.Print(LlProject.List, memoryStream);

I have not been able to find a simple way of passing in the printer name without dumping the project file to the filesystem first and using this override:

public void Print(string printerName, LlProject projectType, string projectFile);

There has to be a better way than that.

I am using LL20. Any help is appreciated.

Dear Shane,

thank you for your post.

Please try to use the option LL_OPTIONSTR_DEFAULTPRINTER (71):


LL.Core.LlSetOptionString(71, );
LL.Print();

Best regards,

Thomas Metternich
Technical Support
combit GmbH