Label Maintenance

From Adjutant Wiki

Revision as of 16:00, 3 April 2024 by Mwillard (talk | contribs)

General Information

Default Menu Location Maintain >> Item Control >> Inventory Labels

URL InventoryLabels_S.htm

Function The Inventory Label Maintenance screen allows users to create custom label templates and print setups. Label Maintenance Print Config.png

Setups Tab

Print Config Tab

Editing a Template

  • O is the Label Origin (0,0) Upper Left Corner as they come out of the printer
  • LS,X,Y = Label Size X and Y are size in Inches
  • RO,X = Rotate R = Rotate so label prints parallel to label roll, N = Normal Label prints across roll
  • BX,X,Y,H,W,L = Box X,Y are start point in Inches, H,W are Height and Width in Inches, L is line size in dots
  • TX,X,Y,F,D,R = Text X,Y are start point in Inches, F is Font size, D is String to Print, R = Reverse Print (Must draw solid box first)
  • DA,X,Y,F,D1,D2,D3,D4,D5 = Text X,Y are start point in Inches, F is Font size, D1-5 is Data or strings, they are combined together

Example:

  • Size
    • LS,4,2
  • Rotate
    • RO,N
  • Draw box
    • BX,.2,.2,3.5,1.10,3
  • Desc line
    • DA,.3,.3,35,"LEFT(ZITEMMASTER.DESCRIP,45)"
    • DA,.3,.6,35,"SUBSTR(ZITEMMASTER.DESCRIP,46,45)"
  • Line under desc
    • BX,.2,.8,3.5,.01,3
  • Line under serial
    • BX,.2,1.3,3.5,.01,3
  • Barcode
    • BC,.1,1.4,128,N,,"alltrim(zitemmaster.item)"

Adding a Logo to a Label

One of the features of the Label Maintenance screen is the ability to add a logo to the label. IMG,X,Y,FILENAME is the template line format. X = x offset in inches, Y = y offset in inches. The filename is a .txt file.

The jpg logo image must be converted into a base64 image. This data can be generated from http://labelary.com/viewer.html. Copy the image data from after the GFA, value to just before the trailing ^FA tag and save into a .txt file.

Once created, the modified .txt file can be uploaded to the web server using the Upload Logo Image file.