+1 800 256 3608 (toll-free in North America) or +49 7531 90 60 10| service@combit.com

Specify default printer


(Shane Hopcroft) #1

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.


(combit Support - Thomas Metternich) #2

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