Label settings ============================
This article describes the settings in the category Labels under the Inventory module in Sapera. The settings control how labels are generated and printed from the stock and product screens, including choice of printer, template format, margins and default barcode type.
The settings are found in Financial under Setup → Settings → Inventory → Labels.
If you cannot see the menu item, you most likely do not have permission for it. Contact support.
Note that the setting names are shown in English in the user interface, exactly as specified below.
Label Printer: Here you specify the printer to be used when printing labels. The printer is normally set up under Settings → Printers on the agent, from which it appears as an option in this field.
The settings in this section — template, margins and paper size — are only active if Use Label Direct Print is turned on. If the setting is turned off, the label is instead generated by the Microsoft Reporting Engine.
Use Label Direct Print: Specifies whether Sapera should use label direct print. When the setting is turned on, the template and layout settings below are used to control the label printing directly.
Template: Here you specify the label template, which determines how the label looks. The template consists of fields in curly braces, which are replaced with the product's data at printing, as well as formatting commands in angle brackets.
Example of default template:
`<font name="Verdana" size=11>` `<b>` `<c>` `Customer Name Ltd.` `<\b>` `<\c>` `<font name="Verdana" size=8>` `{Product.DisplayName}` `<space height=2>` `Price kr: <right>{SalesPrice}<\right>` `<\font>` `{barcode width=40 height=5}` `<font name="Verdana" size=8>` `<c>` `{Product.Identifier}` `<\c>` `<\font>`
The following data fields are supported in the template:
{Product.Identifier}: Item number.
{Product.DisplayName}: The product's display name.
{Product.Location}: The product's first location.
{Product.Locations}: All of the product's locations, comma-separated.
{ListSalesPrice}: Normal sales price without discount.
{SalesPrice}: Sales price with discount.
{DiscountAmount}: Discount amount.
{Variant.Identifier}: The variant's ID.
{Variant.DisplayName}: The variant's display name.
{Variant.Value1}: The variant's first value.
{Variant.Value2}: The variant's second value.
{Variant.Value3}: The variant's third value.
{Instance.Identifier}: The serial number item's ID.
{Instance.DisplayName}: The serial number item's display name.
{Instance.SerialNumber}: Serial number.
{Instance.RegistrationNumber}: Registration number.
{Instance.Value1}: The serial number item's first value.
{Instance.Value2}: The serial number item's second value.
{Instance.Value3}: The serial number item's third value.
{Identifier}: ID that, depending on context, can refer to either product or instance.
{DisplayName}: Display name that, depending on context, can refer to either product or instance.
The following formatting commands are supported:
Bold text: Start with `<b>` and end with `<\b>`.
Centered text: Start with `<c>` and end with `<\c>`.
Right-aligned text: Start with `<right>` and end with `<\right>`.
Font and size: Specified with e.g. `<font name="Verdana" size=10>` and ended with `<\font>`.
Vertical space: `<space height=1>` inserts a vertical space; the number specifies the height.
Barcode: `{barcode width=40 height=5}` inserts the barcode with the specified width and height.
Image: `{image id=1 x=0 y=0 width=20 height=20}` inserts an image with the specified position and size.
Top Margin: Distance between the label's top edge and the content. The default value is 2.
Left Margin: Distance between the label's left edge and the content. The default value is 2.
Right Margin: Distance between the label's right edge and the content. The default value is 2.
Bottom Margin: Distance between the label's bottom edge and the content. The default value is 0.
Paper Size Width (mm.): The width of the paper used in the label printer, specified in millimeters. The default value is 52 mm.
Paper Size Height (mm.): The height of the paper used in the label printer, specified in millimeters. The default value is 30 mm.
Add to label draft - default barcode kind: When products are added to a label draft, Sapera automatically selects a barcode type. Here you specify which type should be used as the default.
Internal Id: Sapera's internal ID is used as the barcode.
EAN: The product's EAN number (GTIN) is used as the barcode. This is the default choice.
Product identifier: The product's item number is used as the barcode.
---
If you have any questions, you are welcome to contact support.
Want to know more?
Read more in these related articles:
Label drafts
Label drafts are a collection of product lines used to prepare and print labels for your products. Learn how to create drafts, add lines, scan barcodes and send to the label printer.
Labels 52x30 mm
Print shelf-edge and product labels in 52x30 mm with item number, text, price and barcode from a label draft.
Creating label drafts & printing
This quick guide walks through how to create a label draft to gather products for printing, as well as how to print the labels via Sapera's print agent.