Print Data Generation Logic Segmentation for Customization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current print data generation processing in printers is inflexible, requiring modifications to firmware or drivers, which are difficult for users to customize, and using script languages like JavaScript for dynamic modification is insecure and slow.
Innovation Solution
A control method that dynamically modifies print data generation logic using a combination of interpreted and compiled programs, allowing users to customize print data generation on a host device, enabling the use of modifiable logic linked with a printer for generating print data.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If a script language such as JavaScript is used for dynamic modification of print data generation processing, then ease of operation is improved, but processing speed deteriorates and security is compromised
Solution Approach 1:
The system divides print data generation processing into two segments: a modifiable script language portion for customization and a compiled binary portion for high-speed execution. This segmentation allows users to customize the accessible portion while the core processing maintains high performance through compilation.
Solution Approach 2:
The patent introduces an intermediary mechanism that translates user-friendly script language operations into optimized binary code. This intermediary layer enables ease of operation through script-based customization while maintaining processing speed by converting the logic into compiled form for execution.
2Ease of operation
If a script language such as JavaScript is used for dynamic modification of print data generation processing, then ease of operation is improved, but reliability deteriorates due to security concerns
Solution Approach 1:
The system segments the processing architecture into an untrusted script language layer for customization and a trusted compiled binary layer for core operations. This segmentation isolates security risks to the modifiable portion while protecting the critical processing path.
Solution Approach 2:
An intermediary translation and execution mechanism is introduced that validates and controls script language operations before executing them. This intermediary layer enforces security policies while maintaining user-friendly customization capabilities.
3Adaptability or versatility
If print data generation processing is customized for each user, then adaptability is improved, but device complexity increases
Solution Approach 1:
The system implements a universal script language interface that can express various customization needs through a single standardized mechanism. This universal approach allows diverse customization requirements to be handled by the same infrastructure, avoiding the need for separate customization systems for each use case.
Solution Approach 2:
The patent uses copying by translating and compiling script language logic into binary code that can be executed efficiently. This copying mechanism allows the customizable logic to be replicated and executed multiple times without requiring the original script interpretation overhead each time.
Data Source
AI summary
A control method for controlling an information processing apparatus configured to generate print data using a first program that is interpreted and executed when operating in the information processing apparatus and a second program that is compiled in advance and is usable from the first program, includes acquiring a first generation logic for generating print data, the first generation logic being modifiable and linked with a printer configured to execute printing; generating a second generation logic by modifying the first generation logic at least partially; generating print data to be printed by the printer using input image data and the second generation logic; and transmitting, to the printer, the print data generated in the generating the print data. The first generation logic is executed using the second program.


