Request for deeper insight on method IPrintSetting.Reset()

Label printing integration (NiceWatch middleware and ActiveX programming interface)

Moderator: NiceLabel Support Team

Post Reply
Valued Contributor
Posts: 23
Joined: Tue Sep 20, 2022 11:04 pm
Location: Indianapolis

Request for deeper insight on method IPrintSetting.Reset()

Post by shawnWork » Wed Jan 25, 2023 4:03 pm

I am working with C# .NET Nice Label 2019 SDK.
I would like to know more details about the IPrintSetting.Reset() method.

Code Comments: "Resets the print parameters to their default values."

So, comments make sense right, but I am wanting to know more about how and when one should call this and expect this to work.

For example.

My understanding is a label's Print Settings are loaded/Set into the label from the label design settings during the method PrintEngine.OpenLabel().
Would label.PrintSettings.Reset() has any effect if called thereafter the label is opened?

If a label has always used the default printer or used printer driver settings, can the print parameters ever be changed?

In my opinion, pointless to have an SDK if you can't programmatically control the labels at runtime. Settings of a label at design time should be default settings and able to override settings at runtime.

Post Reply