Search found 45 matches

by Mytch
Wed Jul 03, 2019 7:35 pm
Forum: Label Design & Printing
Topic: Human Readable Interpretation (HRI)
Replies: 9
Views: 4322

Re: Human Readable Interpretation (HRI)

Hello, Is it possible to have the same information but in 2 lines? (01)xxxxxxxxxxxxxxx (17)xxxxxx(10xxxxxx) Thank you, Sophie Sophie, You can use a slightly modified version of the provided script: Dim a a = Replace([GS-128 Data],"(",vbcrlf & "(",1,2) result = Right(a, Len(a)-2) Please let me know ...
by Mytch
Mon Jul 01, 2019 10:26 pm
Forum: Suggestions & New Ideas
Topic: If Then control in item Action
Replies: 3
Views: 93

Re: If Then control in item Action

Nick, Thanks for the suggestion. Please note that is is possible to use a Condition to determine if an Action is executed or not. In the Action's Execution and Error Handling area, there is an option to have the Action Enabled only under certain conditions. This Condition uses the same scripting lan...
by Mytch
Thu Jun 06, 2019 10:09 pm
Forum: Label Design & Printing
Topic: Printer 'Syntax Error'
Replies: 7
Views: 913

Re: Printer 'Syntax Error'

HaydnWV, So it sounds like security for the nicelabel automation service was partly to blame, adding the specific account (NiceLabel.Service) and giving it all Manage permissions/control stopped the print jobs from being deleted from the spooler. Deployed Automation triggers inherit permissions of t...
by Mytch
Fri May 31, 2019 6:53 pm
Forum: Label Design & Printing
Topic: Printer 'Syntax Error'
Replies: 7
Views: 913

Re: Printer 'Syntax Error'

HaydnWVN, Based on the original screenshots, the print jobs in the queue were sent from Local System (SYSTEM), yet the latest screenshots are now showing a new service owner. Are these screenshots from different systems or was the account just updated? Is nicelabel.service part of the Administrators...
by Mytch
Thu May 30, 2019 5:50 pm
Forum: Label Design & Printing
Topic: Printer 'Syntax Error'
Replies: 7
Views: 913

Re: Printer 'Syntax Error'

HaydnWVN, When an Automation Trigger is deployed to Automation Manager, NiceLabel is now running as a service instead of an application (inheriting user permissions). We recommend changing the "Log on as" user for NiceLabel Automation Service 2019 (or 2017). Currently, it is set for Local System, wh...
by Mytch
Mon May 06, 2019 7:57 pm
Forum: Label Printing Integration & Programming
Topic: Integrating with .Net application
Replies: 2
Views: 614

Re: Integrating with .Net application

Ahmed, Unfortunately, NiceLabel 6 has been end of life for support since December 2018: https://www.nicelabel.com/products/specifications/product-lifecycle-policy At this point, we would recommend upgrading to NiceLabel 2019 PowerForms Suite, which will give access to the NiceLabel Automation applic...
by Mytch
Fri Apr 12, 2019 7:28 pm
Forum: Label Design & Printing
Topic: Dynamically change background image on a label based on data field
Replies: 1
Views: 1211

Re: Dynamically change background image on a label based on data field

nordicapproach, Setting a variable image under Document (Label) Properties > Style > Background picture is not currently supported, however, there is an easy alternative when the standard Picture object from the toolbox. Firstly, your variable images must be defined in a database field for each reco...
by Mytch
Fri Mar 01, 2019 9:25 pm
Forum: Label Design & Printing
Topic: Zebra designer Pro 2 - rfid issue
Replies: 3
Views: 2864

Re: Zebra designer Pro 2 - rfid issue

sebacz, Are you actually wanting to define HEX values or ASCII? The provided value, "0000020202" that you desire has no meaningful value in HEX. If you want the RFID tag to physically read as "0000020202", then simply define this value using ASCII data type instead of HEX. You can either write this ...
by Mytch
Thu Feb 21, 2019 11:10 pm
Forum: General Discussions
Topic: Coding using Python
Replies: 8
Views: 3455

Re: Coding using Python

babis95, Python is great, but sometimes we run into some issues within NiceLabel, because default database fields use the Table.Field.Value syntax, which is not good for Python. So the first step is to always create a new field alias that does not use a period. Another challenge is that by default, ...
by Mytch
Thu Feb 21, 2019 10:44 pm
Forum: General Discussions
Topic: Coding using Python
Replies: 8
Views: 3455

Re: Coding using Python

babis95, This is probably caused by Excel, which is not a true database, and probably reporting the max length of each cell, instead of the true data length. Please consider using a different database type, such as Access or SQL, if possible. Anyways, maybe we are actually working too hard for this,...
by Mytch
Thu Feb 21, 2019 9:20 pm
Forum: General Discussions
Topic: Coding using Python
Replies: 8
Views: 3455

Re: Coding using Python

babis95, You'd want to use something like zfill for Python: if len(Variable.Value) == 7: Result.Value = Variable.Value.zfill(12) elif len(Variable.Value) == 8: Result.Value = Variable.Value.zfill(12) Database fields can be inserted as a data source the same as standard NiceLabel variables, but they ...
by Mytch
Mon Feb 18, 2019 5:34 pm
Forum: Label Design & Printing
Topic: Adding rows with value to Access database
Replies: 3
Views: 2320

Re: Adding rows with value to Access database

Bobby, You were close, but instead of using the :variable = '1' syntax, you can simply insert 1 in your statement. For example: INSERT INTO Blad1 ( FörNamn, EfterNamn, Stad, Företag, Middag, Mingel, Anlänt, Utställare ) VALUES (:FörNamn, :EfterNamn, :Stad, :Företag, :Middag, :Mingel, 1, :Utställare)...
by Mytch
Fri Feb 15, 2019 8:09 pm
Forum: Label Printing Integration & Programming
Topic: Printer Name in Barcode Form
Replies: 1
Views: 1287

Re: Printer Name in Barcode Form

Terpnos, Thank you for the inquiry. Most Zebra printers can accept both SGD and ZPL commands. In this case, the SGG command below can fetch the printers name (or unique ID if no name is set yet): ! U1 getvar "device.friendly_name" The issue here is that you cannot send SGD and ZPL commands in the sa...
by Mytch
Fri Jan 25, 2019 11:06 pm
Forum: Label Design & Printing
Topic: Human Readable Interpretation (HRI)
Replies: 9
Views: 4322

Re: Human Readable Interpretation (HRI)

Teos, You must give your GS1-128 function a valid value first and ensure the proper data source is being called in the VBScript. The provided sample code uses [GS1-128 Data], but the default function is usually named as just [GS1128]. Dim a a = Replace( [GS1128] ,"(",vbcrlf & "(") result = Right(a, ...
by Mytch
Fri Jan 25, 2019 9:40 pm
Forum: Label Design & Printing
Topic: Human Readable Interpretation (HRI)
Replies: 9
Views: 4322

Re: Human Readable Interpretation (HRI)

Teos,

You must script this functionality:

Code: Select all

Dim a
a = Replace([GS-128 Data],"(",vbcrlf & "(")
result = Right(a, Len(a)-2)
We have a pre-loaded sample with NiceLabel 2019 here:
C:\Users\Public\Documents\NiceLabel 2019\Designer\Pro\Samples\Lifescience\UDI\UDI-GS1-Datamatrix.nlbl

Regards,
Mytch