LUA Scripting API for Label Printer Firmware Customization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing label and tag printers require complex firmware modifications and expensive development tools to customize their functionality, limiting user flexibility and accessibility.

Innovation Solution

Implementing a system that uses an interpreted script language, such as LUA, with a set of printer APIs to interface with the printer firmware, allowing users to customize and extend printer functionality without modifying the firmware source code or using expensive development tools.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If firmware source code modification is used to customize printer functionality, then printer adaptability is improved, but device complexity and manufacturing cost increase

Engineering Contradiction:
Improveprinter functionality customizationVSAvoidfirmware modification complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The printer system is segmented into firmware layer and customization layer. The firmware provides core functionality while a separate scripting layer (LUA) handles customization, allowing users to modify printer behavior without changing firmware source code. This segmentation resolves the contradiction by enabling adaptability through the scripting layer while keeping firmware complexity unchanged.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

An intermediary scripting language (LUA) is introduced between the user and the firmware. Users write customization scripts in LUA that interface with firmware through defined APIs, rather than directly modifying firmware source code. This intermediary enables functionality customization while shielding users from firmware complexity and embedded programming tool requirements.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If firmware modification is performed to add printer functionality, then printer adaptability is improved, but ease of manufacture deteriorates

Engineering Contradiction:
Improveprinter functionality customizationVSAvoidcustomization accessibility
Core Design Contradiction:
Adaptability or versatilityVSEase of manufacture

Solution Approach 1:

Instead of requiring expensive embedded programming development tools and firmware recompilation, the system uses inexpensive LUA scripting files that can be easily created and modified. These scripting files serve as disposable customization configurations that can be changed without affecting the core firmware, making customization accessible to ordinary users without specialized tools or knowledge.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

3Manufacturing precision

If proprietary control language is used in printers, then manufacturing precision is maintained, but ease of operation deteriorates

Engineering Contradiction:
Improveprinting accuracyVSAvoidprogramming skill requirement
Core Design Contradiction:
Manufacturing precisionVSEase of operation

Solution Approach 1:

The system changes the parameter of programming language from proprietary binary control language to human-readable LUA scripting language. This parameter change maintains manufacturing precision because the LUA scripts interface with the same firmware functions, while dramatically improving ease of operation through familiar scripting syntax and human-readable code that ordinary users can understand and modify.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS9870522B2Label printer API using LUA program scripting language
Publication Date: 2018.01.16 SATO HLDG CORP
  • US9870522B2 patent drawing
  • US9870522B2 patent drawing
  • US9870522B2 patent drawing

AI summary

A system and method are defined for modifying functionality of a printer that is provided with firmware for controlling printing operations. First programming code is developed that, when executed on a computer readable medium, interfaces with the printer's firmware and modifies the functionality of the printer. The first programming code is written in a first programming language, such as the LUA programming language, and the firmware is written in a second programming language other than the first programming language. Thereafter, the first programming code is executed on the computer readable, and the functionality of the printer is modified as a function of the executed first programming code interfacing with the firmware. The firmware is not modified by the interfacing.