Search found 664 matches

by dado
Mon Feb 11, 2019 7:12 am
Forum: General Discussions
Topic: Linking Databases in Designer 2019
Replies: 1
Views: 43

Re: Linking Databases in Designer 2019

Yes it is possible. You need to open the Data Menu / Dynamic Data Manager Now select your SQL Table in the left part of the dialog On the right side select Filter and Enable it. Select which field you want (Item_no in your case) And select the compare sign = And on the right side select the Excel fi...
by dado
Thu Jan 31, 2019 8:32 pm
Forum: Label Printing Integration & Programming
Topic: Python Mod 10
Replies: 5
Views: 92

Re: Python Mod 10

That's great :D and no problem... we're here to help 8)

Regards, Damjan
by dado
Thu Jan 31, 2019 2:52 pm
Forum: Label Printing Integration & Programming
Topic: Python Mod 10
Replies: 5
Views: 92

Re: Python Mod 10

Sorry for the late answer.... I hardly find time to answer here. Here you go: checkDigitCalculation2.nsln And the code is here: def luhn_checksum(number): total=0 digits = list(map(int,str(number))) reversedDigits = digits[::-1] total = 0 for position, digit in enumerate(reversedDigits): if (positio...
by dado
Thu Jan 31, 2019 8:45 am
Forum: Label Printing Integration & Programming
Topic: Python Mod 10
Replies: 5
Views: 92

Re: Python Mod 10

Hi there I created a sample for you so you can check it out and test if it what you need. checkDigitCalculation.nsln There are three elements. Base number, Check digit and Suffix number... You'll see that the check digit is calculated with the following python script (which was downloaded somewhere ...
by dado
Wed Jan 30, 2019 7:36 am
Forum: Label Printing Integration & Programming
Topic: Label Objects Data Source
Replies: 1
Views: 781

Re: Label Objects Data Source

Sorry, you cannot get to the information which Database Field is connected to a text element in the label.

SDK.NET just doesn't implement the functionality to allow code to get to this information.

Regards, Damjan
by dado
Wed Jan 30, 2019 6:21 am
Forum: Label Printing Integration & Programming
Topic: ASP.NET Web API 2 - createPrintFile
Replies: 1
Views: 63

Re: ASP.NET Web API 2 - createPrintFile

You need to simply add the reference to the SDK.NET.dll and execute the code below: PrintEngineFactory.SDKFilesPath = @"c:\Program Files\NiceLabel\NiceLabel 2019\bin.net"; PrintEngineFactory.PrintEngine.Initialize(); ILabel label = PrintEngineFactory.PrintEngine.OpenLabel("c:\\tmp\\simplelabel.nlbl"...
by dado
Wed Sep 05, 2018 6:45 am
Forum: Label Design & Printing
Topic: Issue With RFID Hex value modification
Replies: 1
Views: 660

Re: Issue With RFID Hex value modification

Hi there

I just want to tell you that there is not enough information to help you. We would need at least a label file, automation configuration file and the data that executes the trigger to see what exactly is happening in your scenario.

Kind Regards

Damjan
by dado
Fri Jul 27, 2018 9:07 pm
Forum: Label Design & Printing
Topic: Create custom stock size
Replies: 4
Views: 834

Re: Create custom stock size

Hi Jason Kyle is right. Currently we don't have any editor for customizing stocks. If you're really in a need for editing stocks there is a database file which holds the stocks. Its located here: "c:\ProgramData\NiceLabel\NiceLabel 2017\Stock.db" If you want to edit is you will need to download a SQ...
by dado
Mon Jul 09, 2018 7:47 am
Forum: General Discussions
Topic: Print qeue showing incorrect label count
Replies: 2
Views: 2076

Re: Print qeue showing incorrect label count

Hi It would help if you also attached a label. Specify which printer driver and version you're using and maybe attach a print stream that is sent to the printer. Anyway I believe that I know why this is happening. When you print a label that contains a simple rectangle and nothing else and you set p...
by dado
Tue Jun 19, 2018 12:50 am
Forum: Label Design & Printing
Topic: Using setobjectvisible attribute
Replies: 4
Views: 871

Re: Using setobjectvisible attribute

Great :)
by dado
Fri Jun 15, 2018 11:04 pm
Forum: Label Design & Printing
Topic: Using setobjectvisible attribute
Replies: 4
Views: 871

Re: Using setobjectvisible attribute

You are right. There is not great sample on the forum how to connect NiceForm to Label and use SetObjectVisible. So I created one for you (and if any other need it). Just unpack the file to C:\tmp SetObjectVisibleFromNiceForm.zip Here is the correct VBScript to achieve the change of the visibility D...
by dado
Fri Jun 15, 2018 10:33 pm
Forum: Label Design & Printing
Topic: How to add date
Replies: 1
Views: 457

Re: How to add date

You can connect both, label and form to the access database. This would be the best option. I don't have any information why exactly are you connecting the form and the label. Anyway the dateAdd function should be added to the label and will add number of days to a value sent to the printer. Regards...
by dado
Thu Jun 14, 2018 4:01 pm
Forum: Label Design & Printing
Topic: Using Provisional Values in Label Preview
Replies: 2
Views: 606

Re: Using Provisional Values in Label Preview

Hi

You cannot show provisional values in the label previews. Previews show what the label would look like when it is printed... so it uses the current values of the variables.

Regards, Damjan
by dado
Wed Jun 13, 2018 2:54 pm
Forum: Label Printing Integration & Programming
Topic: ILabel Error C#
Replies: 3
Views: 1446

Re: ILabel Error C#

I have some questions before we proceed...

Which version do you have (including build number)?
Provide the path to the executable that you are executing?
Provide the path to the SDKFiles (the SDK.NET and SDK.NET.Interface)?

Regards, Damjan
by dado
Tue Jun 12, 2018 12:38 am
Forum: Label Printing Integration & Programming
Topic: ILabel Error C#
Replies: 3
Views: 1446

Re: ILabel Error C#

Please try to call these two lines before calling OpenLabel. And make sure you use the latest 17.3.1 version PrintEngineFactory.SDKFilesPath = "c:\\Application\\SDKPath\\"; PrintEngineFactory.PrintEngine.Initialize(); ILabel label = PrintEngineFactory.PrintEngine.OpenLabel(@"c:\tmp\SimpleLabel.lbl")...