CN111324317B - Local printing face list method, device, equipment and storage medium - Google Patents

Local printing face list method, device, equipment and storage medium Download PDF

Info

Publication number
CN111324317B
CN111324317B CN202010098186.4A CN202010098186A CN111324317B CN 111324317 B CN111324317 B CN 111324317B CN 202010098186 A CN202010098186 A CN 202010098186A CN 111324317 B CN111324317 B CN 111324317B
Authority
CN
China
Prior art keywords
printing
file
template
local
local service
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.)
Active
Application number
CN202010098186.4A
Other languages
Chinese (zh)
Other versions
CN111324317A (en
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.)
Dongpu Software Co Ltd
Original Assignee
Dongpu Software 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 Dongpu Software Co Ltd filed Critical Dongpu Software Co Ltd
Priority to CN202010098186.4A priority Critical patent/CN111324317B/en
Publication of CN111324317A publication Critical patent/CN111324317A/en
Application granted granted Critical
Publication of CN111324317B publication Critical patent/CN111324317B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/1211Improving printing performance
    • 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/1224Client or server resources 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
    • 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/1275Print workflow management, e.g. defining or changing a workflow, cross publishing
    • G06F3/1276Print workflow management, e.g. defining or changing a workflow, cross publishing within a printer driver, e.g. driver resides either on a server or on a client
    • 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/1284Local printer device

Abstract

The invention discloses a local printing face sheet method, a device, equipment and a storage medium. The method comprises the following steps: the method comprises the steps of obtaining print requests with to-be-printed face sheet data and call instructions of a local printing service sent by an external program and/or a terminal, invoking a DES algorithm to decrypt the face sheet data to obtain specific print data, inquiring a corresponding printing template from a local service memory, filling information carried in an order message into a template file stored by the local service to obtain a printing vector file, dispatching a corresponding printer from the local service according to the call instructions, and printing.

Description

Local printing face list method, device, equipment and storage medium
Technical Field
The present invention relates to the field of sheet printing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for locally printing a sheet.
Background
The traditional paper single printing mode is needle printer printing, the used consumables are graphite box and traditional four-way single paper, the printing speed is low, an average speed is 2 seconds, a printing tool for printing is a printing tool for system self-grinding, a printing template is set, a printer driver is called for printing, the printing tool is not flexible enough, traditional printing service is based on browser JS method printing, one printing service control cannot support all browsers, and compatibility is poor.
Disclosure of Invention
The invention mainly aims to solve the technical problems that the compatibility of the traditional printing control is poor, and the printing drive can be called only by relying on a browser kernel.
The first aspect of the present invention provides a local print job ticket method, the local print job ticket method comprising:
acquiring a printing request sent by an external program and/or a terminal, wherein the printing request comprises sheet data to be printed;
decrypting the face data to obtain an order message and a printing template type;
inquiring a corresponding printing template from a local service memory according to the type of the printing template, filling information carried in the order message into the printing template one by one, drawing a printing vector file of a face sheet, and printing the vector file; the printing template is a template file synchronously obtained from the server through a server monitoring interface by the local service.
Optionally, in a first implementation manner of the first aspect of the present invention, before the acquiring the print request sent by the external program and/or the terminal, the method further includes:
the local service is controlled to be started through a timer, and the server monitoring interface is requested to acquire the version number of the template file on the server;
comparing whether the version number is the same as the version number of the template file stored in the local service memory;
if not, the template file on the server is replaced with the template file in the local service memory.
Optionally, in a second implementation manner of the first aspect of the present invention, the replacing the template file on the server side with the template file in the local service memory includes:
downloading a template file corresponding to the latest version number in the server;
converting the template file according to a key-value key_value file stream form to obtain a template file storage table;
and replacing the template file storage table in the local service memory with the template file storage table.
Optionally, in a third implementation manner of the first aspect of the present invention, after replacing the template file in the local service memory with the template file on the server, the method further includes:
Starting a jetty container service of Web services in the local service, and providing an http service for requesting a face single printing operation for an external program and/or a terminal based on the jetty container service;
the obtaining the print request sent by the external program and/or the terminal comprises the following steps:
and acquiring a printing request generated by the external program and/or the terminal according to the surface data to be printed through the http service.
Optionally, in a fourth implementation manner of the first aspect of the present invention, the print request generated by the external program and/or the terminal according to the plane data to be printed is obtained by:
the external program and/or the terminal acquire the face sheet message to be printed, and carry out DES encryption on the face sheet message to obtain a ciphertext message;
selecting a corresponding template identification number, a document type of the face sheet message and printer parameters according to the face sheet message;
and generating a key_value file stream according to the ciphertext message, the template identification number, the document type and the printer parameters according to the key-value key_value file stream form, and embedding the key_value file stream into a request.
Optionally, in a fifth implementation manner of the first aspect of the present invention, if the face sheet data includes at least two face sheet messages, the querying, according to the print template type, a corresponding print template from a local service memory, and writing information carried in the order message into the print template one by one, drawing a print vector file of the face sheet, and printing the vector file includes:
Respectively filling information carried in the at least two face sheet messages into the printing template to obtain at least two face sheet file streams;
the at least two face sheet file streams are sequentially connected in series by adopting splicing characters to obtain a character string file stream;
drawing the character string file streams into PDF face sheets one by one through a PDF conversion tool;
and calling a preset calling instruction of the local printing service, dispatching a corresponding printer from a printer driving list in the local service, and printing the printing vector file.
Optionally, in a sixth implementation manner of the first aspect of the present invention, according to the call instruction, scheduling a corresponding printer from the printer driver list in the local service, and printing the print vector file includes:
analyzing printer parameters in the calling instruction;
according to the printer parameters, calling a printer () function of a function ACTIONSCRIPT of the local service through a JS script in the Web service, and inquiring a corresponding printer name from the printer driving list;
and sending the print vector file to a printer corresponding to the printer name for printing.
A second aspect of the present invention provides a local print job ticket apparatus, the local print job ticket apparatus comprising:
the system comprises an acquisition module, a printing module and a printing module, wherein the acquisition module is used for acquiring a printing request sent by an external program and/or a terminal, and the printing request comprises face sheet data to be printed;
the decryption module is used for decrypting the face data to obtain order messages and printing template types;
the file printing module is used for inquiring the corresponding printing templates from the local service memory according to the types of the printing templates, filling information carried in the order message into the printing templates one by one, drawing a print vector file of the face sheet, and printing the vector file; the printing template is a template file synchronously obtained from the server through a server monitoring interface by the local service.
Optionally, in a first implementation manner of the second aspect of the present invention, the local print job ticket apparatus further includes an update module, which is specifically configured to:
the local service is controlled to be started through a timer, and the server monitoring interface is requested to acquire the version number of the template file on the server;
comparing whether the version number is the same as the version number of the template file stored in the local service memory;
If not, the template file on the server is replaced with the template file in the local service memory.
Optionally, in a second implementation manner of the second aspect of the present invention, the update module is specifically configured to:
downloading a template file corresponding to the latest version number in the server;
converting the template file according to a key-value key_value file stream form to obtain a template file storage table;
and replacing the template file storage table in the local service memory with the template file storage table.
Optionally, in a fifth implementation manner of the third aspect of the present invention, the local print job ticket apparatus further includes an http service module, which is specifically configured to: starting a jetty container service of Web services in the local service, and providing an http service for requesting a face single printing operation for an external program and/or a terminal based on the jetty container service;
the acquisition module is used for acquiring a printing request generated by the external program and/or the terminal according to the surface data to be printed through the http service.
Optionally, in a fourth implementation manner of the second aspect of the present invention, the local print job ticket apparatus further includes a job ticket data generating module, which is specifically configured to:
Controlling the external program and/or the terminal to collect the face sheet message to be printed, and performing DES encryption on the face sheet message to obtain a ciphertext message;
selecting a corresponding template identification number, a document type of the face sheet message and printer parameters according to the face sheet message;
and generating a key_value file stream according to the ciphertext message, the template identification number, the document type and the printer parameters according to the key-value key_value file stream form, and embedding the key_value file stream into a request.
Optionally, in a fifth implementation manner of the second aspect of the present invention, the file printing module includes a data filling unit, a stitching unit, a drawing unit, and a printing unit, which is specifically configured to:
the data filling unit is used for respectively filling information carried in the at least two face sheet messages into the printing template to obtain at least two face sheet file streams;
the splicing unit is used for sequentially concatenating the at least two face sheet file streams by adopting splicing characters to obtain a character string file stream;
the drawing unit is used for drawing the character string file streams into PDF face sheets one by one through a PDF conversion tool;
the printing unit is used for calling a preset calling instruction of the local printing service, dispatching a corresponding printer from a printer driving list in the local service, and printing the printing vector file.
Optionally, in a sixth implementation manner of the second aspect of the present invention, the printing unit is specifically configured to:
analyzing printer parameters in the calling instruction;
according to the printer parameters, calling a printer () function of a function ACTIONSCRIPT of the local service through a JS script in the Web service, and inquiring a corresponding printer name from the printer driving list;
and sending the print vector file to a printer corresponding to the printer name for printing.
A third aspect of the present invention provides a local printing order device comprising: a memory and at least one processor, the memory having instructions stored therein, the memory and the at least one processor being interconnected by a line; the at least one processor invokes the instructions in the memory to cause the local print job ticket device to perform the local print job ticket method described above.
A fourth aspect of the invention provides a computer readable storage medium having instructions stored therein which, when run on a computer, cause the computer to perform the local print job ticket method described above.
According to the technical scheme provided by the invention, a printing request with the face sheet data to be printed and a calling instruction for calling a local printing service, which is sent by an external program and/or a terminal, is obtained, a DES algorithm is called to decrypt the face sheet data to obtain an order message and a printing template type, a corresponding printing template is inquired from a local service memory according to the printing template type, information carried in the order message is filled into a template file synchronously obtained from a server through a server monitoring interface one by the local service, and the printing vector file of the face sheet is drawn and printed; through the implementation, the online synchronization and the local storage of the template files are realized, the generation of the face sheets is directly carried out in the local service during printing, and the calling of the printing drive is carried out locally, so that the problem of poor compatibility of the traditional printing control is solved without depending on a browser or an external component, meanwhile, the setting of the template files is convenient to manage and maintain, the full-load work can be realized by calling of a local printer, and the printing efficiency and the use experience are improved.
Drawings
FIG. 1 is a schematic diagram of a first embodiment of a method for locally printing a sheet in an embodiment of the present invention;
FIG. 2 is a schematic diagram of a second embodiment of a method for locally printing a sheet in accordance with an embodiment of the present invention;
FIG. 3 is a schematic diagram of a specific flow for a local service to obtain a print driver and a template file according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a specific flow of sheet printing according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a third embodiment of a method for locally printing a sheet in accordance with an embodiment of the present invention;
FIG. 6 is a schematic diagram of a first embodiment of a local printing sheet device according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a second embodiment of a local printing sheet device according to an embodiment of the present invention;
fig. 8 is a schematic structural view of an embodiment of the local printing face sheet device of the present invention.
Detailed Description
The embodiment of the invention provides a local printing face list method, a device, equipment and a storage medium, wherein the local printing face list method can download a template file configured by a server to the local by providing a practical local printing program, and when an external program sends printing data to a local service, the local service generates the printing file by using the received data, and then outputs the printing file to a printer driver to realize printing. The embodiment can realize the online configuration of the template, is convenient for management and maintenance, can call the printing drive in batches, realizes the full-load work of the printer, solves the problem of poor compatibility of the traditional printing control, and directly calls the windows local printing drive by the local service without depending on the browser kernel.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus.
For ease of understanding, a specific flow of an embodiment of the present invention is described below with reference to fig. 1, where an embodiment of a local print job ticket method in an embodiment of the present invention includes:
101. and acquiring a print request sent by an external program and/or a terminal.
It may be understood that the execution body of the method embodiment of the present invention may be a local print menu device, or may be a terminal, or a server, or a part of a functional body in an operating system on the terminal, which is not limited herein. The embodiment of the invention specifically takes a part of functional main bodies in an operating system on a terminal as an execution main body for illustration.
In this embodiment, the print request includes the face order data to be printed and the call instruction for calling the local print service, where the face order data may be understood as sender information, recipient information, merchandise information, and the like in the order. The calling instruction is mainly used for calling the printer in the local service, and can be set in the printing request or not, if the calling instruction is not set in the printing request, after the local service receives the request, the printer can be selected to print the face sheet according to the default printer setting in the local service.
In this embodiment, the print request may be read directly by the local service from an external program or a terminal temporarily connected to the local service, or may be actively sent and received by the external program or the terminal temporarily connected to the local service.
In practical application, before the step, the method further comprises the steps of starting the local service to verify the version of the printer driver in real time, and verifying the version of the template file on the server, wherein when the update is verified, the template file of the download face list from the server needs to be repeatedly executed and stored in the memory of the local service, and meanwhile, the printer driver list on the local service, namely the printer list, needs to be updated and acquired. In practical application, the real-time verification of the version of the printer driver specifically includes two verification processes, namely, the driver version of the printer and the local service software version, and if one of the two versions is inconsistent, the version is determined to be updated, and the corresponding file is downloaded from the server to update the local service.
Further, based on the updated printing information, jetty container service of the web service is started to provide http service, then an external program and/or a printing request generated in the terminal is received based on the http service, and the printing request is analyzed to obtain a call instruction of the face data and/or the printer, wherein the call instruction comprises parameters of the printer with call.
102. And decrypting the face data to obtain an order message and a printing template type.
In this embodiment, the decryption may specifically use a DES algorithm to decrypt, where the DES algorithm is provided by the server, specifically, the local service negotiates with the server by using a handshake protocol, after the local service receives print plane data sent by the external program after negotiating, the local service decrypts the received print plane data according to the negotiated encryption and decryption algorithm to obtain an order message, and in practical application, the decrypted order message is plaintext message data of the plane data, where if there is multi-level decryption, the message decrypted by the DES algorithm may be plaintext data, or may be ciphertext data, and specifically needs to be a decryption algorithm according to which level the DES algorithm set by the user in the use process belongs to.
In practical application, the encryption and decryption keys defined by the DES algorithm are vector keys, and data are decrypted based on the vector keys to obtain specific data of the face sheet; further, the plaintext message is made into a data table.
In this embodiment, the print template type may be specifically replaced by a template identifier, in practical application, after downloading a plurality of template files from a server (different express companies have different express templates and each express company has different versions of express templates), the local service stores the template files in the memory, and further includes a unique identifier of the downloaded template files, a correspondence table is formed based on the identifier and the version number of the template files, where in practical application, the identifier may be generated by a generation rule on the server, and if such a situation is the only rule, the identifier is determined without negotiation between the server and the local service, and of course, the identifier may also be required to be returned to the server for recording and synchronizing with other local services if such a situation is required. When in use, the external program selects different template files according to different orders to output corresponding order information, the order information is that the corresponding template files are called through the template identifiers, then data in the plaintext message are filled in the template files, and PDF files are obtained through subsequent drawing processing.
103. And inquiring a corresponding printing template from a local service memory according to the type of the printing template, filling information carried in the order message into the printing template one by one, drawing a printing vector file of the face sheet, and printing the vector file.
In this embodiment, the print template is a template file obtained by the local service from a server through a server monitoring interface; when the print vector file is filled in, the corresponding data value is extracted from the order message, and the data value is filled in the corresponding position in the template file. For example, the order message is a data storage list, items and item values are marked in the list, and in the filling process, the method also comprises adaptively modifying the template file according to the items in the list, extracting the item values in the list based on the modified template file, and adding the item values into the template file to form the printing vector file.
In practical applications, the print vector file may be understood as a PDF file that is not distorted in an enlarged or reduced environment. Specifically, after the data is decrypted, data in JSON format, KEY-VALUE format, and content required by the print face list, such as name of sender, telephone address, three-section code, single number, user-defined data, etc., are formed in the data. And then, the XML template definition content is taken out from the memory, each parameter in the JSON is filled on the template to generate a PDF file, and finally, the PDF file is sent to the printer. The PDF file has the advantages that the vector file is generated, the printed file is not distorted and is not influenced by resolution.
In this embodiment, when the vector file is printed, the printer may be called to print according to the information carried in the print request, if the print request includes the printer parameter, the printer is printed according to the instruction, and if the print request does not include the printer parameter, the printer is printed by default. And if the printing instruction exists, scheduling a corresponding printer from the printer driver list in the local service according to the printing instruction, and printing the printing vector file.
In this embodiment, the call instruction may be understood as a specific parameter of the called printer, such as a label, etc., and this step may be specifically implemented by the following manner:
analyzing printer parameters in the calling instruction;
according to the printer parameters, calling a printer () function of a function ACTIONSCRIPT of the local service through a JS script in the Web service, and inquiring a corresponding printer name from the printer driving list;
and sending the print vector file to a printer corresponding to the printer name for printing.
In practical application, when the printer is called to print the face sheet, the driving call of the printer and the output call of the print face sheet data can be realized in the following modes: by means of js printing method, specifically using iframe labels, the src=url value=spliced order message & tname=template & docname=printing mode is defined, and printing can be achieved.
For example, an order calls the local service print process as:
the calling party writes a calling code, transmits a template, prints the mode and orders the message;
the local service receives the value parameter, and obtains an order plaintext message after decryption;
and calling the XML template file, generating a PDF file stream, and sending the file stream to a printer for printing.
In the technical scheme provided by the embodiment of the invention, the template file configured by the server can be downloaded to the local by providing the practical local printing program, when the external program sends the printing data to the local service, the local service generates the printing file by the data received by the local service, and then outputs the printing file to the printer driver to realize printing; the method and the device realize online configuration and local storage of the template file, directly generate the face sheets in local service and call the printing drive locally, and solve the problems of poor compatibility of the traditional printing control without depending on a browser or an external component, and can realize full-load work when the local printer is called, thereby improving the printing efficiency and the use experience.
Referring to fig. 2, in another embodiment of the method for locally printing a menu in an embodiment of the present invention, the method provided in the present application is further described below by taking an external program to access a local printing service as an example, and the method mainly includes two major processes:
201. Starting a local service, monitoring a template file on a server side in real time, and updating a local printer driving list and the template file;
in this embodiment, when the local service runs, the server interface will be first requested to acquire the latest version number to determine whether updating is needed, and optionally, the version number is understood to include the version number of the driver of the printer in the local service and the version number of the template file of the generated surface simplex print file. In practical application, in the verification process, if the drive version numbers of the printers are consistent, the quick verification can be performed by verifying the version numbers of the template files in set timing update time, so that the data processing amount of local services can be properly reduced, if the acquisition of the version numbers of the template files fails, the follow-up steps are stopped, and the operation of monitoring the template files of the server side is continuously performed. And downloading the template after the version number is successfully obtained, and obtaining the local printing drive list after the template is successfully downloaded. The method for obtaining the printer list is to obtain the printer name by JS calling the printer () function of the function ACTIONSCRIPT of the local service.
In practical application, after the version number is obtained, the print service program of the local service loads the downloaded template file into the internal memory of the local service, loads the downloaded template file into the internal memory for storage in a key_value file stream form, and then starts the jetty container service of the web service in the local service to provide http service so as to facilitate the external program and/or the terminal to print request access.
202. Based on the printer driving list updated locally and the printing service provided by the template file, the local menu generation is carried out on the menu printing request sent by the external program, and the menu is output to the printer for printing.
In this embodiment, for a received sheet print request, specifically, ciphertext data processed by an external program, when the external program accesses a local print service, specifically, the external program realizes the processing of specific contents of the sheet by the following procedure:
step 1, an external program encrypts an order message DES as a value parameter.
And 2, the external program sends a request to the http service, and the parameters such as an upper template, a message, a printing mode and the like are carried.
In the step, when a request is sent to an http service, specifically, a request containing data content, a template identification number, a document type, custom area data and printer parameters is initiated to a jetty container;
wherein, the document type generally uses PDF data, and selects mailpdfm1 (Chinese interpretation); the printer parameters then obtain the selected or conventionally used parameters based on the user ID.
And 3, after receiving the parameters, the local service performs DES decryption on the value, finds a specific template by using the template parameters, draws a PDF file, and sends the PDF file to a printer for printing.
In this embodiment, the print function requested by the external program sends the parameters to the local service through the http interface, and the local service decrypts the data first, where optionally, the data encryption and decryption method is a DES algorithm, and the encryption and decryption key is a vector key, specifically provided by the server, and the local service solidifies the encryption and decryption algorithm and the key in the program when packaging the EXE program of the local print service, so that the encryption and decryption algorithm and the key cannot be changed.
After receiving ciphertext data sent by an external program, the local service decrypts the ciphertext data through a corresponding algorithm and a KEY to form JSON format data, wherein the data is specifically formed in a KEY-VALUE format, and content required by a printing face sheet, such as a sender name, a telephone address, a three-section code, a single number, user-defined data and the like, is defined in the data. And then, the XML template definition content is taken out from the memory, each parameter in the JSON is filled on the template to generate a PDF file, and finally, the PDF file is sent to the printer. The PDF file has the advantages that the vector file is generated, the printed file is not distorted and is not influenced by resolution.
When the face sheet PDF file is output to a printer for printing, the print can be realized by specifically controlling the print by using an iframe label and generating a label definition src=url value=spliced order message & tname=template & docname=printing mode.
For example, when an order calls a local service printing process, a calling party writes a calling code, a transfer template, a printing mode and an order message; the local service receives the value parameter, and obtains an order plaintext message after decryption; and calling the XML template file, generating a PDF file stream, and sending the file stream to a printer for printing.
Referring to fig. 3, a specific flow of obtaining a print driver and a template file by a local service in an embodiment of the present invention includes the following steps:
301. monitoring the version number of the local printer driver and the version number of the template file;
302. judging whether the version number needs to be updated or not;
in this embodiment, the obtaining of the version number specifically includes two version numbers, one of the server side and the driving database is in a memory of the local service, and by monitoring the version numbers in the obtaining server side and in the memory of the local service, specifically, first, the monitoring of the version numbers on the server side is performed, if the version numbers are obtained from the server side, the corresponding version numbers are obtained in the local service memory in a jump manner, finally, the two version numbers are compared, if the two version numbers are consistent, no processing is performed, step 301 is continuously performed, and if the two version numbers are inconsistent, step 303 is performed.
303. If yes, downloading the printing template from the server;
304. acquiring a printer driver list from a local service;
305. recording all templates into a memory, and storing the templates in a KEY-VALUE format;
306. and starting a Web service jetty of the local service, and monitoring an external printing request.
In this embodiment, the main purpose of the Web service jetty is to provide an http service interface for an external program, for example, access a website, and when the external program accesses based on the http service, specifically, by initiating a request including a data content, a template identification number, a document type, a client custom area data, and a printer parameter to the jetty container;
wherein, the document type generally uses PDF data, and the mailpdfm1 is selected; the printer parameters then obtain the selected or conventionally used parameters based on the user ID.
In practical application, when a request is sent to the jetty container, the request is optionally sent in the form of a request service URL, for example, the request is http:// ip: port/ydecx/service/mailpx/printdirect.pdf, and information such as data of a face sheet and a face sheet template is defined in the URL, and the form setting is specifically shown in the following table 1.
In this embodiment, the processing procedure may be to request a print service for a single sheet, or may be to request a print service for a batch of sheets, and when the print service is batch, the sheets need to be spliced and serially processed to form a string for transmission, and specifically, each piece of data may be spliced by "@" to form a new string.
TABLE 1
For example, when 2 sheets are processed in batch, 2 order messages are spliced by @, and the messages are encoded by using the base64_encode, as shown in the following table 2:
TABLE 2
In this embodiment, when a request of an external program for performing a face sheet printing on a local service is monitored, the local service obtains data in the request, decrypts and generates a face sheet file, and sends the face sheet file to a printer for printing, as shown in fig. 4, the print processing flow of the face sheet includes the following steps:
401. receiving a print request sent by the external program;
402. calling a local service, and analyzing the printing request to obtain a face sheet ciphertext message;
in this step, the process of parsing the print request further includes a call instruction of the parsing printer, where the call instruction may or may not be in the print request, and a specific request for the sheet may be set in the request, and a specific setting may define a field in the manner in table 1 above.
403. Decrypting the face bill ciphertext message according to a decryption key set in the printing service to obtain an order message and a template identifier;
404. acquiring a corresponding template from a memory of the local service according to the template identifier;
In practical application, when a consistent template file cannot be found from the memory according to the template identifier, the similar template file in the memory can be selected for modification definition by requesting specific setting information of the template of the face sheet by an external program, and the definition principle is described by taking an XML template file as an example, optionally, a definition table is set for definition, and the word size, the key, the content typesetting and the like of the template file in the table are specifically shown in the following table 3:
TABLE 3 Table 3
405. Filling the order message into a template to generate a PDF file stream;
in this embodiment, after decrypting the requested data DES, filling the data using a format defined by an XML template, and generating a PDF file, where, when filling the data, specifically, the content name is displayed according to the name of each region defined by an XML template file, the style defines the style of display, such as font size, color, thickening, and the like, and the field value is matched and filled using key-value.
The following is described by listing specific local service URLs:
URL=http://127.0.0.1:9090/ydecx/service/mailpx/printDirect.pdftname=xxx&value=xxxx&docname=xxx
extracting sender information in the URL, and filling according to the definition of the < block > tag in the template, wherein the filling definition tag codes are as follows: < block style= "fjr _style" top= "474" left= "3" width= "177" height= "36.85" text= "{ TM2 send_x }" alignment= "left"/>, this tag code defines that the SENDER needs to draw starting from the position of coordinate [474,3], width 177, height 36.85, font: song Ti the style uses fjr _style and the filled data uses the TM2SENDER_X dataset. Wherein fjr _style is defined as: < style name= "fjr _style" style= "normal" size= "8" family= "Song Ti"/>.
Further, the data of the recipient is defined by filling, specifically, the data set TM2sender_x in the template, and the tag represents the SENDER data set, including name, phone, company, and address information, specifically defined as shown in the following table 4.
Further, when an xml file < line > tag is encountered, a line needs to be drawn in the PDF.
Generating PDF is binary file stream, and calling the file stream to a printer driver to print PDF files.
TABLE 4 Table 4
406. And sending the PDF file stream to a printer for printing.
In this embodiment, after decrypting the requested data DES, filling the data using a format defined by an XML template to generate a PDF file, where, when filling the data, the content name is displayed according to the name of each region defined in the XML template file, the style defines the style of display, such as font size, color, thickening, etc., the field values are matched and filled using key-value to generate the PDF file, and finally the PDF file is sent to the printer. The advantage of using a PDF file in this embodiment is that a vector file is generated, and the printed file is not distorted and is not affected by resolution.
The printer name is acquired for the printer that is calling locally, specifically by calling the printer () function of the function ACTIONSCRIPT of the local service via JS.
Furthermore, the method can be called by using an iframe label mode, and the method can be used for specifically defining the src=urlvalue=spliced order message & tname=template & docname=printing mode, so that printing can be realized.
Through implementation of the embodiment, the printing request with the to-be-printed face sheet data and the calling instruction for calling the local printing service, which are sent by the external program and/or the terminal, is acquired, the DES algorithm is called to decrypt the face sheet data to obtain specific printing data, the corresponding printing template is queried from the local service memory, the information carried in the order message is filled into the template file stored by the local service to obtain the printing vector file, the corresponding printer is scheduled from the local service according to the calling instruction and is printed, on-line configuration and local storage of the template file are realized, generation of the face sheet is directly carried out in the local service, and calling of the printing drive is carried out locally, and therefore poor compatibility of the traditional printing control is solved, full-load work can be realized by calling of the local printer, and printing efficiency and use experience are improved.
Further, the Jetty container is used for providing services through the local services, the interface supports the POST and GET modes, the service provision of local printing is provided based on the Jetty, the performance of the system can be kept in an acceptable state even if a large number of service requests exist, and Jetty is configured through XML or API; the default configuration can meet most of the requirements; very little code is required to embed Jetty into an application.
Referring to fig. 5, in another embodiment of the method for locally printing a sheet according to the embodiment of the present invention, the method specifically includes the following steps:
501. receiving external incoming parameters;
in this embodiment, a print request is received, which is externally accessed based on the HTTP service provided locally, and includes the data content of the face sheet, the template identification number, the document type, the client custom area data, and the printer parameters.
Further, before this step, the method further includes: the local service is controlled to be started through a timer, and the server monitoring interface is requested to acquire the version number of the template file on the server;
comparing whether the version number is the same as the version number of the template file stored in the local service memory;
and if the template files are different, downloading the template files on the server side, and replacing the template files in the local service memory.
In practical application, when downloading the template file on the server side and replacing the template file in the local service memory, the method specifically comprises the following steps:
downloading a template file corresponding to the latest version number in the server;
converting the template file according to a key-value key_value file stream form to obtain a template file storage table;
And replacing the template file storage table in the local service memory with the template file storage table.
502. Finding a template file defined in a memory according to the tname;
in this embodiment, after downloading the template file from the server, the local service further allocates a unique identifier to the downloaded template file, establishes a correspondence based on the identifier and the version number of the template file, and forms a correspondence table, and after storing, the local service feeds back the correspondence to the server; when in use, the external program selects different template files according to different orders to output corresponding order information, wherein the order information calls the corresponding template files through the template identifiers, and then the data in the plaintext message is filled in the template files to obtain PDF files.
503. Filling according to the template key by using the parameter value in the parameters;
in the step, the surface data is decrypted by calling a DES algorithm to obtain an order message and a printing template type; the DES algorithm is provided by the server and also comprises an encryption and decryption KEY, wherein the KEY is a vector KEY, and received parameters are decrypted through the KEY to obtain plain text data of the face sheet, and data in a JSON format, KEY-VALUE format and content required by the face sheet to be printed, such as a name of a sender, a telephone address, a three-section code, a single number, user-defined data and the like, are defined in the data. And then the XML template definition content is taken out from the memory, and each parameter in the JSON is filled into the template.
504. And forming a PDF file stream, and outputting the PDF file stream to a printer for printing.
In this embodiment, if the face sheet data includes at least two face sheet messages, the process of forming a PDF file stream includes: respectively filling information carried in the at least two face sheet messages into the printing template to obtain at least two face sheet file streams;
the at least two face sheet file streams are sequentially connected in series by adopting splicing characters to obtain a character string file stream;
and drawing the character string file streams into PDF face sheets one by one through a PDF conversion tool, then calling a preset calling instruction of the local printing service, dispatching a corresponding printer from a printer driving list in the local service, and printing the printing vector file.
Further, in printing, the specific implementation may be that the corresponding printer is scheduled from the printer driver list in the local service to print the PDF file stream through the call instruction in the request sent by the external program: analyzing printer parameters in the calling instruction; according to the printer parameters, calling a printer () function of a function ACTIONSCRIPT of the local service through a JS script in the Web service, and inquiring a corresponding printer name from the printer driving list; and sending the print vector file to a printer corresponding to the printer name for printing.
Through implementation of the embodiment, the template file configured by the server is downloaded to the local, when an external program sends the printing data to the local service, the local service generates the printing file by using the received data, and then outputs the printing file to a printer driver to realize printing; in the whole single-sided printing process, the method is realized on the local, the template is downloaded locally, the printing file is generated locally, the local printer is called to print, the aim of directly calling the windows local printing driver without depending on the browser kernel is achieved, the problem of poor compatibility of the traditional printing control is solved, meanwhile, the full-load work can be realized by calling the local printer, and the printing efficiency and the use experience are improved.
The local printing face unilateral method in the embodiment of the present invention is described above, and the local printing face unilateral device in the embodiment of the present invention is described below, referring to fig. 6, one embodiment of the local printing face unilateral device in the embodiment of the present invention includes:
the acquisition module 61 is configured to acquire a print request sent by an external program and/or a terminal, where the print request includes to-be-printed sheet data and a call instruction for calling a local print service;
The decryption module 62 is configured to invoke a DES algorithm to decrypt the surface data to obtain an order message and a print template type;
the file printing module 63 is configured to query a corresponding printing template from a local service memory according to the printing template type, fill information carried in the order message into the printing templates one by one, draw a print vector file of a face sheet, and print the vector file; the printing template is a template file synchronously obtained from the server through a server monitoring interface by the local service.
In the technical scheme provided by the embodiment of the invention, the template file configured by the server is downloaded to the local, when an external program sends the printing data to the local service, the local service generates the printing file by using the received data, and then the printing file is output to the printer driver to realize printing. The printing service is characterized in that: 1) The template is configured on line, so that the management and maintenance are convenient; 2) And calling the printing drivers in batches to realize the full-load work of the printer. 3) The problem of poor compatibility of the traditional printing control is solved, the local service does not depend on the browser kernel to call the printing drive, and the windows local printing drive is directly called.
Referring to fig. 7, an embodiment of a local print job ticket apparatus according to the present invention includes:
the acquisition module 61 is configured to acquire a print request sent by an external program and/or a terminal, where the print request includes to-be-printed sheet data and a call instruction for calling a local print service;
the decryption module 62 is configured to invoke a DES algorithm to decrypt the surface data to obtain an order message and a print template type;
the file printing module 63 is configured to query a corresponding printing template from a local service memory according to the printing template type, fill information carried in the order message into the printing templates one by one, draw a print vector file of a face sheet, and print the vector file; the printing template is a template file synchronously obtained from a server through a server monitoring interface by the local service;
and a printing module 64, configured to schedule a corresponding printer from the printer driver list in the local service according to the call instruction, and print the print vector file.
Optionally, the print file generating module 63 includes a data filling unit 631, a stitching unit 632, a drawing unit 633, and a printing unit 634, which are specifically configured to:
The data filling unit 631 is configured to fill information carried in the at least two face sheet packets into the print templates respectively, so as to obtain at least two face sheet file streams;
the splicing unit 632 is configured to sequentially concatenate the at least two face sheet file streams with a splicing character to obtain a string file stream;
the drawing unit 633 is configured to draw the string file streams one by one into a PDF sheet by using a PDF conversion tool;
the printing unit 634 is configured to invoke a preset invocation instruction of the local print service, schedule a corresponding printer from a printer driver list in the local service, and print the print vector file.
Optionally, the printing unit 634 is specifically configured to:
analyzing printer parameters in the calling instruction;
according to the printer parameters, calling a printer () function of a function ACTIONSCRIPT of the local service through a JS script in the Web service, and inquiring a corresponding printer name from the printer driving list;
and sending the print vector file to a printer corresponding to the printer name for printing.
Optionally, the local print ticket apparatus further includes an update module 64, specifically configured to:
The local service is controlled to be started through a timer, and the server monitoring interface is requested to acquire the version number of the template file on the server;
comparing whether the version number is the same as the version number of the template file stored in the local service memory;
and if the template files are different, downloading the template files on the server side, and replacing the template files in the local service memory.
Optionally, the updating module 64 is specifically configured to:
downloading a template file corresponding to the latest version number in the server;
converting the template file according to a key-value key_value file stream form to obtain a template file storage table;
and replacing the template file storage table in the local service memory with the template file storage table.
Optionally, the local print ticket apparatus further includes an http service module 65, which is specifically configured to: starting a jetty container service of Web services in the local service, and providing an http service for requesting a face single printing operation for an external program and/or a terminal based on the jetty container service;
the acquisition module is used for acquiring a printing request generated by the external program and/or the terminal according to the surface data to be printed through the http service.
Optionally, the local print job ticket apparatus further includes a job ticket data generation module 67, specifically configured to:
controlling the external program and/or the terminal to collect the face sheet message to be printed, and performing DES encryption on the face sheet message to obtain a ciphertext message;
selecting a corresponding template identification number, a document type of the face sheet message and printer parameters according to the face sheet message;
and generating a key_value file stream according to the ciphertext message, the template identification number, the document type and the printer parameters according to the key-value key_value file stream form, and embedding the key_value file stream into a request.
The content is described based on the same embodiment as the local printing surface unilateral method of the present invention, so the embodiment will not be described in detail.
Fig. 6 to 7 above describe the local printing face sheet apparatus in the embodiment of the present invention in detail from the point of view of the modularized functional entity, and the local printing face sheet device in the embodiment of the present invention is described in detail from the point of view of hardware processing.
Fig. 8 is a schematic diagram illustrating the structure of an embodiment of a local print job ticket apparatus 1000 according to the present invention, which may vary considerably in configuration or performance, and may include one or more processors (central processing units, CPU) 1010 (e.g., one or more processors) and memory 1020, one or more storage mediums 1030 (e.g., one or more mass storage devices) storing application programs 1033 or data 1032. Wherein the memory 1020 and storage medium 1030 may be transitory or persistent. The program stored on storage medium 1030 may include one or more modules (not shown), each of which may include a series of instruction operations for XXX device 1000. Still further, the processor 1010 may be configured to communicate with a storage medium 1030 to execute a series of instruction operations in the storage medium 1030 on the local print job ticket apparatus 1000.
The local print-based menu device 1000 can also include one or more power supplies 1040, one or more wired or wireless network interfaces 1050, one or more input/output interfaces 1060, and/or one or more operating systems 1031, such as Windows Serve, mac OS X, unix, linux, freeBSD, and the like. It will be appreciated by those skilled in the art that the local print job ticket apparatus architecture shown in fig. 8 is not limiting and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
In this embodiment, the local print surface list device may also be a mobile terminal and a local service device, where the local service device may be a desktop computer or a current printer device, and of course, the local service device is an existing device added with a local print service function set by the local print surface list method provided by the foregoing embodiment, the local service device obtains a template file from a service end and updates a list formed by a driver of the local printer by executing a program code of the foregoing embodiment, then starts a web service to monitor a print access of the mobile terminal, where before accessing a print function of the local service, the mobile terminal needs to encrypt the surface list to be printed to form a request of a key_value file stream, accesses a jetty container based on the request, provides a data content including the surface list, a template identification number, a document type, user-defined area data, a printer parameter and the like to the local service device, decrypts the received request according to the request, calls local service to form a local file, and finally fills the local file into a corresponding memory file.
The present invention also provides a computer readable storage medium, which may be a non-volatile computer readable storage medium, or a volatile computer readable storage medium, having stored therein instructions that, when executed on a computer, cause the computer to perform the steps of the local print job method.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. A local print job ticket method, the local print job ticket method comprising:
acquiring a printing request sent by an external program and/or a terminal, wherein the printing request comprises sheet data to be printed; before the print request sent by the external program and/or the terminal is acquired, the method further comprises the steps of starting a local service to verify the version of the printer driver in real time, wherein the verification of the version of the printer driver in real time specifically comprises two verification processes, namely the driving version of the printer and the version of the local service software, if one of the two is inconsistent, the local service software is determined to be updated, and the corresponding file is downloaded from a server to update the local service;
Decrypting the face data to obtain an order message and a printing template type;
inquiring a corresponding printing template from a local service memory according to the type of the printing template, filling information carried in the order message into the printing template one by one, drawing a printing vector file of a face sheet, and printing the vector file; the printing template is a template file synchronously obtained from a server through a server monitoring interface by the local service; if the form data includes at least two form messages, the method queries a corresponding print template from a local service memory according to the print template type, and fills information carried in the order messages into the print template one by one, draws a print vector file of the form, and prints the vector file, wherein the method includes:
respectively filling information carried in the at least two face sheet messages into the printing template to obtain at least two face sheet file streams;
the at least two face sheet file streams are sequentially connected in series by adopting splicing characters to obtain a character string file stream;
drawing the character string file streams into PDF face sheets one by one through a PDF conversion tool;
Calling a preset calling instruction of the local service, scheduling a corresponding printer from a printer driver list in the local service, and printing the printing vector file; the scheduling a corresponding printer from the printer driver list in the local service, and printing the print vector file includes: the method is called by using an iframe label mode, and specifically defines the src=urlvalue=spliced order message & tname=template & docname=printing mode to realize printing.
2. The local printing order method according to claim 1, further comprising, before the acquiring the print request sent by the external program and/or the terminal:
the local service is controlled to be started through a timer, and the server monitoring interface is requested to acquire the version number of the template file on the server;
comparing whether the version number is the same as the version number of the template file stored in the local service memory;
if not, the template file on the server is replaced with the template file in the local service memory.
3. The method of claim 2, wherein replacing the template file in the local service memory with the template file on the server comprises:
Downloading a template file corresponding to the latest version number in the server;
converting the template file according to a key-value key_value file stream form to obtain a template file storage table;
and replacing the template file storage table in the local service memory with the template file storage table.
4. The local print job ticket method according to claim 3, wherein after replacing the template file in the local service memory with the template file on the server, further comprising:
starting a jetty container service of Web services in the local service, and providing an http service for requesting a face single printing operation for an external program and/or a terminal based on the jetty container service;
the obtaining the print request sent by the external program and/or the terminal comprises the following steps:
and acquiring a printing request generated by the external program and/or the terminal according to the surface data to be printed through the http service.
5. The local printing face sheet method according to claim 4, wherein the external program and/or terminal generates a print request according to the face sheet data to be printed by:
the external program and/or the terminal acquire the face sheet message to be printed, and carry out DES encryption on the face sheet message to obtain a ciphertext message;
Selecting a corresponding template identification number, a document type of the face sheet message and printer parameters according to the face sheet message;
and generating a key_value file stream according to the ciphertext message, the template identification number, the document type and the printer parameters according to the key-value key_value file stream form, and embedding the key_value file stream into a request.
6. The local print job ticket method according to claim 5, wherein the invoking the preset invoking instruction of the local service, dispatching the corresponding printer from the printer driver list in the local service, and printing the print vector file comprises:
analyzing printer parameters in the calling instruction;
according to the printer parameters, calling a printer () function of a function ACTIONSCRIPT of the local service through a JS script in the Web service, and inquiring a corresponding printer name from the printer driving list;
and sending the print vector file to a printer corresponding to the printer name for printing.
7. A local print ticket apparatus, the local print ticket apparatus comprising:
the system comprises an acquisition module, a printing module and a printing module, wherein the acquisition module is used for acquiring a printing request sent by an external program and/or a terminal, and the printing request comprises face sheet data to be printed; before the print request sent by the external program and/or the terminal is acquired, the method further comprises the steps of starting a local service to verify the version of the printer driver in real time, wherein the verification of the version of the printer driver in real time specifically comprises two verification processes, namely the driving version of the printer and the version of the local service software, if one of the two is inconsistent, the local service software is determined to be updated, and the corresponding file is downloaded from a server to update the local service;
The decryption module is used for decrypting the face data to obtain order messages and printing template types;
the file printing module is used for inquiring the corresponding printing templates from the local service memory according to the types of the printing templates, filling information carried in the order message into the printing templates one by one, drawing a print vector file of the face sheet, and printing the vector file; the printing template is a template file synchronously obtained from a server through a server monitoring interface by the local service; if the form data includes at least two form messages, the method queries a corresponding print template from a local service memory according to the print template type, and fills information carried in the order messages into the print template one by one, draws a print vector file of the form, and prints the vector file, wherein the method includes:
respectively filling information carried in the at least two face sheet messages into the printing template to obtain at least two face sheet file streams;
the at least two face sheet file streams are sequentially connected in series by adopting splicing characters to obtain a character string file stream;
drawing the character string file streams into PDF face sheets one by one through a PDF conversion tool;
Calling a preset calling instruction of the local service, scheduling a corresponding printer from a printer driver list in the local service, and printing the printing vector file; the scheduling a corresponding printer from the printer driver list in the local service, and printing the print vector file includes: the method is called by using an iframe label mode, and specifically defines the src=urlvalue=spliced order message & tname=template & docname=printing mode to realize printing.
8. A local print job ticket apparatus, the local print job ticket apparatus comprising: a memory and at least one processor, the memory having instructions stored therein, the memory and the at least one processor being interconnected by a line;
the at least one processor invoking the instructions in the memory to cause the local print job ticket device to perform the local print job ticket method of any of claims 1-6.
9. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements the local print job ticket method according to any one of claims 1-6.
CN202010098186.4A 2020-02-18 2020-02-18 Local printing face list method, device, equipment and storage medium Active CN111324317B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010098186.4A CN111324317B (en) 2020-02-18 2020-02-18 Local printing face list method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010098186.4A CN111324317B (en) 2020-02-18 2020-02-18 Local printing face list method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111324317A CN111324317A (en) 2020-06-23
CN111324317B true CN111324317B (en) 2024-03-26

Family

ID=71163441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010098186.4A Active CN111324317B (en) 2020-02-18 2020-02-18 Local printing face list method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111324317B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949229A (en) * 2020-07-29 2020-11-17 唯品会(珠海)电子商务有限公司 Method and device for printing bill, computer equipment and storage medium
CN112035076A (en) * 2020-08-25 2020-12-04 上海中通吉网络技术有限公司 JSON-based printing analysis method, device, equipment and printing system
CN112036803B (en) * 2020-11-06 2021-01-22 上海洋漪信息技术有限公司 Method for generating general cross-border logistics distribution list
CN112506450B (en) * 2020-12-08 2023-05-09 杭州贝嘟科技有限公司 Method and device for generating washing label, electronic device and storage medium
CN112631531A (en) * 2020-12-24 2021-04-09 艾体威尔电子技术(北京)有限公司 Multi-channel cloud printing system
CN113238721B (en) * 2021-05-11 2022-10-04 浪潮软件股份有限公司 OFFICE template printing method for unified government affairs service
CN113434098B (en) * 2021-07-09 2024-03-01 北京京东振世信息技术有限公司 Printing function realization method, device, electronic equipment, system and storage medium
CN114103506B (en) * 2021-09-28 2023-04-21 环盛智能(深圳)有限公司 Mobile phone rear film printing and cutting method
CN114780156A (en) * 2022-04-24 2022-07-22 中国工商银行股份有限公司 External operation equipment calling method and device
CN115061646A (en) * 2022-08-17 2022-09-16 深圳美云集网络科技有限责任公司 Method and device for printing bill, computer equipment and storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2645230A2 (en) * 2012-03-30 2013-10-02 Brother Kogyo Kabushiki Kaisha Template processing program and template processing method
CN103870984A (en) * 2014-02-28 2014-06-18 浪潮软件集团有限公司 Network invoice template control method based on cloud computing
WO2014090060A1 (en) * 2012-12-13 2014-06-19 Tencent Technology (Shenzhen) Company Limited Method and apparatus for processing a webpage
CN106406560A (en) * 2016-08-29 2017-02-15 武汉开目信息技术股份有限公司 Method and system for outputting vector fonts of mechanical engineering characters in desktop operation system
EP3176689A1 (en) * 2015-12-03 2017-06-07 Ricoh Company Ltd. Print control program, print control method, computer and networked system
CN107340981A (en) * 2017-07-20 2017-11-10 深圳市瑞联智造科技有限公司 Material label print system
CN107450869A (en) * 2017-08-21 2017-12-08 百望电子发票数据服务有限公司 The online print system and method for a kind of PDF electronic invoices layout files
CN108572801A (en) * 2017-03-10 2018-09-25 菜鸟智能物流控股有限公司 Printing processing method and device, printing end, logistics platform and server
CN109218011A (en) * 2018-09-07 2019-01-15 山东中磁视讯股份有限公司 A kind of multimedia resources of mobile terminal verification method based on MD5
CN109271759A (en) * 2018-09-26 2019-01-25 杭州凯米科技有限公司 So file security reinforcement technique method based on Android platform
CN109542366A (en) * 2018-10-26 2019-03-29 金蝶软件(中国)有限公司 Method of printing, device, equipment and storage medium based on browser
CN110377248A (en) * 2019-07-30 2019-10-25 佛山青象科技有限公司 Bulk print control method, device and electronic equipment
CN110413954A (en) * 2019-07-29 2019-11-05 北京北大软件工程股份有限公司 Standard file printout method for previewing, device, equipment and storage medium
CN110780829A (en) * 2019-10-15 2020-02-11 武汉牌洲湾广告科技有限公司 Advertisement printing method, device, equipment and medium based on cloud service

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9131087B2 (en) * 2013-02-27 2015-09-08 Ricoh Company, Ltd. Apparatus, system and method for providing print manager service

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2645230A2 (en) * 2012-03-30 2013-10-02 Brother Kogyo Kabushiki Kaisha Template processing program and template processing method
WO2014090060A1 (en) * 2012-12-13 2014-06-19 Tencent Technology (Shenzhen) Company Limited Method and apparatus for processing a webpage
CN103870984A (en) * 2014-02-28 2014-06-18 浪潮软件集团有限公司 Network invoice template control method based on cloud computing
EP3176689A1 (en) * 2015-12-03 2017-06-07 Ricoh Company Ltd. Print control program, print control method, computer and networked system
CN106406560A (en) * 2016-08-29 2017-02-15 武汉开目信息技术股份有限公司 Method and system for outputting vector fonts of mechanical engineering characters in desktop operation system
CN108572801A (en) * 2017-03-10 2018-09-25 菜鸟智能物流控股有限公司 Printing processing method and device, printing end, logistics platform and server
CN107340981A (en) * 2017-07-20 2017-11-10 深圳市瑞联智造科技有限公司 Material label print system
CN107450869A (en) * 2017-08-21 2017-12-08 百望电子发票数据服务有限公司 The online print system and method for a kind of PDF electronic invoices layout files
CN109218011A (en) * 2018-09-07 2019-01-15 山东中磁视讯股份有限公司 A kind of multimedia resources of mobile terminal verification method based on MD5
CN109271759A (en) * 2018-09-26 2019-01-25 杭州凯米科技有限公司 So file security reinforcement technique method based on Android platform
CN109542366A (en) * 2018-10-26 2019-03-29 金蝶软件(中国)有限公司 Method of printing, device, equipment and storage medium based on browser
CN110413954A (en) * 2019-07-29 2019-11-05 北京北大软件工程股份有限公司 Standard file printout method for previewing, device, equipment and storage medium
CN110377248A (en) * 2019-07-30 2019-10-25 佛山青象科技有限公司 Bulk print control method, device and electronic equipment
CN110780829A (en) * 2019-10-15 2020-02-11 武汉牌洲湾广告科技有限公司 Advertisement printing method, device, equipment and medium based on cloud service

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Paginate Dynamic and Web Content;Giannetti Fabio;《DOCENG 2011: PROCEEDINGS OF THE 2011 ACM SYMPOSIUM ON DOCUMENT ENGINEERING》;20120606;全文 *
一种大规模的跨平台同源二进制文件检索方法;陈昱;刘中金;赵威威;马原;石志强;孙利民;;计算机研究与发展;20180715(07);全文 *
反XSS绕过过滤规则设计与研究;王万兵;叶水生;肖璐;;计算机与数字工程;20180420(04);全文 *
局域网打印管理问答;孙秀洪;;网络安全和信息化;20191205(12);全文 *

Also Published As

Publication number Publication date
CN111324317A (en) 2020-06-23

Similar Documents

Publication Publication Date Title
CN111324317B (en) Local printing face list method, device, equipment and storage medium
CN106713518B (en) Method for device registration and device
US6505252B1 (en) Data transfer utilizing preview data
US8493579B2 (en) Wireless printing from a device outside the network
CN110780829B (en) Advertisement printing method, device, equipment and medium based on cloud service
JP6439941B2 (en) Multi-function printer apparatus, method and system
EP1872516B1 (en) System and method for secure messaging between wireless device and application gateway
US20030081788A1 (en) Secure printing to a web-based imaging print service
CN112199622A (en) Page jump method, system and storage medium
US20050137937A1 (en) Method and apparatus for web-based label printing
US8005920B2 (en) Method and apparatus for transmitting arbitrarily large amounts of data over the internet
CN104081330A (en) Selection of a configuration link to receive activation data
CN111679826B (en) Method, device, equipment and storage medium for previewing webpage editing content in real time
CN116954530A (en) Printer data processing method and server
JP2008210394A (en) Communication system for control, and computer-readable recording medium with communication program for control recorded thereon
CN105159963A (en) Electronic document generation method and apparatus
JP6261325B2 (en) Web font distribution method and system therefor
JP3782685B2 (en) Image server, client device, and control method thereof
CN115657983A (en) Control method, device and equipment for printing based on browser and storage medium
CN113377309A (en) Variable two-dimensional code image real-time printing method, device, equipment and medium
JP2007196386A (en) Image forming apparatus
CN108762697A (en) A kind of Method of printing and device based on browser end
CN104219207B (en) A kind of safe consultation device and method
JP4159869B2 (en) Information providing apparatus, information providing method, information providing system, and information providing program
KR20100061583A (en) System for image rendering method thereof

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
GR01 Patent grant
GR01 Patent grant