Heterogeneous instruction dynamic adaptation remote label printing method and system, terminal and medium
The server-side device-driven abstraction layer (DAL) dynamically adapts to the instruction sets of different models of printers to realize remote label printing, solving the problems of inconvenient and inefficient remote printing in the existing technology, and improving printing efficiency and convenience.
Patent Information
- Application Number
- CN202510284527.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-11
- Publication Date
- 2025-06-27
AI Technical Summary
The existing label printing method requires users to operate in the physical location of the printer, and remote printing is not possible, resulting in inconvenient operation and inefficient efficiency, especially in logistics, warehousing and other scenarios.
The target printer driver dynamically read and load it through the server-side device driver abstraction layer (DAL), query its supported instruction set, and parse the print request through the adapter mode to generate label data adapted to the target printer's special instructions, realizing remote label printing.
The user does not need to perceive printer differences, which is easy to operate, improves printing efficiency, and is suitable for various scenarios such as logistics, warehousing, and retail.
Smart Images

Figure CN120215853A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of remote printing, and particularly to a method, system, terminal and medium for dynamically adapting heterogeneous instructions for remote label printing. Background Art
[0002] Existing label printing methods usually require users to operate at the physical location of the printer, and remote printing cannot be achieved, resulting in inconvenient operation and low efficiency. Especially in scenarios such as logistics and warehousing, labels usually need to be printed frequently, and traditional methods are difficult to meet the requirements. Therefore, staff usually use a network connection method for remote printing.
[0003] However, when there are multiple printers in the scenario, the brands and models of multiple printers may be different, resulting in inconvenient operation and low printing efficiency when staff select different printers or perform remote printing on multiple printers simultaneously, because corresponding printer instructions need to be sent for each printer model.
[0004] In view of this, it is necessary to provide a method, system, terminal and medium for dynamically adapting heterogeneous instructions for remote label printing to overcome the above defects. Summary of the Invention
[0005] The purpose of the present invention is to provide a method, system, terminal and medium for dynamically adapting heterogeneous instructions for remote label printing, aiming to solve the problem of inconvenient operation caused by the need to send corresponding printer instructions during remote printing, and improve the printing efficiency.
[0006] To achieve the above purpose, the first aspect of the present invention provides a method for dynamically adapting heterogeneous instructions for remote label printing, including:
[0007] Step S10: The server side receives a printing request remotely sent by a user through a terminal device, and the printing request includes label content, printing parameters, a label template and a target printer;
[0008] Step S20: Dynamically read and load the target printer driver through the built-in device driver abstraction layer, and query the registry of the target printer to obtain the instruction set it supports;
[0009] Step S30: Invoke the adapter mode of the device driver abstraction layer to parse the printing request, and generate label data adapted to the dedicated instructions of the target printer according to the label content;
[0010] Step S40: Send the label data and the printing parameters to the target printer, so that the target printer prints according to the printing parameters to complete the output of the label.
[0011] In a preferred embodiment, the step S10 includes:
[0012] Step S11: The terminal device encapsulates the data of the print request into the JSON format. The encapsulation package includes the label template ID, label content, unique identifier of the target printer, and user identity token.
[0013] Step S12: The terminal device encrypts the encapsulation package and remotely sends it to the server side through 4G / 5G / Wi-Fi communication. If a weak signal is detected, the data sharding compression technology is enabled for transmission to reduce the transmission failure rate.
[0014] In a preferred embodiment, it further includes the steps:
[0015] Analyze multiple printers and distribution strategies in the print request sent by the terminal device; the distribution strategy is sequential printing or parallel printing.
[0016] Detect the current queue length and processing speed of each printer, and dynamically adjust the distribution strategy.
[0017] Generate an independent instruction stream for each printer through the device driver abstraction layer, and call the corresponding driver library according to the model of each printer.
[0018] Automatically scale graphic elements according to the different resolutions of each printer to ensure the clarity of label content.
[0019] In a preferred embodiment, it further includes the steps:
[0020] Establish a long connection through WebSocket to receive the status of each printer in real time; among them, the printer status includes the printing progress percentage and abnormal events.
[0021] If a certain printer fails, automatically migrate its task to the standby device in the same group and update the task log.
[0022] After all print tasks are completed, summarize the print results, generate a statistical report, and feedback it to the user's terminal device.
[0023] In a preferred embodiment, it further includes the steps:
[0024] Receive the full-link information recorded in the print service log sent by the target printer. The full-link information includes user operations, instruction conversion process, and printer response status to support multi-dimensional retrieval by time, task ID, and device ID.
[0025] In a preferred embodiment, it further includes the steps:
[0026] The server-side detects the network status in real time. If the network is interrupted during the process of sending data to the target printer, the breakpoint position is recorded, and only the lost part of the data is retransmitted after the network is restored.
[0027] In a preferred embodiment, after the step S400, the following steps are further included:
[0028] Detect whether the target printer is online. If the target printer is detected to be offline, the current printing task is temporarily stored in the message queue and resent after the target printer goes online.
[0029] The second aspect of the present invention provides a heterogeneous instruction dynamic adaptation remote label printing system, including:
[0030] A terminal device, which is used to interact with the user and generate a printing request. The printing request includes a preset label template selected by the user, input label content, a selected target printer, and printing parameters;
[0031] A server-side, which is used to receive the printing request remotely sent by the terminal device, dynamically read and load the target printer driver through the built-in device driver abstraction layer, query the registry of the target printer to obtain the instruction set it supports; call the adapter mode of the device driver abstraction layer to parse the printing request, generate label data adapted to the target printer's dedicated instructions according to the label content; send the label data and the printing parameters to the target printer, so that the target printer performs printing according to the printing parameters and completes the output of the label;
[0032] A target printer, which is used to receive the label data and the printing parameters sent by the server-side and complete label printing.
[0033] The third aspect of the present invention provides a terminal. The terminal includes a memory, a processor, and a computer program stored in the memory. When the computer program is executed by the processor, each step of the heterogeneous instruction dynamic adaptation remote label printing method as described in any one of the above embodiments is implemented.
[0034] The fourth aspect of the present invention provides a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, each step of the heterogeneous instruction dynamic adaptation remote label printing method as described in any one of the above embodiments is implemented.
[0035] The heterogeneous instruction dynamic adaptation remote label printing method, system, terminal and medium provided by the present invention parse the user's printing request through the device driver abstraction layer (DAL) built into the server side, realizing the dynamic conversion of instruction sets of different models of printers; by reading and adapting the pre-installed printer driver, extracting a unified middle layer adaptation interface at the upper layer, when printing, there is no need to distinguish the instructions used by the printer, and the user layer only needs to call a unified printing interface without sending corresponding printer instructions to achieve printing, so that the user does not need to perceive the printer differences, the operation is simple, and the printing efficiency is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present invention, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, without creative efforts, other related drawings can also be obtained based on these drawings.
[0037] Figure 1 It is a flowchart of the heterogeneous instruction dynamic adaptation remote label printing method provided by the present invention;
[0038] Figure 2 It is a framework diagram of the heterogeneous instruction dynamic adaptation remote label printing system provided by the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0039] In order to make the purpose, technical solutions and beneficial technical effects of the present invention clearer and more understandable, the present invention will be further described in detail below with reference to the drawings and specific embodiments. It should be understood that the specific embodiments described in this specification are only for explaining the present invention and not for limiting the present invention.
[0040] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in this specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include the plural forms.
[0041] It should also be further understood that the term " / and / " as used in this specification of the present invention and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0042] Embodiment 1
[0043] In an embodiment of the present invention, a heterogeneous instruction dynamic adaptation remote label printing method is provided, which enables users to select one or more printers for remote printing through a mobile application (such as a mobile phone APP) or a web interface on a computer, and realizes remote transmission and printing of label data through the network. It is applicable to various scenarios such as logistics, warehousing, and retail, improving the efficiency and convenience of label printing, supporting remote operation, and eliminating the need for users to perceive printer differences.
[0044] As Figure 1 shown, the heterogeneous instruction dynamic adaptation remote label printing method includes steps S10 - S40.
[0045] Step S10: The server - side receives a printing request remotely sent by the user through a terminal device. The printing request includes label content, printing parameters, a label template, and a target printer.
[0046] For example, the user can input label content (such as product name, barcode, QR - code content, etc.) through a mobile phone APP and set printing parameters of the template (such as paper size, color, etc.); or input label content through a web interface on a computer and select a target printer (such as multiple printers distributed in different warehouses).
[0047] Among them, the user can select a preset label template (such as a logistics waybill, a product label, etc.), or custom - create a new template, and then input dynamic data (such as product name, barcode, QR - code content) in the editing interface of the label template, and support uploading picture data through a barcode scanner or an album. The printing parameters that the user can set include but are not limited to: paper type (thermal paper, coated paper, etc.); printing resolution (203dpi, 300dpi, etc.); label size (length × width, supporting automatic adaptation to the printer paper bin specification); number of copies and priority (urgent / ordinary task).
[0048] Further, after the input is completed, the data integrity (such as barcode format, required fields) is checked through an input verification module. If the verification fails, the user is prompted to correct it.
[0049] When the user needs to print on multiple printers, they can log in to the system through a computer - side web page, view the online printer list (sorted by geographical location, load status) in the "printer management" interface, check multiple target printers, and set a distribution strategy: sequential printing (executed in turn according to the warehouse priority); parallel printing (sending instructions to multiple devices simultaneously), and then upload batch label data (supporting CSV file import). The system automatically splits the tasks and binds them to the printers.
[0050] It should be noted that the server - side can be a cloud server or a terminal device with a printing service program deployed in the internal network, such as a PC computer, etc.
[0051] Further, in one embodiment, step S10 includes steps S11 - S12.
[0052] Step S11: The terminal device encapsulates the data of the print request into JSON format. The encapsulation packet contains the label template ID, label content, the unique identifier of the target printer (such as IP / MAC address), and the user identity token.
[0053] Step S12: The terminal device encrypts the encapsulation packet (for example, using the TLS1.3 protocol) and remotely sends it to the server - side through 4G / 5G / Wi - Fi (automatic switching between 4G / 5G / Wi - Fi). If a weak signal is detected, the data fragmentation and compression technology is enabled for transmission to reduce the transmission failure rate.
[0054] Step S20: Dynamically reads and loads the target printer driver through the built - in device driver abstraction layer, and queries the registry of the target printer to obtain the instruction set it supports.
[0055] Step S30: Invokes the adapter pattern of the device driver abstraction layer to parse the print request, and generates label data adapted to the dedicated instructions of the target printer according to the label content.
[0056] The Device Abstraction Layer (DAL) constructs the printer instruction middleware using the adapter pattern, and uniformly parses heterogeneous print instruction sets such as PCL (Printer Command Language), ZPL (Zebra Programming Language), and EPL (Epson Programming Language) through the Virtual Device Driver Interface (VDI). That is, the server - side reads and adapts the printer drivers installed in the system, and extracts a unified intermediate - layer adaptation interface at the upper layer. That is, through the adapter pattern, the driver interfaces of various different hardware devices can be unified into a common interface. In this way, the upper - layer application can operate various hardware devices through this unified interface without caring about the implementation details of the underlying hardware devices. Therefore, when printing, there is no need to distinguish the instructions used by the printer, and the user layer only needs to call the unified print interface without sending the corresponding printer instructions to achieve printing.
[0057] Specifically, step S30 includes: The server side (such as a cloud server) receives a print request through a RESTful API gateway, and verifies user permissions and data legality (such as token validity, printer ownership); The device driver abstraction layer (DAL) dynamically loads the target printer driver: queries the printer registry to obtain the instruction sets it supports (such as PCL, ZPL, EPL); Invokes the adapter pattern to convert general print instructions (such as text, graphic positions) into target printer-specific instructions; Automatically adjusts the label layout according to printer parameters (such as paper size, print head accuracy); Generates the final print data stream (such as a binary ZPL instruction file corresponding to the label data, that is, a print instruction containing label data), and marks the task priority and timeout time.
[0058] Step S40: Send the label data and print parameters to the target printer, so that the target printer prints according to the print parameters to complete the output of the label.
[0059] The remote server side parses the received print request, dynamically obtains printer parameters and configurations to adapt to the papers and precisions printed by different printers to generate and draw label data (text, QR codes, barcodes, etc.), and transmits the data to the target printer. After receiving the label data, the printer firmware parses the print instruction, performs pre-print calibration (such as paper positioning, ribbon detection, etc.), and then prints according to the preset print parameters to complete the output of the label.
[0060] In some embodiments, when the user needs to print the label content on multiple printers, the method further includes steps S51 - S54.
[0061] Step S51: Parse the multiple printers and distribution strategies in the print request sent by the terminal device; The distribution strategy is sequential printing (executed in turn according to the warehouse priority) or parallel printing (send instructions to multiple printer devices simultaneously).
[0062] Step S52: Detect the current queue lengths and processing speeds of each printer, and dynamically adjust the distribution strategy (such as assigning high-priority tasks to idle devices)
[0063] Step S53: Generate independent instruction streams for each printer through the device driver abstraction layer, and call the corresponding driver libraries according to the models of each printer (such as Zebra SDK, Honeywell API);
[0064] Step S54: Automatically scale graphic elements according to the different resolutions of each printer to ensure the clarity of the label content.
[0065] Further, in this embodiment, the method further includes steps S55 - S57.
[0066] Step S55: Establish a long connection via WebSocket to receive the status of each printer in real time; wherein, the printer status includes the printing progress percentage and abnormal events.
[0067] Step S56: If a certain printer fails, automatically migrate its task to the standby device in the same group and update the task log.
[0068] Step S57: After all printing tasks are completed, summarize the printing results (number of successes / failures), generate a statistical report (in PDF / Excel format), and feedback it to the user's terminal device (such as a mobile APP or the user's computer).
[0069] In some embodiments, the method further includes the step of receiving the full-link information recorded in the printing service log sent by the target printer, where the full-link information includes user operations, instruction conversion processes, and printer response statuses to support multi-dimensional retrieval by time, task ID, and device ID.
[0070] Specifically, the printer records printing information such as the printing status (such as success, failure, etc.) in the log of the printing service for the user to analyze the cause of failure and trace the printing record, and feedbacks it to the user terminal device through the network. The user can view the printing results in real time. The printing service monitors the printer status (including success and failure) in real time. If successful, it records the log (time, task ID, user ID) and pushes a "print successful" notification to the APP; if failed, it triggers an alarm according to the error code (such as paper shortage, ribbon exhaustion).
[0071] In some embodiments, the method further includes the step of the server-side detecting the network status in real time. If the network is interrupted during the process of sending data to the target printer, record the breakpoint position (such as the sequence number of the transmitted data packet), and only retransmit the lost part of the data after the network is restored. That is, when the server-side transmits a data stream containing label data to the target printer, it implements a resume transmission mechanism (for example, automatically retry 3 times, with a 10-second interval between two retries), so as to support request retransmission in case of network errors, without the need to input data on the interface again, ensure the integrity of the job during network anomalies, and reduce bandwidth consumption.
[0072] In some embodiments, the method further includes the step of detecting whether the target printer is online. If the target printer is detected to be offline, temporarily store the current printing task in the message queue and resend it after the target printer goes online.
[0073] In summary, the beneficial effects of the present invention at least include: improving the efficiency and convenience of label printing, supporting remote operation; being applicable to various scenarios such as logistics, warehousing, and retail; reducing labor costs and improving management efficiency through networked management.
[0074] Embodiment 2
[0075] The present invention provides a heterogeneous instruction dynamic adaptation remote label printing system, which realizes remote transmission and printing of label data through a network, is applicable to various scenarios such as logistics, warehousing, and retail, improves the efficiency and convenience of label printing, supports remote operation, and eliminates the need for users to perceive printer differences. It should be noted that the implementation principle and specific implementation method of the heterogeneous instruction dynamic adaptation remote label printing system can refer to the above-mentioned heterogeneous instruction dynamic adaptation remote label printing method, so it will not be elaborated below.
[0076] As Figure 2 shown, the heterogeneous instruction dynamic adaptation remote label printing system includes:
[0077] A terminal device 10, which is used to interact with the user and generate a printing request. The printing request includes a preset label template selected by the user, input label content, a selected target printer, and printing parameters;
[0078] A server side 20, which includes a printing request receiving module, an instruction set obtaining module, an adapter parsing module, and a printing instruction sending module;
[0079] A request receiving module 21, which is used to receive the printing request remotely sent by the terminal device,
[0080] An instruction set obtaining module 22, which is used to dynamically read and load the target printer driver through the built-in device driver abstraction layer, and query the registry of the target printer to obtain the instruction set it supports;
[0081] An adapter parsing module 23, which is used to call the adapter mode of the device driver abstraction layer to parse the printing request, and generate label data adapted to the dedicated instructions of the target printer according to the label content;
[0082] An instruction sending module 24, which is used to send the label data and printing parameters to the target printer, so that the target printer prints according to the printing parameters and completes the output of the label;
[0083] A target printer 30, which is used to receive the label data and the printing parameters sent by the server side and complete label printing.
[0084] Embodiment III
[0085] The present invention provides a terminal, which includes a memory, a processor, and a computer program stored in the memory. When the computer program is executed by the processor, it realizes each step of the heterogeneous instruction dynamic adaptation remote label printing method described in any one of the above embodiments.
[0086] Embodiment IV
[0087] The present invention provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, each step of the heterogeneous instruction dynamic adaptation remote label printing method as described in any one of the above embodiments is implemented.
[0088] In summary, for the heterogeneous instruction dynamic adaptation remote label printing method, system, terminal and medium provided by the present invention, the print request of the user is parsed through the device driver abstraction layer (DAL) built in the server side, realizing the dynamic conversion of the instruction sets of different models of printers; by reading and adapting the pre-installed printer driver, extracting a unified intermediate layer adaptation interface at the upper layer, when printing, there is no need to distinguish the instructions used by the printer, and the user layer only needs to call a unified print interface without sending corresponding printer instructions to implement printing, so that the user does not need to perceive the printer difference, the operation is simple, and the printing efficiency is improved.
[0089] Those skilled in the art can clearly understand that, for the convenience and conciseness of description, only the above division of each functional unit and module is used as an example. In actual applications, the above functions can be allocated to different functional units and modules according to needs, that is, the internal structure of the system is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated into a processing unit, or each unit exists physically alone, or two or more units are integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. In addition, the specific names of each functional unit and module are only for the convenience of mutual distinction and do not limit the protection scope of the present application. The specific working process of the units and modules in the above system can refer to the corresponding process in the foregoing method embodiments and will not be described herein again.
[0090] In the above embodiments, the descriptions of the respective embodiments have their own emphases. For the parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0091] Those of ordinary skill in the art can realize that the units and method steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or by a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the present invention.
[0092] In the embodiments provided by the present invention, it should be understood that the disclosed system or device / terminal device and method can be implemented in other ways. For example, the system or device / terminal device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections between each other can be through some interfaces. The indirect couplings or communication connections of the systems or units can be in electrical, mechanical or other forms.
[0093] The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0094] In addition, the functional units in various embodiments of the present invention can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
[0095] The present invention is not limited only to what is described in the specification and embodiments. Therefore, for those skilled in the art, additional advantages and modifications can be easily achieved. Therefore, without departing from the spirit and scope of the general concept defined by the claims and their equivalents, the present invention is not limited to the specific details, representative devices, and the illustrated examples shown and described here.
Claims
1. A method for dynamically adapting heterogeneous instructions to remote label printing, characterized in that: include: Step S10: The server receives a print request sent remotely by a user through a terminal device, the print request including label content, printing parameters, label template and target printer; Step S20: dynamically read and load the target printer driver through the built-in device driver abstraction layer, query the registry of the target printer to obtain the instruction set it supports; Step S30: calling the adapter mode of the device driver abstraction layer to parse the print request, and generating label data adapted to the target printer's dedicated instructions according to the label content; Step S40: sending the label data and the printing parameters to a target printer, so that the target printer prints according to the printing parameters to complete the output of the label.
2. The heterogeneous instruction dynamic adaptation remote label printing method according to claim 1, characterized in that: The step S10 includes: Step S11: The terminal device encapsulates the data of the print request into a JSON format, and the encapsulation package includes a label template ID, label content, a unique identifier of a target printer, and a user identity token; Step S12: The terminal device encrypts the encapsulated package and sends it remotely to the server via 4G / 5G / Wi-Fi communication; if a weak signal is detected, data fragmentation compression technology is enabled for transmission to reduce the transmission failure rate.
3. The heterogeneous instruction dynamic adaptation remote label printing method according to claim 1, characterized in that: Also includes the steps: Parsing multiple printers and distribution strategies in a print request sent by a terminal device; the distribution strategy is sequential printing or parallel printing; Detect the current queue length and processing speed of each printer and dynamically adjust the distribution strategy; Generate an independent instruction stream for each printer through the device driver abstraction layer, and call the corresponding driver library according to each printer model; Automatically scale graphic elements for different printer resolutions to ensure clear label content.
4. The heterogeneous instruction dynamic adaptation remote label printing method according to claim 3, characterized in that: Also includes the steps: Establish a persistent connection through WebSocket to receive the status of each printer in real time; the printer status includes the percentage of printing progress and abnormal events; If a printer fails, its tasks will be automatically migrated to the backup device in the same group and the task log will be updated; After all printing tasks are completed, the printing results are summarized, statistical reports are generated, and feedback is sent to the user's terminal device.
5. The heterogeneous instruction dynamic adaptation remote label printing method according to claim 1, characterized in that: Also includes the steps: Receive the full-link information recorded in the print service log sent by the target printer, which includes user operations, instruction conversion process, and printer response status to support multi-dimensional retrieval by time, task ID, and device ID.
6. The heterogeneous instruction dynamic adaptation remote label printing method according to claim 1, characterized in that: Also includes the steps: The server detects the network status in real time. If the network is interrupted during the process of sending data to the target printer, the breakpoint position is recorded and only the lost part of the data is retransmitted after the network is restored.
7. The heterogeneous instruction dynamic adaptation remote label printing method according to claim 1, characterized in that: Also includes the steps: Check whether the target printer is online. If it is detected that the target printer is offline, the print task will be temporarily stored in the message queue and resent after the target printer is online.
8. A heterogeneous instruction dynamic adaptation remote label printing system, characterized in that: include: A terminal device, for interacting with a user and generating a print request, the print request including a preset label template selected by the user, input label content, a selected target printer, and print parameters; The server side is used to receive the print request sent remotely by the terminal device, dynamically read and load the target printer driver through the built-in device driver abstraction layer, and query the registry of the target printer to obtain the instruction set it supports; Calling the adapter mode of the device driver abstraction layer to parse the print request, and generating label data adapted to the target printer-specific instructions according to the label content; Sending the label data and the printing parameters to a target printer so that the target printer prints according to the printing parameters to complete the output of the label; The target printer is used to receive the label data and the printing parameters sent by the server and complete label printing.
9. A terminal, characterized in that: The terminal includes a memory, a processor, and a computer program stored in the memory. When the computer program is executed by the processor, each step of the method for dynamically adapting remote label printing to heterogeneous instructions as described in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements the various steps of the heterogeneous instruction dynamic adaptation remote label printing method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Miniprinter driving method, device and equipment and storage medium
CN111352596A
Printing method and device, electronic equipment and computer readable storage medium
CN113190187A
Dynamic printing method and device, printing equipment and storage medium
CN115756349A
Task data segmentation transmission method and system and storage medium
CN118012361A
Printing method and device, equipment and storage medium
CN118151869A
Cited By
Printing control method and device and electronic equipment
CN121541840A
Method for converting general printing instruction into equipment special instruction
CN122331847A