[go: up one dir, main page]

CN113986154A - Printer connection and file printing method, system and storage medium - Google Patents

Printer connection and file printing method, system and storage medium Download PDF

Info

Publication number
CN113986154A
CN113986154A CN202111204871.1A CN202111204871A CN113986154A CN 113986154 A CN113986154 A CN 113986154A CN 202111204871 A CN202111204871 A CN 202111204871A CN 113986154 A CN113986154 A CN 113986154A
Authority
CN
China
Prior art keywords
printer
target
file
target printer
printed
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
CN202111204871.1A
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.)
Shenzhen Yindiandian Technology Co ltd
Original Assignee
Shenzhen Yindiandian Technology 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 Shenzhen Yindiandian Technology Co ltd filed Critical Shenzhen Yindiandian Technology Co ltd
Priority to CN202111204871.1A priority Critical patent/CN113986154A/en
Publication of CN113986154A publication Critical patent/CN113986154A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1229Printer resources management or printer maintenance, e.g. device status, power levels
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1236Connection management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1259Print job monitoring, e.g. job status
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server
    • G06F3/1286Remote printer device, e.g. being remote from client or server via local network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server
    • G06F3/1288Remote printer device, e.g. being remote from client or server in client-server-printer device configuration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1292Mobile client, e.g. wireless printing
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/26Coin-freed apparatus for hiring articles; Coin-freed facilities or services for printing, stamping, franking, typing or teleprinting apparatus
    • G07F17/266Coin-freed apparatus for hiring articles; Coin-freed facilities or services for printing, stamping, franking, typing or teleprinting apparatus for the use of a photocopier or printing device
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus
    • G07F9/001Interfacing with vending machines using mobile or wearable devices
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus
    • G07F9/002Vending machines being part of a centrally controlled network of vending machines

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The application discloses a printer connection and file printing method, a system and a storage medium. The method comprises the following steps: searching a printer in a current local area network based on a preset network protocol through a preset WeChat small program, wherein the current local area network is a local area network accessed by the terminal equipment; if the first printer is searched, displaying the identifier of the first printer; when a selection instruction of an identification of a target printer is detected, establishing connection with the target printer, wherein the identification of the target printer is one of the identifications of the first printer; and sending a file to be printed to the target printer so that the target printer prints the file to be printed.

Description

Printer connection and file printing method, system and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, a system, and a storage medium for printer connection and file printing.
Background
In office and life, document printing is often required. However, the traditional entity printing shops have high operation cost, so that the pricing is high, the number of the printing shops is gradually reduced, the business time is fixed, and customers often cannot realize the printing in time when the printing is urgently needed.
Disclosure of Invention
The application provides a printer connection and file printing method, system and storage medium.
In a first aspect, a printer connection and file printing method is provided, which is applied to a terminal device, and the method includes:
searching a printer in a current local area network based on a preset network protocol through a preset WeChat small program, wherein the current local area network is a local area network accessed by the terminal equipment;
if the first printer is searched, displaying the identifier of the first printer;
when a selection instruction of an identification of a target printer is detected, establishing connection with the target printer, wherein the identification of the target printer is one of the identifications of the first printer;
and sending a file to be printed to the target printer so that the target printer prints the file to be printed.
In a second aspect, a printer sharing system is provided, including a terminal device, a server, and a target printer, wherein:
the terminal equipment is used for searching a printer in a current local area network based on a preset network protocol through a preset WeChat small program, and the current local area network is a local area network accessed by the terminal equipment;
the terminal equipment is also used for displaying the searched identifier of the first printer;
the terminal equipment is further used for establishing connection with the target printer when a selection instruction of the identification of the target printer is detected, wherein the identification of the target printer is one of the identifications of the first printer;
the terminal equipment is further used for sending a file to be printed to the target printer through the server so that the target printer can print the file to be printed.
In a third aspect, an electronic device is provided, comprising a memory and a processor, the memory storing a computer program, the computer program, when executed by the processor, causing the processor to perform the steps of the first aspect and any possible implementation thereof.
To achieve the above object, a fourth aspect of the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to perform the steps of the method according to the first aspect.
In the embodiment of the application, the terminal equipment can search a printer in a current local area network through a preset WeChat applet based on a preset network protocol, wherein the current local area network is a local area network accessed by the terminal equipment; if the first printer is searched, displaying the identifier of the first printer; when a selection instruction of an identification of a target printer is detected, establishing connection with the target printer, wherein the identification of the target printer is one of the identifications of the first printer; and sending a file to be printed by the target printer so as to enable the target printer to print the file to be printed, and comparing with a traditional printing shop, the online platform built by the printer and the WeChat small program can reduce the shop and labor cost, has no business time limitation, and can provide convenient self-service printing service in time.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the background art of the present application, the drawings required to be used in the embodiments or the background art of the present application will be described below.
FIG. 1 is a schematic flowchart of a printer connection and document printing method according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart illustrating another method for printer connection and document printing according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a printer sharing system 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
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The embodiments of the present application will be described below with reference to the drawings.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a printer connection and a file printing method according to an embodiment of the present disclosure. The method can comprise the following steps:
101. and searching a printer in a current local area network based on a preset network protocol through a preset WeChat small program, wherein the current local area network is a local area network accessed by the terminal equipment.
The printer connection and file printing method in the embodiment of the application can be applied to terminal equipment, including but not limited to mobile terminals such as mobile phones.
Specifically, the printer connection and file printing method can be realized by means of the wechat applet, and a user can log in a wechat account through the terminal equipment to enter the preset wechat applet.
The wechat applet mentioned in the embodiments of the present application is an application that can be used without downloading or installing, and a user can open the application by scanning a two-dimensional code or by a search function.
If the terminal device accesses a local area network (such as a certain WiFi), the printer can be automatically searched in the current local area network based on a preset network protocol through the preset wechat applet, and the printer device accessing the same local area network can be searched.
The preset network protocol may include an mDNS protocol.
In computer networks, the Multicast DNS (mDNS) protocol resolves host names to IP addresses in small networks that do not contain local name servers. It is a zero configuration service that uses substantially the same programming interface, packet format and operational semantics as unicast Domain Name System (DNS).
In a local area network, the device and the device need to know the physical Address of the other party, i.e. the IP Address (Internet Protocol Address), before communicating with each other, and in most cases, the IP of the device is not a static IP Address, but an IP Address dynamically allocated by the DHCP Protocol. The mDNS mainly realizes the mutual discovery and communication of hosts in the local area network under the condition of no traditional DNS server, uses a port 5353, conforms to the DNS protocol, and uses the existing DNS information structure, name grammar and resource record type.
When an mDNS client needs to resolve a hostname, it sends an IP multicast query message asking the host with the name to identify itself. The target machine then multicasts a message containing its IP address. All computers in the subnet can then use this information to update their mDNS caches. Any host can give up its declaration of a name by sending a response packet with a time-to-live (TTL) equal to zero.
102. And if the first printer is searched, displaying the identifier of the first printer.
When the terminal device searches for a printer, the identifier of the searched printer may be displayed on the device connection interface in the applet, where the identifier may be a name or a number for identifying the identity of the printer. For convenience of description, the searched printer is referred to as a first printer in the embodiment of the present application.
By displaying the identifier of the first printer, the user can select which printer to connect for printing.
In an optional embodiment, the method further comprises:
and displaying a characteristic label of the first printer, wherein the characteristic label is determined by the server according to the device type of the first printer.
In an alternative embodiment, the searched characteristic label of the printer can be displayed, and is used for showing the characteristics of the printer, such as printing speed, printing definition and the like, to the user. For printers of different models, characteristics of the printers may be different, and characteristic labels corresponding to different printer device types may be preset in the server to provide a reference for a user when the user searches for the printer through the terminal device, so that the user can select the printer according to needs.
Optionally, the characteristic labels may also be generated by other user evaluation, and label selection may be performed after the user connects to the printer each time and finishes printing, so as to evaluate the used printer, and store the evaluation in the server, that is, there may be different characteristic labels for each printer.
Optionally, the position information of the first printer may also be displayed so that the user can accurately find the printer position.
103. And when a selection instruction of the identification of the target printer is detected, establishing connection with the target printer, wherein the identification of the target printer is one of the identifications of the first printer.
The user can select a target printer from the searched first printers to connect, that is, trigger a selection instruction of the identifier of the target printer, so that the terminal device establishes a connection with the target printer.
In an optional embodiment, the method further comprises:
searching a page in the equipment with the preset WeChat small program, and acquiring an input physical address;
and searching the target printer according to the physical address, and establishing connection with the target printer.
Specifically, a page can be searched on a device in which a wechat applet is preset, and the IP address of the target printer to be connected is directly input, so that the target printer in the IP address is searched for connection.
104. And sending the file to be printed to the target printer so that the target printer prints the file to be printed.
After the connection with the target printer is successful, a connection success message may be displayed. The user can select a file to be printed through the applet and print with the target printer.
Optionally, the step 104 may include:
acquiring a printing protocol supported by the target printer;
and communicating with a port of the target printer based on the printing protocol supported by the target printer so as to send the file to be printed to the target printer.
When a user prints, the user can follow up to obtain the printing protocol supported by the target printer to communicate with the port, for example: IPP, LPD, RAW.
The Internet Printing Protocol (IPP) referred to in the embodiments of the present application is a standard network protocol for printing on the internet, which allows a user to remotely print and manage a printing job through the internet. The user can control various parameters such as the type of paper used by the printed product, the resolution and the like through the related interface.
A Line Printer Daemon (LPD) is a Daemon installed on a UNIX print server. Its function is to wait for the acceptance of a print job from a customer using the Line Printer Remote (LPR) protocol. When the LPD receives a print job, it first temporarily stores the print job in a print queue, which is a subdirectory of files in which many print jobs are waiting for the LPD to process. When the printing device is idle, the LPD takes the print job from the print queue and passes it to the printer for printing.
The RAW protocol is the default protocol for most printing devices. To send a job in RAW format, the print server will open a TCP stream to the printer network interface. This interface is port 9100 for many devices. After the TCP/IP port is created, the Object Identifier (OID) of the device will be queried using SNMP. If the device returns a value, parse the system file tcpmon. ini for a match. If the printer manufacturer provides specific configuration information for a particular device, then the configuration information has been created ready along with the configuration settings.
Optionally, the communicating with the port of the target printer based on the printing protocol supported by the target printer includes:
determining a target printing protocol with the highest priority from the printing protocols supported by the target printer according to preset printing protocol priority information;
and communicating with a port of the target printer based on the target printing protocol.
According to the method and the device, the priorities of different printing protocols can be preset, namely the preset printing protocol priority information is obtained, one printer can possibly support multiple printing protocols, after the printing protocols supported by the target printer are obtained, the printing protocol with the highest priority can be selected according to the preset printing protocol priority information, and port communication is carried out on the basis of the printing protocol priority information.
Specifically, RAW can be preferentially adopted to push a file to be printed, TCP link is adopted between the file and a port of a target printer, the file to be printed is sent to the target printer, and the printer outputs the file.
In an optional implementation manner, the file to be printed may be uploaded to a server, so that the server converts the file to be printed into a target format and sends the target format to the target printer, where the target format is a file format adapted to the target printer.
The user in the embodiment of the application can upload a page from a file in the WeChat applet, select to upload a file to be printed, upload the file to the server through the terminal device after the file is determined, and the server can provide a format conversion function, transcode the file to a file format adaptive to a target printer, and send the file to the target printer for printing. Optionally, the format conversion may also be performed on the terminal device side, which is not limited in this embodiment of the application.
Optionally, in this embodiment of the present application, a print payment rule may be set as needed, after the user uploads the file to be printed, the payment amount is calculated and displayed according to the type and the number of the file to be printed and the print payment rule of the target printer, and the user selects a supported payment method to pay.
In the embodiment of the application, the terminal equipment can search a printer in a current local area network through a preset WeChat applet based on a preset network protocol, wherein the current local area network is a local area network accessed by the terminal equipment; if the first printer is searched, displaying the identifier of the first printer; when a selection instruction of an identification of a target printer is detected, establishing connection with the target printer, wherein the identification of the target printer is one of the identifications of the first printer; and sending a file to be printed by the target printer so as to enable the target printer to print the file to be printed, and comparing with a traditional printing shop, the online platform built by the printer and the WeChat small program can reduce the shop and labor cost, has no business time limitation, and can provide convenient self-service printing service in time.
Referring to fig. 2, fig. 2 is another printer connection and document printing method provided in an embodiment of the present application, and as shown in fig. 2, the method includes:
201. and searching a printer in a current local area network based on a preset network protocol through a preset WeChat small program, wherein the current local area network is a local area network accessed by the terminal equipment.
The step 201 may refer to the detailed description of the step 101 in the embodiment shown in fig. 1, and is not described herein again.
202. And if a plurality of printers are searched, acquiring the state information of the plurality of printers.
203. And sorting the identifiers of the plurality of printers according to the status information of the plurality of printers, and displaying the identifiers of the printers according to the sorting, wherein the printing status comprises the residual quantity of consumables and/or the working status.
The status information of the printer can be acquired and displayed in the embodiment of the application. Specifically, in the case where a plurality of printers are searched within the applet, status information of each printer may be displayed, including the remaining amount of consumables, such as the remaining paper condition, the remaining ink condition, and also including the operating status, such as in an idle state or during printing, the number of print queue files, and the like.
Specifically, the information such as the status information and the basic information of the printer may be acquired by using an SNMP protocol that links machines in a UDP manner.
The user may select a printer according to the searched status information of the printer, for example, may preferentially select a printer (as a target printer) in an idle state with sufficient paper and ink, that is, trigger step 203.
204. And when a selection instruction of the identification of the target printer is detected, establishing connection with the target printer, wherein the identification of the target printer is one of the identifications of the first printer.
Step 204 may refer to the detailed description of step 103 in the embodiment shown in fig. 1, and is not described herein again.
205. And acquiring the target format adapted to the target printer, judging whether the format of the file to be printed meets the target format, if not, converting the format of the file to be printed into the target format, and then sending the file to the target printer.
Specifically, the applet can perform print file encoding required by a compatible target printer according to the acquired printer information. The method comprises the steps of obtaining the state information of the printer, obtaining the target format adapted to the target printer, judging whether the file to be printed is in the target format, if so, directly printing the file by the target printer, if not, converting the file to be printed into the target format, and sending the file to be printed to the target printer for printing.
Fig. 3 is a schematic diagram of a printer sharing system according to an embodiment of the present application, and as shown in fig. 3, the printer sharing system 300 includes a terminal device 310 and a target printer 320, where:
the terminal device 310 is configured to search for a printer in a current local area network based on a preset network protocol through a preset wechat applet, where the current local area network is a local area network to which the terminal device 310 is accessed;
the terminal device 310 is further configured to display the searched identifier of the first printer;
the terminal device 310 is further configured to, when detecting a selection instruction for an identifier of the target printer 320, establish a connection with the target printer 320, where the identifier of the target printer 320 is one of the identifiers of the first printers;
the terminal device 310 is further configured to send a file to be printed to the target printer 320;
the target printer 320 is used for printing the file to be printed.
The printer sharing system 300 may include a plurality of printers, and the target printer 320 is a printer selected by the user.
In one embodiment, the printer sharing system 300 may perform the steps in the embodiments shown in fig. 1 or fig. 2, which are not described herein again.
In the printer sharing system 300 in the embodiment of the present application, the terminal device 310 may search for a printer in a current local area network based on a preset network protocol through a preset wechat applet, where the current local area network is a local area network to which the terminal device is accessed; if the first printer is searched, displaying the identifier of the first printer; upon detecting a selection instruction of an identifier of a target printer 320, establishing a connection with the target printer 320, the identifier of the target printer 320 being one of the identifiers of the first printers; the target printer 320 sends a file to be printed, the target printer 320 prints the file to be printed, the printer sharing system 300 serves as an online platform built through a shared printer and a WeChat small program, stores and labor cost are reduced compared with a traditional printing shop, business hours are not limited, and convenient self-service printing service can be timely provided.
Based on the description of the method embodiment and the device embodiment, the embodiment of the application further provides an electronic device. Referring to fig. 4, the electronic device 400 includes at least a processor 401, an input device 402, an output device 403, and a computer storage medium 404. The processor 401, input device 402, output device 403, and computer storage medium 404 within the electronic device may be connected by a bus or other means.
A computer storage medium 404 may be stored in the memory of the electronic device, said computer storage medium 404 being adapted to store a computer program comprising program instructions, said processor 401 being adapted to execute said program instructions stored by said computer storage medium 404. The processor 401 (or CPU) is a computing core and a control core of the electronic device, and is adapted to implement one or more instructions, and in particular, is adapted to load and execute the one or more instructions so as to implement a corresponding method flow or a corresponding function; in one embodiment, the processor 401 in the embodiment of the present application may be configured to perform a series of processes, including any steps of the method that may be performed by the terminal device in the embodiment shown in fig. 1 and/or fig. 2, and the like.
Based on the description of the printer connection and the file printing method embodiment, an embodiment of the present application further provides a computer storage medium (Memory), which is a Memory device in an electronic device and is used for storing programs and data. It is understood that the computer storage medium herein may include both a built-in storage medium in the electronic device and, of course, an extended storage medium supported by the electronic device. Computer storage media provide storage space that stores an operating system for an electronic device. Also stored in the memory space are one or more instructions, which may be one or more computer programs (including program code), suitable for loading and execution by the processor. The computer storage medium may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory; and optionally at least one computer storage medium located remotely from the processor.
In one embodiment, one or more instructions stored in a computer storage medium may be loaded and executed by a processor to perform the corresponding steps in the above embodiments; in a specific implementation, one or more instructions in the computer storage medium may be loaded by the processor and executed to perform any steps of the method shown in fig. 1 or fig. 2, such as steps executed by the external counterpulsation apparatus or steps executed by the monitoring device, which are not described herein again.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the division of the module is only one logical division, and other divisions may be possible in actual implementation, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not performed. The shown or discussed mutual coupling, direct coupling or communication connection may be an indirect coupling or communication connection of devices or modules through some interfaces, and may be in an electrical, mechanical or other form.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are wholly or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on or transmitted over a computer-readable storage medium. The computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)), or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The usable medium may be a read-only memory (ROM), or a Random Access Memory (RAM), or a magnetic medium, such as a floppy disk, a hard disk, a magnetic tape, a magnetic disk, or an optical medium, such as a Digital Versatile Disk (DVD), or a semiconductor medium, such as a Solid State Disk (SSD).

Claims (10)

1. A printer connection and file printing method is applied to terminal equipment and is characterized by comprising the following steps:
searching a printer in a current local area network based on a preset network protocol through a preset WeChat small program, wherein the current local area network is a local area network accessed by the terminal equipment;
if the first printer is searched, displaying the identifier of the first printer;
when a selection instruction of an identification of a target printer is detected, establishing connection with the target printer, wherein the identification of the target printer is one of the identifications of the first printer;
and sending a file to be printed to the target printer so that the target printer prints the file to be printed.
2. The printer connection and document printing method of claim 1, wherein said sending the document to be printed to the target printer further comprises:
acquiring a printing protocol supported by the target printer;
and communicating with a port of the target printer based on the printing protocol supported by the target printer so as to send the file to be printed to the target printer.
3. The printer connection and file printing method of claim 2, wherein said communicating with a port of the target printer based on a printing protocol supported by the target printer comprises:
determining a target printing protocol with the highest priority from printing protocols supported by the target printer according to preset printing protocol priority information;
communicate with a port of the target printer based on the target printing protocol.
4. The printer connection and document printing method according to claim 1, wherein in a case where the first printer searched out is a plurality of printers, said displaying an identification of the first printer includes:
acquiring status information of the plurality of printers;
and sequencing the identifiers of the plurality of printers according to the status information of the plurality of printers, and displaying the identifiers of the printers according to the sequencing, wherein the printing status comprises the residual amount of consumables and/or the working status.
5. The printer connection and document printing method of claim 1, further comprising:
displaying a property label of the first printer, the property label being determined by a server according to a device type of the first printer.
6. The printer connection and document printing method of claim 1, wherein said sending the document to be printed to the target printer comprises:
uploading the file to be printed to a server, so that the server converts the file to be printed into a target format and then sends the file to the target printer, wherein the target format is a file format adapted to the target printer; or,
and acquiring the target format adapted to the target printer, judging whether the format of the file to be printed meets the target format, if not, converting the format of the file to be printed into the target format, and then sending the file to the target printer.
7. The printer connection and document printing method of claim 1, further comprising:
searching a page in the equipment of the preset WeChat applet, and acquiring an input physical address;
and searching the target printer according to the physical address, and establishing connection with the target printer.
8. A printer sharing system comprising a terminal device and a target printer, wherein:
the terminal equipment is used for searching a printer in a current local area network based on a preset network protocol through a preset WeChat small program, and the current local area network is a local area network accessed by the terminal equipment;
the terminal equipment is also used for displaying the searched identifier of the first printer;
the terminal equipment is further used for establishing connection with the target printer when a selection instruction of the identification of the target printer is detected, wherein the identification of the target printer is one of the identifications of the first printer;
the terminal equipment is also used for sending a file to be printed to the target printer;
the target printer is used for printing the file to be printed.
9. An electronic device, characterized in that it comprises a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to carry out the steps of the task processing method according to any one of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1-7.
CN202111204871.1A 2021-10-15 2021-10-15 Printer connection and file printing method, system and storage medium Pending CN113986154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111204871.1A CN113986154A (en) 2021-10-15 2021-10-15 Printer connection and file printing method, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111204871.1A CN113986154A (en) 2021-10-15 2021-10-15 Printer connection and file printing method, system and storage medium

Publications (1)

Publication Number Publication Date
CN113986154A true CN113986154A (en) 2022-01-28

Family

ID=79738877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111204871.1A Pending CN113986154A (en) 2021-10-15 2021-10-15 Printer connection and file printing method, system and storage medium

Country Status (1)

Country Link
CN (1) CN113986154A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114756181A (en) * 2022-04-27 2022-07-15 深圳前海百递网络有限公司 Cloud printing method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1515991A (en) * 2002-12-27 2004-07-28 精工爱普生株式会社 Distributed printing system, method, program, printer and printer management server
US20120038948A1 (en) * 2010-08-13 2012-02-16 Electronics And Telecommunications Research Institute Method and system for printing target files in mobile terminal
JP2017226190A (en) * 2016-06-24 2017-12-28 キヤノン株式会社 Information processing device for sorting a plurality of objects, method for sorting the same and program
CN110727407A (en) * 2013-06-03 2020-01-24 惠普打印机韩国有限公司 Mobile printing system and method using near field communication
CN110831771A (en) * 2017-06-27 2020-02-21 佳能株式会社 Printing system and apparatus, information processing apparatus, control method thereof, and storage medium
CN111026339A (en) * 2019-11-19 2020-04-17 深圳市中诺通讯有限公司 Method and system for realizing shared printer
CN113312013A (en) * 2021-06-03 2021-08-27 苏州博瑞凯德信息技术有限公司 Printing method, printing system and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1515991A (en) * 2002-12-27 2004-07-28 精工爱普生株式会社 Distributed printing system, method, program, printer and printer management server
US20120038948A1 (en) * 2010-08-13 2012-02-16 Electronics And Telecommunications Research Institute Method and system for printing target files in mobile terminal
CN110727407A (en) * 2013-06-03 2020-01-24 惠普打印机韩国有限公司 Mobile printing system and method using near field communication
JP2017226190A (en) * 2016-06-24 2017-12-28 キヤノン株式会社 Information processing device for sorting a plurality of objects, method for sorting the same and program
CN110831771A (en) * 2017-06-27 2020-02-21 佳能株式会社 Printing system and apparatus, information processing apparatus, control method thereof, and storage medium
CN111026339A (en) * 2019-11-19 2020-04-17 深圳市中诺通讯有限公司 Method and system for realizing shared printer
CN113312013A (en) * 2021-06-03 2021-08-27 苏州博瑞凯德信息技术有限公司 Printing method, printing system and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114756181A (en) * 2022-04-27 2022-07-15 深圳前海百递网络有限公司 Cloud printing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US7953901B2 (en) Distribution apparatus, image processing apparatus, monitoring system, and information processing method
US7266601B2 (en) Method and apparatus for managing network devices
US7908609B2 (en) Information processing apparatus with device driver installation control
EP2365431B1 (en) Printer discovery within a web page
CN102707909B (en) Printing system, control method, information processing apparatus
EP3171581B1 (en) Print device monitoring method and system, and print monitoring server
EP0952513A1 (en) Automatic configuration of a network printer
US9122426B2 (en) Method and arrangement for detecting printers, a corresponding computer program, and a corresponding computer-readable storage medium
JP5600925B2 (en) Server device, print system, program, and recording medium
US8638459B2 (en) Image forming apparatus to support wired and wireless network interfaces and network connection method of the image forming apparatus
US9930216B2 (en) Printing system, computer readable recording medium stored with printing device search program, and computer readable recording medium stored with printing device control program for acquiring and displaying information without requiring client terminal authentication
CN112445433A (en) File printing method, device, equipment and system
CN114328130B (en) Server monitoring method, system, equipment and computer readable storage medium
CN113312013A (en) Printing method, printing system and storage medium
US20090300175A1 (en) Information processing apparatus, control method of information processing apparatus, and storage medium of storing computer program to perform control method
CN113986154A (en) Printer connection and file printing method, system and storage medium
JP4666039B2 (en) Sales data processing apparatus, store printer system, and program
US9565058B2 (en) Method of connecting a device to a network, a device connecting system, and a program
US20060077421A1 (en) System and method for driverless printers
CN113986155A (en) Printer information inquiry and printing method, terminal device and storage medium
CN113986156A (en) File printing method, terminal equipment and storage medium
CN111488178A (en) Method and system for solution integration tagging
CN115454361A (en) Network point remote printing method, device, equipment and storage medium
JP6135215B2 (en) Image forming apparatus, network system, method and program
US8760703B2 (en) Job control system and job control 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