CN116852882A - Printer ribbon management method and device, electronic equipment and storage medium - Google Patents

Printer ribbon management method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116852882A
CN116852882A CN202310961786.2A CN202310961786A CN116852882A CN 116852882 A CN116852882 A CN 116852882A CN 202310961786 A CN202310961786 A CN 202310961786A CN 116852882 A CN116852882 A CN 116852882A
Authority
CN
China
Prior art keywords
ribbon
target
printer
radio frequency
frequency identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310961786.2A
Other languages
Chinese (zh)
Inventor
吴秋亮
邱继涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Dikai Coding Industry Co ltd
Original Assignee
Shanghai Dikai Coding Industry Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Dikai Coding Industry Co ltd filed Critical Shanghai Dikai Coding Industry Co ltd
Priority to CN202310961786.2A priority Critical patent/CN116852882A/en
Publication of CN116852882A publication Critical patent/CN116852882A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J33/00Apparatus or arrangements for feeding ink ribbons or like character-size impression-transfer material
    • B41J33/02Ribbon arrangements
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J35/00Other apparatus or arrangements associated with, or incorporated in, ink-ribbon mechanisms
    • B41J35/36Alarms, indicators, or feed disabling devices responsive to ink ribbon breakage or exhaustion
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Impression-Transfer Materials And Handling Thereof (AREA)

Abstract

The embodiment of the application discloses a printer ribbon management method, a printer ribbon management device, electronic equipment and a storage medium. The method comprises the following steps: configuring a corresponding radio frequency identification card and a target color band for a target printer; detecting the running state of a target printer, and determining whether the residual ribbon limit of a target ribbon configured by the target printer is greater than a preset ribbon limit threshold; and if the residual ribbon limit of the target ribbon is not greater than the preset ribbon limit threshold, transferring the preset number of ribbon limits to the target ribbon for normal operation of the target printer through the card swiping operation of the radio frequency identification card. By adopting the scheme, the target color band is configured for the target printer, so that poor printing effect caused by the fact that the non-compliant color band is adopted is avoided; a radio frequency identification card is configured for the target printer, and the ribbon limit is provided when the target printer gives out the ribbon limit shortage early warning, so that the normal use of a user is ensured; the same radio frequency identification card can be shared and used on a plurality of printers, so that the cost is reduced and the operation of a user is facilitated.

Description

Printer ribbon management method and device, electronic equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of printing devices, in particular to a method and a device for managing a printer ribbon, electronic equipment and a storage medium.
Background
The thermal transfer printer has the advantages of clear and beautiful printing, erasure resistance and the like, and is widely applied to various industries. In a conventional thermal transfer printer, a print head is instantaneously heated to thermally transfer ink on a color ribbon to a print medium, thereby forming a print pattern.
The color bands belong to consumables, and the number of the color bands consumed in the market per year is huge. End users often purchase ribbon products that are not recommended by the manufacturer of the thermal transfer printer for cost and other reasons, which are not verified on the thermal transfer printer, and therefore have difficulty guaranteeing their print results and are troublesome to adjust in-situ print results. Secondly, the residual amount on the color belt can not be detected in real time, and the phenomenon that the color belt can not be used during printing can occur, so that the production efficiency is affected.
Disclosure of Invention
The embodiment of the application provides a printer ribbon management method, a printer ribbon management device, electronic equipment and a storage medium, which are used for realizing a special ribbon identification function through a radio frequency identification card technology; the same radio frequency identification card can be shared and used on a plurality of printers, so that the cost is reduced and the operation of a user is facilitated.
In a first aspect, an embodiment of the present application provides a method for managing a ribbon of a printer, including:
configuring a corresponding radio frequency identification card and a target color band for a target printer; the radio frequency identification card is used for storing a target color band total value unit, wherein the color band total value unit is the same as the target color band total value unit;
detecting the running state of a target printer, and determining whether the residual ribbon limit of a target ribbon configured by the target printer is greater than a preset ribbon limit threshold;
and if the residual ribbon limit of the target ribbon is not greater than the preset ribbon limit threshold, transferring the preset number of ribbon limits to the target ribbon for normal operation of the target printer through the card swiping operation of the radio frequency identification card.
In a second aspect, an embodiment of the present application further provides a ribbon management apparatus for a printer, including:
the device configuration module is used for configuring a corresponding radio frequency identification card and a target color band for the target printer; the radio frequency identification card is used for storing a target color band total value unit, wherein the color band total value unit is the same as the target color band total value unit;
the ribbon remaining amount determining module is used for detecting the running state of the target printer and determining whether the remaining ribbon amount of the target ribbon configured by the target printer is larger than a preset ribbon amount threshold;
and the ribbon management module is used for transferring the ribbon amount of the preset quantity to the target ribbon for the normal operation of the target printer through the card swiping operation of the radio frequency identification card if the residual ribbon amount of the target ribbon is not greater than the preset ribbon amount threshold.
In a third aspect, an embodiment of the present application further provides an electronic device, including:
one or more processors;
a storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the printer ribbon management method according to any of the embodiments of the present application.
In a fourth aspect, an embodiment of the present application further provides a computer readable storage medium, where a computer program is stored, where the program when executed by a processor implements the printer ribbon management method according to any embodiment of the present application.
The embodiment of the application provides a printer ribbon management method, a printer ribbon management device, electronic equipment and a storage medium, wherein a corresponding radio frequency identification card and a target ribbon are configured for a target printer; the radio frequency identification card is used for storing a target color band total value unit, wherein the color band total value unit is the same as the target color band total value unit; detecting the running state of a target printer, and determining whether the residual ribbon limit of a target ribbon configured by the target printer is greater than a preset ribbon limit threshold; and if the residual ribbon limit of the target ribbon is not greater than the preset ribbon limit threshold, transferring the preset number of ribbon limits to the target ribbon for normal operation of the target printer through the card swiping operation of the radio frequency identification card. By adopting the technical scheme of the embodiment of the application, the corresponding target color band is configured for the target printer, so that the problems of poor printing effect, abnormal printing, complex adjustment and the like caused by adopting the non-compliant color band are avoided; the method comprises the steps that a radio frequency identification card is configured for a target printer, an early warning is sent when the color band amount in the target printer is insufficient, the radio frequency identification card is adopted to provide the preset number of color band amounts for the target printer, the matching of printing parameters can be guaranteed, the printing effect is clear and attractive, and the normal operation of production activities of users is guaranteed; the ribbon limit on the same radio frequency identification card can be shared and used on a plurality of printers, so that the cost is reduced and the operation of a user is facilitated.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 is a flow chart of a method for managing a printer ribbon according to an embodiment of the present application;
FIG. 2 is a flow chart of another method for managing printer ribbon according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a ribbon management device of a printer according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present application are shown in the drawings.
Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts operations (or steps) as a sequential process, many of the operations (or steps) can be performed in parallel, concurrently, or at the same time. Furthermore, the order of the operations may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The technical scheme of the application obtains, stores, uses and processes the data and the like all conform to the relevant regulations of national laws and regulations.
Fig. 1 is a flowchart of a printer ribbon management method according to an embodiment of the present application, where the present embodiment is applicable to managing a ribbon of a thermal transfer printer, and the method according to the present embodiment may be performed by a printer ribbon management device, which may be implemented in hardware and/or software. The apparatus may be deployed in a server for printer ribbon management. The method specifically comprises the following steps:
s110, configuring a corresponding radio frequency identification card and a target color band for the target printer.
Wherein the target printer may refer to a thermal transfer printer; the thermal transfer printer instantly passes through a certain current through tiny thermistors distributed on a printing head, so that the thermal transfer printer instantly generates higher temperature to transfer ink on a color belt to the surface of a printing medium, and a pattern is formed. The product printed by thermal transfer printing can withstand time and can be kept unchanged for a long time; the printed characters can be stored for a long time, are not discolored, cannot be worn out due to contact with a solvent, and cannot be deformed and discolored due to higher temperature. Products printed by thermal transfer printers include, but are not limited to, product bar codes, bar codes on clothing, train tickets, boarding passes, luggage passes, and the like.
The radio frequency identification card can refer to that the reader transmits radio wave energy with a specific frequency to drive the circuit to send out internal data, and at the moment, the reader sequentially receives the read data and sends the read data to the application program for corresponding processing. In the embodiment of the application, the ribbon limit which is the same as the target ribbon total limit value is stored in the radio frequency identification card; and identifying the target printer through the radio frequency identification card and transferring the preset number of ribbon units to the target printer. The working frequency of the radio frequency identification card adopted by the embodiment of the application can be preferably 13.56MHz, and the identification distance is about 10cm, so that the card swiping of a user can be facilitated, and the mutual interference of other printer devices adjacent to the target printer can be avoided. The working frequency, the working efficiency and the identification distance of the rfid card are not particularly limited in the embodiment of the present application.
As an alternative but non-limiting implementation manner, the configuring the corresponding rfid card and the target ribbon for the target printer includes, but is not limited to, steps A1-A2:
step A1: configuring a corresponding radio frequency identification card for a target printer; the ribbon limit data in the radio frequency identification card is stored in an encrypted mode; when the radio frequency identification card reads and writes data, determining whether the color band limit data in the radio frequency identification card is encrypted and legal; and discarding the target data if the read target data does not accord with the preset encryption mode or the target data is illegal.
Step A2: configuring a corresponding target color band for a target printer; the target color band comprises at least one color band, and the at least one color band corresponds to one color band limit value respectively; the ribbon limit value stored in the radio frequency identification card is equal to the sum of the ribbon limit values of the various ribbons.
The current thermal transfer printer device does not have a ribbon identification function, and cannot identify whether the ribbon is a recommended brand and model. End users often purchase ribbon products that are not recommended by the thermal transfer printer manufacturer for cost-effective or other reasons, which are not verified on the thermal transfer printer and therefore have difficulty guaranteeing their print results. Meanwhile, in order to occupy the market, part of ribbon manufacturers adopt a low-price strategy to lower the cost of the ribbon, so that the quality of ribbon products is uneven, the printing effect is also not ideal, and the normal production work of users is influenced; the end user does not understand the principle, and complains about the printer equipment manufacturer, so that the after-sale cost of the printer equipment manufacturer is increased. In the embodiment of the application, the corresponding target color ribbon is configured for the target printer, so that poor printing effect and influence on printing efficiency caused by adopting unqualified color ribbon are avoided. And storing the total amount of the target color band configured for the target printer into the radio frequency identification card, and providing the color band amount for the target printer. The target color band may include a plurality of color bands, and the sum of the color bands is stored in the radio frequency identification card. For example, if 3 color bands are configured for the target printer and the sum of each color band is 100, the total sum of the target color bands is 300; and storing the 300-limit ribbon in the radio frequency identification card, transferring the preset number of ribbon limits to the target printer when the target printer is used for the first time, and transferring the preset number of ribbon limits to the target printer again when the target printer is insufficient.
In order to avoid intentional tampering of the ribbon line in the radio frequency identification card, the data in the radio frequency identification card is encrypted and stored. When the radio frequency identification card read-write equipment on the target printer equipment reads and writes data, judging whether the data in the radio frequency identification card is encrypted and legal or not; if the read data does not accord with the specific encryption mode or the data is illegal, the data in the radio frequency identification card is discarded, but the color band limit in the radio frequency identification card is kept unchanged. In the embodiment of the application, one radio frequency identification card can be matched with a plurality of target printers, and the plurality of target printers can share the ribbon limit in one radio frequency identification card, so that the cost can be saved and the operation of a user is convenient.
S120, detecting the running state of the target printer, and determining whether the residual ribbon limit of the target ribbon configured by the target printer is larger than a preset ribbon limit threshold.
Wherein the remaining ribbon amount in the target printer can reflect the operational status of the target printer. The residual ribbon limit exists in the target printer, and the target printer is in a normal running state; if the residual ribbon limit does not exist in the target printer, the target printer is in a stop running state. Thus, whether there is a remaining ribbon amount in the target ribbon configured by the target printer can be determined by the operation state of the target printer. The remaining ribbon limit in the target ribbon configured by the target printer is the remaining ribbon limit in the target printer.
As an optional but non-limiting implementation manner, the detecting the operation state of the target printer determines whether the remaining ribbon limit of the target ribbon configured by the target printer is greater than a preset ribbon limit threshold, including but not limited to steps B1-B3:
step B1: determining an operating state of the target printer; the operation state includes a normal operation and a stop operation state.
Step B2: and if the target printer operates normally, determining that the residual ribbon limit of the target ribbon configured by the target printer is greater than a preset ribbon limit threshold.
Step B3: and if the target printer stops running, determining that the residual ribbon limit of the target ribbon configured by the target printer is not greater than a preset ribbon limit threshold.
Determining whether the residual ribbon limit of the target ribbon configured by the target printer is greater than a preset ribbon limit threshold according to the running state of the target printer; in the embodiment of the present application, the preset ribbon limit threshold may be 0. For example, if the target printer is in an operational state, indicating that a certain ribbon amount exists in the target printer, it may be determined that the remaining ribbon amount of the target ribbon configured by the target printer is greater than 0. If the target printer is in the stop running state, characterizing that the ribbon limit in the target printer is 0, that is, the remaining ribbon limit of the target ribbon configured by the target printer is not greater than the preset ribbon limit threshold.
And S130, if the residual ribbon limit of the target ribbon is not greater than a preset ribbon limit threshold, transferring the preset number of ribbon limits to the target ribbon for normal operation of the target printer through the card swiping operation of the radio frequency identification card.
And determining the corresponding operation of the radio frequency identification card or the target printer according to the residual ribbon limit of the target ribbon. For example, if the remaining ribbon limit of the target ribbon is greater than a preset ribbon limit threshold, the target printer operates normally to print. If the residual ribbon limit of the target ribbon is not greater than the preset ribbon limit threshold, transferring the preset number of ribbon limits to the target ribbon through the radio frequency identification card for normal operation of the target printer.
As an optional but non-limiting implementation manner, if the remaining ribbon amount of the target ribbon is not greater than the preset ribbon amount threshold, transferring the preset number of ribbon amounts to the target ribbon for the normal operation of the target printer through the card swiping operation of the rfid card, including but not limited to steps C1-C3:
step C1: and if the residual ribbon limit of the target ribbon is not greater than the preset ribbon limit threshold, triggering the ribbon limit shortage early warning by the target printer and locking the target printer to stop running.
Step C2: and reading the preset number of ribbon units into the target printer through the card swiping operation of the radio frequency identification card.
Step C3: the RFID card reduces the preset number of ribbon lines and stores the target remaining ribbon lines of the RFID card.
And the target printer equipment is provided with a special radio frequency identification card reader for reading and writing data of the radio frequency identification card. When a user installs a new roll of ribbon, if the ribbon limit in the target printer is greater than 0, the ribbon limit in the target printer is reduced by one, and the device works normally; if the ribbon limit in the target printer is 0, the target printer triggers the ribbon limit shortage early warning to prompt the user to perform the card swiping operation and locks the target printer to be unable to perform the printing operation.
Optionally, when the user receives the warning of insufficient ribbon line, the user performs the card swiping operation by approaching the radio frequency identification card to the target printer, the ribbon line in the radio frequency identification card is reduced by a certain line, and the same number of ribbon lines are added in the target printer. In order to reduce the frequency of card swiping of the user, a preset number of ribbon credits reduced in the rfid card can be set on the target printer each time. And if the residual ribbon amount in the radio frequency identification card is smaller than the preset number of ribbon amounts, transferring all the residual ribbon amounts to the target printer.
As an alternative but non-limiting implementation, before the preset number of ribbon units are read into the target printer by the card swiping operation of the rfid card, the method further includes, but is not limited to, steps D1-D3:
step D1: and the target printer enters a card swiping mode, periodically sends a data reading instruction and determines whether the radio frequency identification card data is read.
Step D2: if the radio frequency identification card data is determined not to be read, continuing to send the data reading instruction.
Step D3: if the RFID card data are read, the target printer increases the ribbon limit of the preset data.
Referring to fig. 2, after the target printer triggers the early warning of insufficient ribbon amount, the target printer enters a card swiping mode and periodically sends a data reading instruction; and when the target printer reads the radio frequency identification card data, stopping sending a data reading instruction, and increasing the preset number of ribbon units by the target printer.
In the embodiment of the application, in order to prevent a user from swiping a card by mistake or swiping a card repeatedly, and simultaneously reduce the power consumption of the target printer, the target printer can enter a card swiping mode only when the target printer triggers the early warning of insufficient ribbon amount, and periodically sends a radio frequency identification card reading data command. Under other conditions, the target printer does not enter a card swiping mode, and a user cannot perform card swiping operation.
As an optional but non-limiting implementation manner, the transferring the preset number of ribbon credits to the target ribbon for the target printer to operate normally through the card swiping operation of the radio frequency identification card further includes:
and transferring the preset number of ribbon lines to the target ribbon through the card swiping operation of the radio frequency identification card, and acquiring the preset number of ribbon lines by the target printer, and clearing the ribbon line shortage early warning and unlocking on the target printer so that the target printer operates normally.
After a user swipes a card, the target printer acquires a preset number of ribbon lines and clears the ribbon line shortage early warning on the target printer; and unlocking the target printer to enable the target printer to normally operate.
The embodiment of the application provides a printer ribbon management method, which is implemented by configuring a corresponding radio frequency identification card and a target ribbon for a target printer; the radio frequency identification card is used for storing a target color band total value unit, wherein the color band total value unit is the same as the target color band total value unit; detecting the running state of a target printer, and determining whether the residual ribbon limit of a target ribbon configured by the target printer is greater than a preset ribbon limit threshold; and if the residual ribbon limit of the target ribbon is not greater than the preset ribbon limit threshold, transferring the preset number of ribbon limits to the target ribbon for normal operation of the target printer through the card swiping operation of the radio frequency identification card. By adopting the technical scheme of the embodiment of the application, the corresponding target color band is configured for the target printer, and the phenomenon of poor printing effect caused by adopting the non-compliant color band is avoided; the method comprises the steps that a radio frequency identification card is configured for a target printer, early warning is sent out when the color band amount in the target printer is insufficient, the radio frequency identification card is adopted to provide the preset number of color band amounts for the target printer, the printing effect can be ensured, and the normal operation of production activities of users is ensured; the same radio frequency identification card can be shared and used on a plurality of printers, so that the cost is reduced and the operation of a user is facilitated.
Fig. 3 is a schematic structural diagram of a ribbon management device of a printer according to an embodiment of the present application, where the technical solution of the present embodiment is applicable to a situation of managing a ribbon of a thermal transfer printer, the device may be implemented by software and/or hardware, and is generally integrated on any electronic device having a network communication function, and the electronic device includes, but is not limited to: server, computer, personal digital assistant, etc. As shown in fig. 3, the printer ribbon management apparatus provided in this embodiment may include: a device configuration module 310, a ribbon remaining amount determination module 320, and a ribbon management module 330; wherein, the liquid crystal display device comprises a liquid crystal display device,
a device configuration module 310, configured to configure a corresponding rfid card and a target ribbon for the target printer; the radio frequency identification card is used for storing a target color band total value unit, wherein the color band total value unit is the same as the target color band total value unit;
the ribbon remaining amount determining module 320 is configured to detect an operation state of a target printer, and determine whether a remaining ribbon amount of a target ribbon configured by the target printer is greater than a preset ribbon amount threshold;
the ribbon management module 330 is configured to transfer a preset number of ribbon amounts to the target ribbon for the target printer to operate normally through the swiping operation of the rfid card if the remaining ribbon amounts of the target ribbon are not greater than the preset ribbon amount threshold.
On the basis of the foregoing embodiment, optionally, the device configuration module includes:
configuring a corresponding radio frequency identification card for a target printer; the ribbon limit data in the radio frequency identification card is stored in an encrypted mode; when the radio frequency identification card reads and writes data, determining whether the color band limit data in the radio frequency identification card is encrypted and legal; discarding the target data if the read target data does not accord with a preset encryption mode or the target data is illegal;
configuring a corresponding target color band for a target printer; the target color band comprises at least one color band, and the at least one color band corresponds to one color band limit value respectively; the ribbon limit value stored in the radio frequency identification card is equal to the sum of the ribbon limit values of the various ribbons.
On the basis of the foregoing embodiment, optionally, the ribbon remaining amount determining module includes:
determining an operating state of the target printer; the operation state comprises a normal operation state and a stop operation state;
if the target printer operates normally, determining that the residual ribbon limit of the target ribbon configured by the target printer is greater than a preset ribbon limit threshold;
and if the target printer stops running, determining that the residual ribbon limit of the target ribbon configured by the target printer is not greater than a preset ribbon limit threshold.
On the basis of the foregoing embodiment, optionally, the ribbon management module includes:
if the residual ribbon limit of the target ribbon is not greater than a preset ribbon limit threshold, the target printer triggers the early warning of insufficient ribbon limit and locks the target printer to stop running;
reading a preset number of ribbon lines into a target printer through a card swiping operation of the radio frequency identification card;
the RFID card reduces the preset number of ribbon lines and stores the target remaining ribbon lines of the RFID card.
On the basis of the foregoing embodiment, optionally, the ribbon management module further includes:
the target printer enters a card swiping mode, periodically sends a data reading instruction and determines whether the radio frequency identification card data is read;
if the radio frequency identification card data is determined not to be read, continuing to send a data reading instruction;
if the RFID card data are read, the target printer increases the ribbon limit of the preset data.
On the basis of the foregoing embodiment, optionally, the ribbon management module further includes:
and transferring the preset number of ribbon lines to the target ribbon through the card swiping operation of the radio frequency identification card, and acquiring the preset number of ribbon lines by the target printer, and clearing the ribbon line shortage early warning and unlocking on the target printer so that the target printer operates normally.
The printer ribbon management device provided in the embodiment of the application can execute the printer ribbon management method provided in any embodiment of the application, has the corresponding functions and beneficial effects of executing the printer ribbon management method, and the detailed process refers to the related operation of the printer ribbon management method in the embodiment.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device 10 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the applications described and/or claimed herein.
As shown in fig. 4, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the printer ribbon management method.
In some embodiments, the printer ribbon management method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more of the steps of the printer ribbon management method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the printer ribbon management method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present application, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present application may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present application are achieved, and the present application is not limited herein.
The above embodiments do not limit the scope of the present application. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the scope of the present application.

Claims (10)

1. A method of managing a printer ribbon, the method comprising:
configuring a corresponding radio frequency identification card and a target color band for a target printer; the radio frequency identification card is used for storing a target color band total value unit, wherein the color band total value unit is the same as the target color band total value unit;
detecting the running state of a target printer, and determining whether the residual ribbon limit of a target ribbon configured by the target printer is greater than a preset ribbon limit threshold;
and if the residual ribbon limit of the target ribbon is not greater than the preset ribbon limit threshold, transferring the preset number of ribbon limits to the target ribbon for normal operation of the target printer through the card swiping operation of the radio frequency identification card.
2. The method of claim 1, wherein configuring the corresponding rfid card and target ribbon for the target printer comprises:
configuring a corresponding radio frequency identification card for a target printer; the ribbon limit data in the radio frequency identification card is stored in an encrypted mode; when the radio frequency identification card reads and writes data, determining whether the color band limit data in the radio frequency identification card is encrypted and legal; discarding the target data if the read target data does not accord with a preset encryption mode or the target data is illegal;
configuring a corresponding target color band for a target printer; the target color band comprises at least one color band, and the at least one color band corresponds to one color band limit value respectively; the ribbon limit value stored in the radio frequency identification card is equal to the sum of the ribbon limit values of the various ribbons.
3. The method of claim 1, wherein detecting the operational status of the target printer to determine whether the remaining ribbon amount of the target ribbon configured by the target printer is greater than a preset ribbon amount threshold comprises:
determining an operating state of the target printer; the operation state comprises a normal operation state and a stop operation state;
if the target printer operates normally, determining that the residual ribbon limit of the target ribbon configured by the target printer is greater than a preset ribbon limit threshold;
and if the target printer stops running, determining that the residual ribbon limit of the target ribbon configured by the target printer is not greater than a preset ribbon limit threshold.
4. The method of claim 1, wherein transferring the predetermined number of ribbon credits into the target ribbon for normal operation of the target printer by the swiping operation of the rfid card if the remaining ribbon credits of the target ribbon is not greater than a predetermined ribbon credit threshold, comprises:
if the residual ribbon limit of the target ribbon is not greater than a preset ribbon limit threshold, the target printer triggers the early warning of insufficient ribbon limit and locks the target printer to stop running;
reading a preset number of ribbon lines into a target printer through a card swiping operation of the radio frequency identification card;
the RFID card reduces the preset number of ribbon lines and stores the target remaining ribbon lines of the RFID card.
5. The method of claim 4, further comprising, prior to reading the predetermined number of ribbon credits into the target printer by a swipe operation of the rfid card:
the target printer enters a card swiping mode, periodically sends a data reading instruction and determines whether the radio frequency identification card data is read;
if the radio frequency identification card data is determined not to be read, continuing to send a data reading instruction;
if the RFID card data are read, the target printer increases the ribbon limit of the preset data.
6. The method of claim 4, wherein transferring the predetermined number of ribbon credits to the target ribbon for normal operation of the target printer by the swiping of the rfid card, further comprises:
and transferring the preset number of ribbon lines to the target ribbon through the card swiping operation of the radio frequency identification card, and acquiring the preset number of ribbon lines by the target printer, and clearing the ribbon line shortage early warning and unlocking on the target printer so that the target printer operates normally.
7. A printer ribbon management apparatus, the apparatus comprising:
the device configuration module is used for configuring a corresponding radio frequency identification card and a target color band for the target printer; the radio frequency identification card is used for storing a target color band total value unit, wherein the color band total value unit is the same as the target color band total value unit;
the ribbon remaining amount determining module is used for detecting the running state of the target printer and determining whether the remaining ribbon amount of the target ribbon configured by the target printer is larger than a preset ribbon amount threshold;
and the ribbon management module is used for transferring the ribbon amount of the preset quantity to the target ribbon for the normal operation of the target printer through the card swiping operation of the radio frequency identification card if the residual ribbon amount of the target ribbon is not greater than the preset ribbon amount threshold.
8. The apparatus of claim 7, wherein the device configuration module comprises:
configuring a corresponding radio frequency identification card for a target printer; the ribbon limit data in the radio frequency identification card is stored in an encrypted mode; when the radio frequency identification card reads and writes data, determining whether the color band limit data in the radio frequency identification card is encrypted and legal; discarding the target data if the read target data does not accord with a preset encryption mode or the target data is illegal;
configuring a corresponding target color band for a target printer; the target color band comprises at least one color band, and the at least one color band corresponds to one color band limit value respectively; the ribbon limit value stored in the radio frequency identification card is equal to the sum of the ribbon limit values of the various ribbons.
9. An electronic device, comprising:
one or more processors;
a storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the printer ribbon management method of any of claims 1-6.
10. A storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the printer ribbon management method of any one of claims 1 to 6.
CN202310961786.2A 2023-08-01 2023-08-01 Printer ribbon management method and device, electronic equipment and storage medium Pending CN116852882A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310961786.2A CN116852882A (en) 2023-08-01 2023-08-01 Printer ribbon management method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310961786.2A CN116852882A (en) 2023-08-01 2023-08-01 Printer ribbon management method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116852882A true CN116852882A (en) 2023-10-10

Family

ID=88234119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310961786.2A Pending CN116852882A (en) 2023-08-01 2023-08-01 Printer ribbon management method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116852882A (en)

Similar Documents

Publication Publication Date Title
US11899515B2 (en) Point of sale device power management and undervoltage protection
US9503592B2 (en) Retrieving data associated with a printer using near field communication
US10810153B2 (en) Chip processing device and method for chip processing using the same
CN102431286B (en) Data storage processing apparatus in printing apparatus, printing apparatus, and data storage processing method
US7416121B2 (en) Stand-alone proxy RFID read/write unit for print label encoding
CN109844789A (en) A kind of terminal transaction method and terminal
CN107066215B (en) Network system, printing apparatus, information processing apparatus, and control method
US11366993B2 (en) Management apparatus, method, and medium for deciding how many ink tanks a user should carry based on usage information
US10120427B1 (en) Multi-chip reference counting power management
US9225393B2 (en) Systems and methods for determining whether a companion communication device is beyond a proximity of a primary communication device
US20140118777A1 (en) Image forming system, image forming apparatus, and image forming method
US9418359B2 (en) Settlement terminal device
CN113589775A (en) Opening of processing steps for processing objects
KR20150060835A (en) Data conversion system, data conversion device, and data conversion method
JP2024007557A (en) Printer, method for controlling printer and program
CN107040950A (en) A kind of management method of WIFI equipment and a kind of WIFI equipment
CN116852882A (en) Printer ribbon management method and device, electronic equipment and storage medium
CN116974494A (en) Method and device for determining mileage of printing paper, electronic equipment and storage medium
TWI384402B (en) Method of accessing rfid tag and circuit for determining whether to reply command sent from reader or not
CN115583115B (en) Method and device for realizing thermal printing
US10452383B1 (en) Device improvements through adaptive settings
JP7232682B2 (en) Electronic money payment terminal, electronic money payment method and program
US20170148279A1 (en) Transaction processing apparatus, transaction processing method, program and transaction processing system
JP2020004207A (en) Information processing device and information processing method
CN104184699B (en) Security information interaction system, device and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination