CN110187848A - Method of printing and device based on WEB terminal - Google Patents

Method of printing and device based on WEB terminal Download PDF

Info

Publication number
CN110187848A
CN110187848A CN201910363419.6A CN201910363419A CN110187848A CN 110187848 A CN110187848 A CN 110187848A CN 201910363419 A CN201910363419 A CN 201910363419A CN 110187848 A CN110187848 A CN 110187848A
Authority
CN
China
Prior art keywords
print job
server
format
browser
printing
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.)
Withdrawn
Application number
CN201910363419.6A
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.)
Guangzhou Xunwei Information Security Technology Co Ltd
Original Assignee
Guangzhou Xunwei Information Security 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 Guangzhou Xunwei Information Security Technology Co Ltd filed Critical Guangzhou Xunwei Information Security Technology Co Ltd
Priority to CN201910363419.6A priority Critical patent/CN110187848A/en
Publication of CN110187848A publication Critical patent/CN110187848A/en
Withdrawn legal-status Critical Current

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/1203Improving or facilitating administration, e.g. print management
    • G06F3/1204Improving or facilitating administration, e.g. print management resulting in reduced user or operator actions, e.g. presetting, automatic actions, using hardware token storing data
    • 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/1242Image or content composition onto a page
    • 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

Landscapes

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

Abstract

The invention discloses a kind of Method of printing and device based on WEB terminal, method include the following steps: A) client uploads onto the server print job by WEB page;B) browser on invoking server attempts parsing print job, and judges whether energy normal browsing, if so, executing step C);Otherwise, step D is executed);C) print job is converted to PDF format by the browser on server in real time, executes step E);D) server returns to the information that can not parse print job, and pushes to client;E the print job after) server converts format pushes to compounding machine and exports.Implement the Method of printing and device of the invention based on WEB terminal, having the advantages that, which can be reduced, exports the time, the information that exports can with Real-time Feedback to user, can user can have a clear understanding of normally export, be avoided that output during the blank page as caused by format issues, skipping leaf or lacking word happens, enhances user experience.

Description

Method of printing and device based on WEB terminal
Technical field
The present invention relates to printing field, in particular to a kind of Method of printings and device based on WEB terminal.
Background technique
The method of common WEB terminal printing is: directly logging in the WEB interface of compounding machine, document is uploaded to compounding machine magnetic Disk exports after being parsed by compounding machine.Since the CPU processing capacity of compounding machine is insufficient, the lattice such as PDF/JPG/TIFF are only supported Formula can not extend and more support formats, and the time handled is long, and meeting long-time occupancy compounding machine causes to print below Operation can not normally export, influence user experience.
Summary of the invention
The technical problem to be solved in the present invention is that in view of the above drawbacks of the prior art, providing one kind can be reduced output Time, the information exported can with Real-time Feedback to user, can user can have a clear understanding of normally export, be avoided that during output The blank page as caused by format issues skips leaf or lacks the Method of printing based on WEB terminal that word happened, enhanced user experience And device.
The technical solution adopted by the present invention to solve the technical problems is: constructing a kind of Method of printing based on WEB terminal, wraps Include following steps:
A) client uploads onto the server print job by WEB page;
B) browser on invoking server is attempted to parse the print job, and judges whether energy normal browsing, if so, Execute step C);Otherwise, step D is executed);
C) print job is converted to PDF format by the browser on the server in real time, executes step E);
D) server returns to the information that can not parse print job, and pushes to the client;
E the print job after) server converts format pushes to compounding machine and exports.
In the Method of printing of the present invention based on WEB terminal, the print job includes file or/and image.
In the Method of printing of the present invention based on WEB terminal, the browser on the server supports at least 200 kinds File format.
The invention further relates to a kind of devices for realizing the above-mentioned Method of printing based on WEB terminal, comprising:
Print job uploading unit: for making client that print job to be uploaded onto the server by WEB page;
Print job call unit: the browser on invoking server is attempted to parse the print job, and judges Whether can normal browsing;
Format conversion unit: for making the browser on the server that the print job is converted to PDF lattice in real time Formula;
It returns to push unit: for making the server return that can not parse the information of print job, and pushing to described Client;
Push output unit: it is defeated that compounding machine progress is pushed to for the print job after converting the server by format Out.
In device of the present invention, the print job includes file or/and image.
In device of the present invention, the browser on the server supports at least 200 kinds of file formats.
Implement the Method of printing and device of the invention based on WEB terminal, has the advantages that due to by print job It is uploaded onto the server by WEB page;Browser resolves print job on invoking server is converted to print job in real time It after PDF format, pushes to compounding machine and is exported, when parsing failure, the information that server will be unable to parsing print job is pushed away Send to client, thus the present invention can be reduced export the time, the information that exports can be understood with Real-time Feedback to user, user Can solution normally export, be avoided that output during the blank page as caused by format issues, skipping leaf or lacking word happens, increases Strong user experience.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is that the present invention is based on the flow charts of the Method of printing of WEB terminal and device one embodiment method;
Fig. 2 is the structural schematic diagram of device in the embodiment.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The present invention is based in the Method of printing of WEB terminal and Installation practice, the process of the Method of printing based on WEB terminal Figure is as shown in Figure 1.In Fig. 1, it is somebody's turn to do the Method of printing based on WEB terminal and includes the following steps:
Step S01 client uploads onto the server print job by WEB page: in this step, user is in client On operated, print job (i.e. printing document) is uploaded onto the server by WEB page on the client.Wherein, it prints Operation includes file or/and image, that is to say, that print job can be individual file, and print job is also possible to individually Image, certainly, print job is also possible to the file containing image (containing image in file).
Browser on step S02 invoking server attempts parsing print job, and judges whether energy normal browsing: service Device is equipped with browser, and the browser on the server can support at least 200 kinds of file formats, that is to say, that the server On browser may browse through at least 200 kinds of file formats, the output of most of mainstream document can be covered.In this step, call Browser on server attempts parsing print job, and judge whether can normal browsing, if it is determined that result be it is yes, can Normal browsing thens follow the steps S03;Otherwise, step S04 is executed.
Print job is converted to PDF format by the browser on step S03 server in real time: in this step, on server The print job that will acquire of browser in file or/image be converted to PDF format in real time, that is, by all print jobs PDF format is uniformly converted to, can be skipped leaf in this way to avoid the blank page as caused by format issues during output, word etc. is lacked The generation of problem.This step has been executed, step S05 is executed.
Step S04 server returns to the information that can not parse print job, and pushes to client: if above-mentioned steps The judging result of S02 be it is no, then execute this step.In this step, server returns to the information that can not parse print job, and will The information that print job can not be parsed pushes to client, due to output information can with Real-time Feedback to user terminal, Can user is apparent that normally export, and enhance user experience.
Print job after step S05 server converts format pushes to compounding machine and exports: in this step, service Print job after device converts format pushes to compounding machine and exports, that is, is converted into the work of the printing after PDF format Industry pushes to compounding machine and is exported.For compounding machine, since received print job is only PDF format, thus Without worrying the processing capacity of CPU, therefore it is very few just to solve the file format supported due to compounding machine, and processing capacity is insufficient The problem of caused output overlong time.
The information that Method of printing based on WEB terminal of the invention can be reduced and export the time, exports can be with Real-time Feedback to use Family, can user can have a clear understanding of normally export, be avoided that output during the blank page as caused by format issues, skip leaf or Scarce word happens, enhances user experience.
The present embodiment further relates to a kind of device for realizing the above-mentioned Method of printing based on WEB terminal, the structural representation of the device Figure is as shown in Figure 2.In Fig. 2, which includes print job uploading unit 1, print job call unit 2, format conversion unit 3, push unit 4 and push output unit 5 are returned;Wherein, print job uploading unit 1 is for leading to client by print job WEB page is crossed to upload onto the server;Specifically, user operates on the client, on the client (i.e. by print job Printing document) it is uploaded onto the server by WEB page.Wherein, print job includes file or/and image, that is to say, that printing Operation can be individual file, and print job is also possible to individual image, and certainly, print job is also possible to containing image File (containing image in file).
Print job call unit 2 attempts parsing print job for the browser on invoking server, and judges whether It can normal browsing;Server is equipped with browser, and the browser on the server can support at least 200 kinds of file formats, That is the browser on the server may browse through at least 200 kinds of file formats, it is defeated that most of mainstream document can be covered Out.
Format conversion unit 3 is for making the browser on server that print job is converted to PDF format in real time;Server On the print job that will acquire of browser in file or/image be converted to PDF format in real time, that is, all printings are made Industry is uniformly converted to PDF format, can skip leaf in this way to avoid the blank page as caused by format issues during output, lacks word The problems such as generation.
It returns to push unit 4 to be used to that server to be made to return to the information that can not parse print job, and pushes to client;Clothes Business device returns to the information that can not parse print job, and the information that can not parse print job is pushed to client, due to The information of output can be with Real-time Feedback to user terminal, therefore can user be apparent that and normally export, and enhances user experience.
Push output unit 5 pushes to compounding machine for the print job after converting server by format and exports. Print job after being namely converted into PDF format pushes to compounding machine and is exported.For compounding machine, due to receiving Print job be only PDF format, do not have to the processing capacity for worrying CPU thus, therefore just solve due to compounding machine branch The file format held is very few, and caused by processing capacity deficiency the problem of output overlong time.
The information that the device of the invention can be reduced and export the time, exports can be understood with Real-time Feedback to user, user Can solution normally export, be avoided that output during the blank page as caused by format issues, skipping leaf or lacking word happens, increases Strong user experience.
Certainly, in practical applications, in the case where of less demanding, alternative solution can also be used, such as: use WEB Printing solution needs to install corresponding browser on backstage, such as prints WORD, needs to install OFFICE, prints CAD, needs AUTOCAD etc. is installed, leads to that more set softwares are installed on server, and copyrighted software also occupies the legal authorization of company's a part, leads Cause project actual cost is higher.And technical solution of the present invention is used, more than 200 kinds market mainstream trays are supported in WEB printing Formula occupies compounding machine resource without excessive, without occupying excessive legal authorization resources.
In short, the present invention uses WEB printing technique, specifically using the technology of middleware conversion, by print job (printing Document) it is uploaded onto the server by WEB page, print job is converted into PDF lattice by the browser on invoking server in real time Formula, then be pushed on compounding machine.Caused by it is avoided that the file format supported due to compounding machine is very few, and processing capacity is insufficient The problem of exporting overlong time, and can be able to be apparent that with Real-time Feedback to client, user just for the information exported Often output.Print job is converted to PDF format, can be lacked to avoid the blank page as caused by format issues during output The generation of the problems such as page, scarce word enhances user experience.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (6)

1. a kind of Method of printing based on WEB terminal, which comprises the steps of:
A) client uploads onto the server print job by WEB page;
B) browser on invoking server is attempted to parse the print job, and judges whether energy normal browsing, if so, executing Step C);Otherwise, step D is executed);
C) print job is converted to PDF format by the browser on the server in real time, executes step E);
D) server returns to the information that can not parse print job, and pushes to the client;
E the print job after) server converts format pushes to compounding machine and exports.
2. the Method of printing according to claim 1 based on WEB terminal, which is characterized in that the print job includes file Or/and image.
3. the Method of printing according to claim 1 or 2 based on WEB terminal, which is characterized in that the browsing on the server Device supports at least 200 kinds of file formats.
4. a kind of device for realizing the Method of printing based on WEB terminal as described in claim 1 characterized by comprising
Print job uploading unit: for making client that print job to be uploaded onto the server by WEB page;
Print job call unit: the browser on invoking server is attempted to parse the print job, and judges whether It can normal browsing;
Format conversion unit: for making the browser on the server that the print job is converted to PDF format in real time;
It returns to push unit: for making the server return that can not parse the information of print job, and pushing to the client End;
Push output unit: compounding machine is pushed to for the print job after converting the server by format and is exported.
5. device according to claim 4, which is characterized in that the print job includes file or/and image.
6. device according to claim 4 or 5, which is characterized in that the browser on the server supports at least 200 kinds File format.
CN201910363419.6A 2019-04-30 2019-04-30 Method of printing and device based on WEB terminal Withdrawn CN110187848A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910363419.6A CN110187848A (en) 2019-04-30 2019-04-30 Method of printing and device based on WEB terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910363419.6A CN110187848A (en) 2019-04-30 2019-04-30 Method of printing and device based on WEB terminal

Publications (1)

Publication Number Publication Date
CN110187848A true CN110187848A (en) 2019-08-30

Family

ID=67715541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910363419.6A Withdrawn CN110187848A (en) 2019-04-30 2019-04-30 Method of printing and device based on WEB terminal

Country Status (1)

Country Link
CN (1) CN110187848A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110837347A (en) * 2019-11-06 2020-02-25 王前 Webpage printing method based on analysis plug-in, server and storage medium
CN110908621A (en) * 2019-11-22 2020-03-24 深圳市印点点科技有限公司 Cloud platform printing method, cloud server and cloud printing system
CN114527946A (en) * 2022-01-12 2022-05-24 杭州石原子科技有限公司 Silent print client based on browser

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110837347A (en) * 2019-11-06 2020-02-25 王前 Webpage printing method based on analysis plug-in, server and storage medium
CN110908621A (en) * 2019-11-22 2020-03-24 深圳市印点点科技有限公司 Cloud platform printing method, cloud server and cloud printing system
CN114527946A (en) * 2022-01-12 2022-05-24 杭州石原子科技有限公司 Silent print client based on browser

Similar Documents

Publication Publication Date Title
CN110187848A (en) Method of printing and device based on WEB terminal
US20050231759A1 (en) Print management apparatus and print management system incorporating the same
CN102446076B (en) Printing system, printing method, print server, and control method
US20050165810A1 (en) Generating and providing device management data via network
US20020018234A1 (en) Printer driver system for remote printing
US20060262349A1 (en) Image handling apparatus, image processing system, image process controlling method, and image process controlling program product
US8582162B2 (en) Information processing apparatus, output method, and storage medium
GB2277184A (en) Computer network for unified business
US20110320928A1 (en) Information transmission apparatus, control method thereof, and recording medium storing computer program
CN102591597A (en) Information processing apparatus, method for controlling the same
EP1441291B1 (en) Character string encoding conversion
JP2010219792A (en) Server and information processing system having the server and control method thereof
US8472054B2 (en) Information distribution apparatus, information distribution method, and computer program for distributing a setting value of a program based on a condition
EP1650654B1 (en) Image forming device, hardware control method and hardware control program
US6633399B1 (en) Image forming apparatus, image data processing apparatus, and storage medium
US8854659B2 (en) Image processing apparatus controlling execution of a job without intervention of a web server, control method thereof, and storage medium storing a program therefore
US20080184069A1 (en) Image forming apparatus, method of controlling image forming apparatus, program, and storage medium
DE10212162A1 (en) Providing embedded web server facsimile service involves packaging converted fax in network transmission protocol language, identifying URL of embedded web server in printer
US20100238490A1 (en) Information processing apparatus, method of controlling information processing apparatus, and storage medium
US20100175065A1 (en) Workflow management device, workflow management method, and program
US7812983B2 (en) Methods and systems for transferring binary data
JP2008147874A (en) Electronic equipment, report preparing method and report preparing program
JP2005310171A (en) Computer readable program for letting computer execute program generation processing
JP5552926B2 (en) Information processing apparatus, log transfer method, and program
CN105760122A (en) Server-side printing method of browser chart

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20190830

WW01 Invention patent application withdrawn after publication