Label field properties
The Properties window sets everything that belongs to one field in the Label designer: its position and size, the font, the alignment, the borders and the pattern, its data source, and the barcode type and options. The pages of the window change with the field type, and this page explains each one. For the steps see Add a barcode or data field to a label and Design a label.
Opening the window
The window opens on one field from the Label designer: by double-clicking the field, by pressing Enter with one field selected, or at once when you click Insert Field or Insert EAN field on the Fields toolbar. The table designer of the restaurants module opens it the same way: see Tables design.
The window and its buttons
The window title is Properties. It works on a copy of the field, so the field changes in the drawing only with Ok and Apply. The previews inside each page update with every change.
| Button | What it does |
|---|---|
| Ok | Saves all pages into the field and closes the window. |
| Cancel | Closes the window without taking the changes you did not apply. It closes without asking. If you opened it with Insert Field, the program removes the new field from the page. |
| Apply | Saves the pages into the field and redraws the page; the window stays open. Disabled if you opened the window with Insert Field. |
Pages of each field type
The pages appear in this order. Switch pages by clicking their names.
| Field | Pages |
|---|---|
| Text (Insert Text Field) | General, Line, Alignment, Borders, Pattern, Data |
| One-dimensional barcode (Insert Barcode Field and Insert Barcode) | General, Line, Alignment, Barcode, Data |
| Two-dimensional barcode (Insert 2D Barcode Field) | General, Alignment, Barcode 2D, Data |
| Picture (Insert Bitmap) | General, Borders, Picture |
| Symbol (Insert Symbol) | General, Symbols |
| Serial number (Insert Serial Number) | General, Line, Alignment, Borders, Pattern, Serial Number, Data |
| Material, bill or customer field (Insert Field) | General, Line, Alignment, Borders, Pattern, then Barcode or Barcode 2D if you chose one in Print as Barcode, then Data Field |
| Material picture, group picture and customer picture | General, Borders, Picture |
| EAN field (Insert EAN field) | General, Line, Alignment, Borders, Barcode, EAN |
General
The position and size of the field. Values are in tenths of a millimetre, counted from the top left corner of the page.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Left (in Position) | Distance of the field from the left edge of the page. | Yes | A whole number, for example 10. The two arrows next to it change it. |
| Top (in Position) | Distance of the field from the top edge. | Yes | A whole number, for example 15. |
| Width (in Size) | Width of the field. | Yes | A whole number, for example 260. |
| Height (in Size) | Height of the field. | Yes | A whole number, for example 100. |
Line
The title of this page is Line in English and «خط» in Arabic. It sets the font and color of the text.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Font: | The font name. | Yes | A list of the fonts installed on the computer. The starting font of a new field is Traditional Arabic. |
| Font Style: | Regular, italic, bold or bold italic. | Yes | Your choice changes the preview. |
| Size: | The font size in points. | Yes | Starts at 8. |
| Color | The text color. | No | Click the button to choose a color. |
| Strikethrough (in Effects) | Draws a line through the text. | No | |
| Underline (in Effects) | Draws a line under the text. | No | |
| Script: | The character set. | No | The list shows the sets the chosen font supports, and it refreshes when you change the font. |
| Preview | A sample of the text with the current settings. | No | Display only. |
Alignment
How the text sits inside the field, and its direction.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Horizontal: (in Text Alignment:) | Horizontal position of the text in the field. | Yes | Left, Center or Right. A new field starts at Right. |
| Vertical: | Vertical position of the text. | Yes | Top, Center or Bottom. Starts at Top. |
| Wrap Text (in Text Control) | Lets the text spread over several lines inside the field. | No | On in a new field. |
| Clip Text | Cuts what goes beyond the field. | No | On in a new field. If you turn it off, the whole text prints even if it goes beyond the field. |
| Orientation (in Righ-to-Left) | The reading direction of the text. | Yes | Left to Right or Righ-to-Left. A new field starts at Righ-to-Left. |
| Orientation (the angle, in the Orientation group) | The text angle. | No | Drag the dial pointer, type a number in the box or use the two arrows: from -90 to 90. Fields print in only three directions: horizontal when the angle is between -44 and 45, upward when it is above 45, and downward when it is -45 or below. |
| Preview | A preview of the text direction. | No | Display only. |
Borders
The four borders of the field: top, bottom, right and left. They share one line with one width, style and color.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Presets: | Two quick buttons: None clears the four borders and Outline turns them all on. | No | |
| Border: | The four side buttons around the preview. | No | Each click turns the side on or off. |
| Style: (in Line) | The line style: solid, dotted and others. | No | Choose from the drawn list. |
| View (in Line) | The line width. | No | From 0 to 9. The value 0 draws no line. |
| Color | The border color. | No | Click the button to choose a color. |
| Text | A preview of the borders. | No | Display only. |
New fields draw no border. The four sides may appear selected for a new field when you open the page, but their width is 0, so nothing is drawn until you type a larger width.
Pattern
The fill of the field background. A new text field has no fill.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Front Color: | The color of the pattern lines. | No | Click the button to choose a color. |
| Back Color: | The background color. | No | Click the button to choose a color. |
| Pattern: | The fill style. | No | Choose from the drawn list. |
| Preview | A preview of the fill. | No | Display only. |
Picture
For the Insert Bitmap field: a picture from a file.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| The File | The path of the picture file. | No | Type the path, or click the browse button next to it to open a file window titled "Select Picture File". It accepts picture files and EMF and WMF drawings. If the field stays empty, no picture is drawn. |
| Normal Size (in Draw Picture) | Draws the picture at its original size. | Yes | The starting choice of a new picture field. |
| Box Size | Stretches the picture to fill the field. | Yes | |
| Lock Aspect Ratio | Keeps the width to height ratio of the picture. | Yes | |
| Preview | A preview of the picture. | No | Display only. |
Material picture, group picture and customer picture
The page title is Picture. It has the three options in Draw Picture and the preview, without the file field: the program takes the picture when printing from the material card, the group or the customer. The starting choice is Box Size.
Symbols
For the Insert Symbol field: a drawing from the symbol library.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Groups | The symbol group. | Yes | A list of the groups in the symbol libraries. |
| Symbols | The symbols of the chosen group. | Yes | Click a symbol to choose it. |
| Preview: | A preview of the chosen symbol. | No | Display only. |
Barcode
The one-dimensional barcode type and options. This page, titled Barcode, appears in barcode fields and the EAN field, and in a data field for which you chose a normal barcode.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Barcode Type | The encoding type. | Yes | The list comes from the barcode component of the program and includes types such as EAN, UPC, Code 39, Code 128, ITF, Codabar, Code 93 and MSI. The accepted data length depends on the type. |
| Width/Tightness Ratio (in General Options) | The ratio of the bar width to the spaces. | Yes | From 20 to 30 percent. |
| Bar Width | The width of the smallest bar. | Yes | From 10 to 300 ml. |
| Bar Reduction | The percentage by which the bar width is reduced. | Yes | From 0 to 50 percent. |
| Show Text (in Extra Options) | Prints the barcode text under the bars. | No | |
| Character Spacing | The spacing between the characters of the text. | No | From 0 to 100 percent. |
| Margin Indicators | Draws the margin marks. | No | |
| Auto Check Digit | The program adds the last check character to the data. | No | |
| Print Alternative Barcode | Prints the barcode of the bill item instead of the material barcode. | No | Shown in fields that are not an EAN field. It affects Insert Barcode only: if you print the labels from a bill and the chosen print unit is the bill unit, the program prints the barcode recorded on the bill item. |
| Preview Barcode | Sample data drawn in the preview. | No | Starts at 123456. It is not saved with the field. |
| Preview | A preview of the barcode. | No | Display only. |
A red line under the preview shows when the preview data is wrong: "Barcode length error, Valid barcode length : …,Verification Code: …" (with "None" after "Verification Code" if the type has no check character), or "No code or check digit", or "Error No" followed by a colon and a number.
Barcode 2D
The two-dimensional barcode type and options. The page title is Barcode 2D.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Barcode Type | The encoding type. | Yes | The list comes from the barcode component and includes types such as PDF417, Aztec, Data Matrix, MaxiCode and MicroPDF417. |
| Reverse Video (in Extra Options) | Reverses the two colors of the barcode. | No | |
| A value and a style (in Format) | The shape of the symbol: the small box holds the value and the list beside it the style. | Yes | The style is Aspect Ratio, Columns Count or Rows Count, and the value is a number that matches it. |
| Start Mode (in Options) | The start mode of the encoding. | Yes | The list changes when Barcode Type changes. |
| Security Level | The error correction level. | Yes | The list is "Level 0" and on; its length depends on the type and the start mode. |
| Bar Width | The width of a bar. | Yes | A number in ml. |
| Bar Height | The height of a bar. | Yes | A number in ml. |
| Bar Reduction | The percentage by which the bar width is reduced. | Yes | A number in percent. |
| Preview | A preview of the barcode. | No | Display only. |
Data
For text, barcode and serial number fields: where the text comes from.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Text | The printed text is what you type in the box. | Yes | A multi-line box. In a serial number field the starting text is #. |
| Text File | The printed text is read from a file. | Yes | Type the path or click the browse button next to it (*.txt files or all files). The program reads the file as Unicode and joins its lines with no separator. If the file does not exist, the program prints the path itself as text. |
The text box is disabled with Text File, and the file path and the browse button are disabled with Text. In the Insert Barcode field the program replaces the text with the material barcode when printing, so what you type here shows only in the design.
Serial Number
For the Insert Serial Number field. The program replaces each run of the # character in the field text (the Data page) with a number, padded with zeros on the left to the number of characters: ### prints 001.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Start No | The number of the first label printed. | Yes | A whole number from 0. Starts at 1. The numbers rise by one for each label printed after it in the same run. |
| Increment by | The amount by which the numbers rise. | Yes | A whole number from 0. Starts at 1. The program saves it with the field, but printing always raises the numbers by one. |
Data Field
For material, bill and customer fields. It sets where the field reads its data from when printing. When there is no material (or bill) in the print run, the field prints nothing. The page title is Data Field.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Data Source: | Where the data comes from. | Yes | Material Field, Bill Field or Customer Field. Changing it changes the Field Name list. |
| Field Name | The printed item. | Yes | The lists below. |
| Name and Latin Name | The language of the segment name. | Yes | Shown with a segment field or the combination. Starts at Name if the program interface reads right to left, otherwise at Latin Name. |
| Print as Barcode | How the item prints. | Yes | Without Barcode, Normal Barcode or Barcode 2D. Your choice adds or removes the matching barcode page of the window. |
| Unit | The unit the field is read from. | Yes | Default Unit, First Unit, Second Unit or Third Unit. Shown with the material fields from Dimension to Consumer in the list. |
| Dimension | The dimension printed. | Yes | Length, Height, Width or Volume. Shown with the material field Dimension. |
| Weight Type | The weight printed. | Yes | Gross Weight, Net Weight or Drained Weight. Shown with the material field Weight. |
| Currency (in Special format:) | The currency the price is converted to. | Yes | The group is shown with the price fields: Wholesale, Semi wholesale, Retail, Export, Distributor and Consumer. |
| Parity | The exchange rate of the currency. | Yes | A positive number; the program replaces a saved non-positive value with 1. The program divides the price by it. If the currency is the currency of the material itself, the program uses its parity on the bill date. |
| Show currency code | Prints the currency code after the price. | No | |
| Price includes tax | Adds the tax of the material to the printed price. | No | |
| Customize decimal places count | Turns on the setting of the decimal digits. | No | Shown with the material fields that hold numbers: unit conversion factors, Dimension, Weight, Qty, the prices and the tax fields, and the numeric bill fields. |
| Decimal Places | The number of decimal digits in the printed number. | No | Does not accept a negative number. Disabled until you turn on the previous option. It applies to material fields; for bill and customer fields the program saves the value but the printed numbers do not change. |
Field Name list for a material field
Number (the material card number), Material Name, Material Code, Latin name, Code-Name, Code-Latin Name, Size, Location, Manufacturer, Specifications, Source, Group Name, Group Code, Model, Type, Provenance, Color, Conversion Factor of Default Unit, Conversion Factor of Unit 2, Conversion Factor of Unit 3, Dimension Unit, Weight Unit, Dimension, Weight, Unit, Qty, Barcode, Wholesale, Semi wholesale, Retail, Export, Distributor, Consumer, VAT as Rate, VAT as Value, VAT for whole price, VAT for half price, VAT for distributor price, VAT for export price, VAT for retail price, VAT for consumer price, VAT for average price, VAT for max price, VAT for Last price.
If your licence includes the material dimensions (segments) feature and at least one segment is defined, the program adds Combination at the end of the list, then the name and the code of each segment. The name appears as "segment name [Segment]" and the code as "Code segment name [Segment]".
Field Name list for a bill field
Invoice No, Customer Name, Customer Account, Customer Account Code, Materials Account, Materials Account Code, Cost center, Total Warehouse, Currency, Parity, Date, Bill Note, Payment Type, Quantity, Gifts, Unit, Unit Price, Total Value, Sub Warehouse, Item Discount, Item Note, Total, Items Discount, Discounts total, Additions total, Total, Serial Number, Sub Cost Center, VAT as Rate, VAT as Value, Production Date, Expiry Date, Category, Length, Width, Height, Area, Size, Distributor, Salesman, Latin Name, Prefix, Suffix, Country, Region, City, Street, Post Box, ZIP Code, Mobile, Pager, Details, Nationality, Phone1, Phone2, Fax, Telex, Notes, Email, Website, Cnt.
Field Name list for a customer field
Number, Customer Name, Customer Account, Customer Account Code, Details, Nationality, Phone1, Phone2, Fax, Telex, Notes, Latin Name, Email, Website, Prefix, Suffix, Region, City, Street, Post Box, ZIP Code, Mobile, Pager, Country, Field 1, Field 2, Field 3, Field 4, Certificate, Work, Nature of Work, Gender, Hobbies, Sale Price, Discount %, Barcode.
Customer fields are filled from the customer you choose in the Label Printing window.
EAN
For the Insert EAN field: a barcode that combines several items, each one preceded by an EAN identifier between parentheses. The page title is EAN.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Available Fields | The ready-made fields. | No | Number, Material Name, Material Code, Latin name, Production Date, Expiry Date, Length, Width, Height, Area, Size, Last Purchase, Serial Number. |
| Selected Fields | What will print, in order. | No | What you add prints in the order of the list. |
| Insert Field | A material or bill field that you add with an identifier you choose. | No | A list of material fields, then bill fields. |
| As Field | The EAN identifier the previous field prints with. | No | Code, Material EAN Code, Batch Number, Production date, Maturity Date, Packing Date, Minimum Expiry Date, Maximum Expiry Date, Serial Number, Qty, Length, Width, Height, Area, Volume, Weight. |
| Button | What it does |
|---|---|
| > (upper) | Adds the field chosen in Available Fields to Selected Fields. |
| < | Removes the field chosen in Selected Fields. |
| > (beside Insert Field) | Adds the field chosen in Insert Field with its identifier from As Field. |
The identifiers the program prints for the ready-made fields: Number, Material Name, Material Code and Latin name (0), Production Date (11), Expiry Date (17), Serial Number (21), Length (311), Width (312), Height (313), Area (314), Size (316) and Last Purchase (90). For fields added with As Field: Code (0), Material EAN Code (1), Batch Number (10), Production date (11), Maturity Date (12), Packing Date (13), Minimum Expiry Date (15), Maximum Expiry Date (17), Serial Number (21), Qty (30), Weight (310), Length (311), Width (312), Height (313), Area (314) and Volume (316). If you choose the first type in the list on the Barcode page (EAN), the program prints the values of fields added with As Field without identifiers. Dates are written as 31-12-2026.
Messages
| Message | When it appears | What to do |
|---|---|---|
| Value must be positive | You typed a negative number in Decimal Places. | The program sets the value to 0. Type a positive number. |
| Please select the two fields | You clicked > beside Insert Field without choosing the field or the identifier in As Field. | Choose both. |
| The two fields are from different type | The data type of the field (text, date or number) does not match the type of the identifier. | Choose an identifier of the same type. |
| Field already added | The field or identifier is already in Selected Fields. | Do not repeat it. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.