Search found 2934 matches

by Saso
Wed Feb 20, 2019 11:06 am
Forum: Label Design & Printing
Topic: nicelabel 5 modulo 10
Replies: 5
Views: 1138

Re: nicelabel 5 modulo 10

This will help: function gs1mod10(value, append) sum = 0 j = 1 for i = len(value) to 1 step -1 if j = 1 then sum = sum + 3 * CInt(Mid(value,i,1)) j = 0 else sum = sum + CInt(Mid(value,i,1)) j = 1 end if next if append = "0" then gs1mod10 = (10 - sum mod 10) mod 10 else gs1mod10 = value & (10 - sum m...
by Saso
Fri Feb 15, 2019 9:15 am
Forum: Label Design & Printing
Topic: Hyperlink in Solution
Replies: 2
Views: 26

Re: Hyperlink in Solution

Yes, you can create a hyperlink in your form: Create a Text object. In Source tab, enter the text that should be visible to the user. In your case, this could be "Contact support", "Send email" or something similar to tell the user that click on the text will send an email. In Events tab, click Acti...
by Saso
Mon Feb 04, 2019 9:11 am
Forum: Label Design & Printing
Topic: Automation Print Job
Replies: 1
Views: 39

Re: Automation Print Job

Can you describe your print process? What does your trigger do? The endlessly "running" trigger might indicate that you print to a printer driver that asks you for a file name (such as "Microsoft XPS Document Writer"). NiceLabel Automation runs as a service process and cannot interact with the deskt...
by Saso
Tue Jan 29, 2019 3:58 pm
Forum: Label Printing Integration & Programming
Topic: Printing a label containing a VBScript via SDK
Replies: 2
Views: 106

Re: Printing a label containing a VBScript via SDK

VBScript cannot be used from 64-bit NiceLabel .API NET process.

There are two options:
  1. Recompile your application as 32-bit application (to use 32-bit NiceLabel .API NET).
  2. Convert your VBScript code into Python code. Python will run in 64-bit process.
by Saso
Tue Jan 29, 2019 1:29 pm
Forum: General Discussions
Topic: Rewinding label roll
Replies: 1
Views: 62

Re: Rewinding label roll

You need a label rewinder of some sort.

Google is your friend. ;-)
http://lmgtfy.com/?q=label+rewinder

Perhaps somebody else can suggest a good model.
by Saso
Thu Jan 10, 2019 10:09 am
Forum: General Discussions
Topic: [PF2017] Change printing mode
Replies: 4
Views: 3529

Re: [PF2017] Change printing mode

You can apply printer settings to the label just once. However, we will do the "merge of printer settings". For example, when you have a label created for one label printer and then you select some other printer (from the same or different brand), the settings from the first driver will be merged wi...
by Saso
Mon Jan 07, 2019 1:46 pm
Forum: Installation and Activation
Topic: Migrating label from NL6 to NL2017
Replies: 1
Views: 882

Re: Migrating label from NL6 to NL2017

NiceLabel 2017 or NiceLabel 2019 do not support each and every feature available in V6. We have compiled a list of differences between versions. For NiceLabel 2017 compared to V6 see this KB article . The NiceLabel API is no longer exposed inside VBScript in NiceLabel 2017. You cannot access label o...
by Saso
Mon Jan 07, 2019 12:17 pm
Forum: Label Printing Integration & Programming
Topic: Python script using database variables.
Replies: 5
Views: 2499

Re: Python script using database variables.

Well, there is another (simpler) way, but it also requires some manual work. You can update the "field alias" value for each field. NiceLabel will use "table_name.field_name" syntax. You can manually replace the period "." with some other character, such as underline "_". Yes, you will have to do th...
by Saso
Fri Jan 04, 2019 11:14 am
Forum: Label Design & Printing
Topic: Rotate a Barcode
Replies: 4
Views: 728

Re: Rotate a Barcode

You need NiceLabel 2017 or NiceLabel 2019 to rotate barcode with 1-degree accuracy.
screenshot.png
screenshot.png (63.94 KiB) Viewed 721 times
by Saso
Fri Jan 04, 2019 8:40 am
Forum: Label Design & Printing
Topic: Rotate a Barcode
Replies: 4
Views: 728

Re: Rotate a Barcode

If you print barcode as graphic, you can use any rotation level. In this case, NiceLabel creates an image of the barcode and sends it to the printer as graphic (bitmap). If you print barcode as printer object, the rotation options are determined by the printer abilities. Usually, 90/180 degrees rota...
by Saso
Mon Dec 17, 2018 10:06 am
Forum: Label Design & Printing
Topic: Rich Text Not Printing
Replies: 3
Views: 1050

Re: Rich Text Not Printing

Hi, I believe the resolution is to tell NiceLabel to merge all graphical objects from the label into one big image. Do the following: Open your label in the NiceLabel Designer . Open Label Properties . Go to Printer tab. Enable the option Combine non-printer elements into one graphic when sent to pr...
by Saso
Fri Dec 14, 2018 10:42 am
Forum: Label Printing Integration & Programming
Topic: Print multi labels onetime using TCP/IP trigger
Replies: 1
Views: 764

Re: Print multi labels onetime using TCP/IP trigger

Hi moewmoew,

Probably, the position of of your Open Label / Print Label actions is wrong.
You should nest these actions inside "For each line" item.

Change your actions from this:
screenshot1.png
screenshot1.png (17.6 KiB) Viewed 762 times
To this:
screenshot2.png
screenshot2.png (20.61 KiB) Viewed 762 times
by Saso
Mon Dec 10, 2018 1:14 pm
Forum: Label Design & Printing
Topic: Initial data remains in Design View
Replies: 1
Views: 621

Re: Initial data remains in Design View

Hi bojanmir, That is by design. Every time you connect to a database source, field values from the first record will be used as "provisional values" in NiceLabel. If you take a look at properties of database fields in NiceLabel, you will see that provisional value field has a value. Provisional valu...
by Saso
Mon Dec 03, 2018 1:31 pm
Forum: Label Printing Integration & Programming
Topic: Programming with Table(rows)
Replies: 1
Views: 2514

Re: Programming with Table(rows)

Hi LaVenezia, You can do this in NiceLabel. I would not connect to the database again from the script. You already have a database connection made in the form, you can re-use it. Use the For every record action to iterate through all/selected records. Underneath it, you can define Execute Script act...
by Saso
Mon Dec 03, 2018 12:03 pm
Forum: Label Design & Printing
Topic: Label text box with multiple columns from the same variable
Replies: 4
Views: 2682

Re: Label text box with multiple columns from the same variable

Hi ozkitpl, NiceLabel 2017 and 2019 do not support the "label" object in the VBScript anymore. The API interface in 2017/2019 is different to that in V6. See the KB article Differences in NiceLabel 2019 compared with NiceLabel 6 . You can still run similar script in PowerForms when you build your cu...