CN106201378A - Intelligent movable equipment set printing method and device thereof - Google Patents

Intelligent movable equipment set printing method and device thereof Download PDF

Info

Publication number
CN106201378A
CN106201378A CN201610539236.1A CN201610539236A CN106201378A CN 106201378 A CN106201378 A CN 106201378A CN 201610539236 A CN201610539236 A CN 201610539236A CN 106201378 A CN106201378 A CN 106201378A
Authority
CN
China
Prior art keywords
page
preview
content
movable equipment
intelligent movable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610539236.1A
Other languages
Chinese (zh)
Inventor
温其术
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Rui Mdt Infotech Ltd
Original Assignee
Guangzhou Rui Mdt Infotech 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 Rui Mdt Infotech Ltd filed Critical Guangzhou Rui Mdt Infotech Ltd
Priority to CN201610539236.1A priority Critical patent/CN106201378A/en
Publication of CN106201378A publication Critical patent/CN106201378A/en
Pending 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/1208Improving or facilitating administration, e.g. print management resulting in improved quality of the output result, e.g. print layout, colours, workflows, print preview
    • 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
    • G06F3/1243Variable data printing, e.g. document forms, templates, labels, coupons, advertisements, logos, watermarks, transactional printing, fixed content versioning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1292Mobile client, e.g. wireless printing

Abstract

The invention discloses intelligent movable equipment set printing method and device thereof, the method comprises the steps: S1, obtains to overlap and beat content and print background;S2, according to set beat content and print background formation preview page;S3, obtain the picture element density of screen of mobile device, and calculate zoom factor according to picture element density;S4, according to zoom factor, preview page is zoomed in and out, the output preview scaling page;The preview scaling page includes that content beaten by the set scaled;S5, call the printing interface of mobile device, obtain the set scaled and beat content, and by printing interface, the set scaled is beaten content and send to printer.It is an advantage of the current invention that calculating set by the picture element density of mobile device beats the zoom factor of content, and beat the size of content according to zoom factor adjusting sleeve, it is not necessary to third party's plug-in unit is i.e. adaptable in various mobile device.

Description

Intelligent movable equipment set printing method and device thereof
Technical field
The present invention relates to set and beat technology, particularly relate to intelligent movable equipment set printing method and device thereof.
Background technology
Society now, along with intelligent movable equipment ability from strength to strength, a lot of before the softwares that use at pc end all Turn in mobile device;Much the software towards B end (business) the most all moves in intelligent movable equipment, towards B end Software needs set to beat function, but owing to the isoparametric type of model, system version and screen of mobile terminal is varied, leads Cause on intelligent movable equipment, make set and beat underaction, need the parameter according to mobile terminal that third party's plug-in unit is installed and just can carry out Set is beaten.
The printing function of existing intelligent movable equipment, great majority are all first to generate PDF, then call PDF reader, profit Print with the printing function of PDF reader;On the one hand user must install pdf reader or pdf prints plug-in unit, ability Open the pdf that app generates, and print;If user has downloaded wrong pdf reader or pdf print plug-in unit, it is more likely that Cause user successfully not print, the most greatly have impact on the versatility of we app, the most largely add The use learning cost of user.On the other hand, the mode generating pdf typically has two kinds, and one is directly raw at user's app end Becoming, another is after server generates, and by the network transmission protocol, pdf downloads to user mobile phone local, recycling Pdf reader or pdf print plug-in unit and print;Certainly, both all can increase the pressure of user's mobile device, and And it cannot be guaranteed that user's mobile device generates the quality of pdf, the problem being relatively easy to failed regeneration occur.
The print command of part printer a kind of entitled esc/pos of support, the printer of every support this printing standard, Can realize without driving printing, utilize this technology can print consistent interior of effect to the equipment reaching different model different system Hold;But this technology has a biggest shortcoming to be exactly that printer must support esc/pos print command at present, and user can A printer can be had, but do not supported this print command, then need user the most separately to purchase a printer and just can complete set Beating, and support the printer of this print command, be the most all very few several brand, select kind few, this is the most not Meet actual demand.
Summary of the invention
In order to overcome the deficiencies in the prior art, the purpose of the present invention one is to provide intelligent movable equipment set printing method, its Without install third party's plug-in unit can realize set beat function.
The purpose of the present invention two is to provide intelligent movable equipment set to beat device, and it can be real without installing third party's plug-in unit Now function beaten by set.
An object of the present invention realizes by the following technical solutions:
Intelligent movable equipment set printing method, it is characterised in that comprise the steps:
S1, acquisition set are beaten content and print background;
S2, according to set beat content and print background formation preview page;
S3, obtain the picture element density of screen of mobile device, and calculate zoom factor according to picture element density;
S4, according to zoom factor, preview page is zoomed in and out, the output preview scaling page;
The preview scaling page includes that content beaten by the set scaled;
S5, call the printing interface of mobile device, obtain the set scaled and beat content, and will be scaled by printing interface Set beat content send to printer.
As preferably, S4 also includes scaling preview the display screen that the page sends to mobile device and shows.
As preferably, by the Webview assembly display preview scaling page.
As preferably, described preview page is the HTML5 page.
As preferably, S2 also includes send preview page to WEB server.
The two of the purpose of the present invention realize by the following technical solutions:
Device beaten by intelligent movable equipment set, including:
Input module, is used for obtaining set and beats content and print background;
Output module, for beating content according to set and printing background formation preview page;
Computing module, for obtaining the picture element density of the screen of mobile device, and calculates scaling system according to picture element density Number;
Zoom module, zooms in and out preview page according to zoom factor, the output preview scaling page;
The preview scaling page includes that content beaten by the set scaled;
Print module, calls the printing interface of mobile device, obtains the set scaled and beats content, and will by printing interface The set scaled is beaten content and is sent to printer.
As preferably, Zoom module also includes scaling preview the display screen that the page sends to mobile device and shows.
As preferably, by the Webview assembly display preview scaling page.
As preferably, described preview page is the HTML5 page.
As preferably, described output module also includes send preview page to WEB server.
Compared to existing technology, the beneficial effects of the present invention is: calculate set by the picture element density of mobile device and beat content Zoom factor, and beat the size of content according to zoom factor adjusting sleeve, it is not necessary to third party's plug-in unit is i.e. adaptable to various movement In equipment.
Accompanying drawing explanation
Fig. 1 is the flow chart of the intelligent movable equipment set printing method of the present invention;
Fig. 2 is that the intelligent movable equipment of the present invention overlaps the module map beating device.
Detailed description of the invention
Below, in conjunction with accompanying drawing and detailed description of the invention, the present invention is described further:
Intelligent movable equipment set printing method, as it is shown in figure 1, comprise the steps:
Step 001, acquisition set are beaten content and print background;Content beaten by set and printing background is user's input.
Step 002, according to set beat content and print background formed preview page, and by preview page transmission to WEB service Device;Preview page is the HTML5 page, and preview page includes that set is beaten content and prints background, and set is beaten content and prints background positions Corresponding output preview page, described printing background is only used for as used by background when Print Preview shows, printer is only beaten Content beaten by print set.
Comprise set to beat the preview page of content and be stored in WEB server, only need when needs are changed and overlapped and beat content when Will be to WEB server update content, this avoid user needs the trouble of frequent updating, reduces sending out of operation maintenance personnel Cloth works.
Step 003, obtain the picture element density of screen of mobile device, and calculate zoom factor according to picture element density;
Picture element density is the biggest, and zoom factor is the least;This method is applied in different mobile devices, all can set according to mobile Standby picture element density calculates zoom level, solves mobile device update and causes set to beat inflexible problem soon.
Step 004, according to zoom factor, preview page is zoomed in and out, the output preview scaling page, and preview is scaled The page sends the display screen to mobile device, is shown by Webview assembly;
The preview scaling page includes that content beaten by the printing background scaled and the set scaled, and Webview assembly is a kind of For showing the assembly of the page;Preview is scaled the page and shows by Webview assembly, so that in user can beat with preview set Hold.
Step 005, call the printing interface of mobile device, obtain the set scaled and beat content, and will by printing interface The set scaled is played content transmission and is printed to printer;
Carry out set beat before, mobile device is connected with printer, and connected mode can be but not limited to WI-FI, bluetooth Or data wire etc.;This method is to call the printing function that mobile device carries, it is not necessary to user installation third party software, significantly Reducing the use difficulty of user, the stability of printing function improves the most well;Printing function along with mobile device itself Raising, the printer function that this method can be supported also can increase therewith, solves function well and constantly upgrades and two bring merit The problem that can again develop.
Intelligent movable equipment set beats device, as in figure 2 it is shown, include:
Input module, is used for obtaining set and beats content and print background.
Output module, for beating content according to set and printing background output preview page to WEB server.
Computing module, for obtaining the picture element density of the screen of mobile device, calculates zoom factor according to picture element density.
Zoom module, for preview page being zoomed in and out according to zoom factor, the output preview scaling page, and by preview The scaling page sends the display screen to mobile device, is shown by Webview assembly.
Print module, for calling the printing interface of mobile device, obtains, from WEB server, the set scaled and beats content, And by printing interface, the set scaled is beaten content and send to printer and print.
It will be apparent to those skilled in the art that can technical scheme as described above and design, make other various Corresponding change and deformation, and all these change and deformation all should belong to the protection domain of the claims in the present invention Within.

Claims (10)

1. intelligent movable equipment set printing method, it is characterised in that comprise the steps:
S1, acquisition set are beaten content and print background;
S2, according to set beat content and print background formation preview page;
S3, obtain the picture element density of screen of mobile device, and calculate zoom factor according to picture element density;
S4, according to zoom factor, preview page is zoomed in and out, the output preview scaling page;The preview scaling page includes scaling Set beat content;
S5, call the printing interface of mobile device, obtain the set scaled and play content, and the set that will have been scaled by printing interface Beat content to send to printer.
2. intelligent movable equipment set printing method as claimed in claim 1, it is characterised in that S4 also includes preview is scaled the page Transmission shows to the display screen of mobile device.
3. intelligent movable equipment set printing method as claimed in claim 2, it is characterised in that shown in advance by Webview assembly Look at the scaling page.
4. intelligent movable equipment set printing method as claimed in claim 1, it is characterised in that described preview page is HTML5 page Face.
5. intelligent movable equipment set printing method as claimed in claim 1, it is characterised in that also include in S2 sending out preview page Deliver to WEB server.
6. device beaten by intelligent movable equipment set, it is characterised in that including:
Input module, is used for obtaining set and beats content and print background;
Output module, for beating content according to set and printing background formation preview page;
Computing module, for obtaining the picture element density of the screen of mobile device, and calculates zoom factor according to picture element density;
Zoom module, zooms in and out preview page according to zoom factor, the output preview scaling page;
The preview scaling page includes that content beaten by the set scaled;
Print module, calls the printing interface of mobile device, obtains the set scaled and beats content,
And the set scaled is beaten content transmission to printer by printing interface.
7. device beaten by intelligent movable equipment set as claimed in claim 6, it is characterised in that described Zoom module also includes preview Scaling page transmission shows to the display screen of mobile device.
8. device beaten by intelligent movable equipment set as claimed in claim 7, it is characterised in that show preview by Webview assembly The scaling page.
9. device beaten by intelligent movable equipment set as claimed in claim 6, it is characterised in that described preview page is the HTML5 page.
10. as claimed in claim 6 device beaten by intelligent movable equipment set, it is characterised in that described output module also includes by Preview page sends to WEB server.
CN201610539236.1A 2016-07-08 2016-07-08 Intelligent movable equipment set printing method and device thereof Pending CN106201378A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610539236.1A CN106201378A (en) 2016-07-08 2016-07-08 Intelligent movable equipment set printing method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610539236.1A CN106201378A (en) 2016-07-08 2016-07-08 Intelligent movable equipment set printing method and device thereof

Publications (1)

Publication Number Publication Date
CN106201378A true CN106201378A (en) 2016-12-07

Family

ID=57473118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610539236.1A Pending CN106201378A (en) 2016-07-08 2016-07-08 Intelligent movable equipment set printing method and device thereof

Country Status (1)

Country Link
CN (1) CN106201378A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108574786A (en) * 2017-03-08 2018-09-25 柯尼卡美能达株式会社 Image processing apparatus, setting value setting method and record have the computer-readable recording medium of setting value setting program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7353275B2 (en) * 2001-10-19 2008-04-01 Seiko Epson Corporation Printing sub-system for java and internet applications
CN102722899A (en) * 2012-05-28 2012-10-10 重庆大学 Positioning printing system for report
CN104020967A (en) * 2014-06-16 2014-09-03 浪潮软件股份有限公司 WEB batch-printing method based on fully-domestic CPU and OS and commonly used for multiple browsers
CN104199920A (en) * 2014-08-30 2014-12-10 深圳市云来网络科技有限公司 Adaptation method and device for display of web application
CN105589666A (en) * 2014-11-13 2016-05-18 王者蓝 Method for printing with template based on original content of paper

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7353275B2 (en) * 2001-10-19 2008-04-01 Seiko Epson Corporation Printing sub-system for java and internet applications
CN102722899A (en) * 2012-05-28 2012-10-10 重庆大学 Positioning printing system for report
CN104020967A (en) * 2014-06-16 2014-09-03 浪潮软件股份有限公司 WEB batch-printing method based on fully-domestic CPU and OS and commonly used for multiple browsers
CN104199920A (en) * 2014-08-30 2014-12-10 深圳市云来网络科技有限公司 Adaptation method and device for display of web application
CN105589666A (en) * 2014-11-13 2016-05-18 王者蓝 Method for printing with template based on original content of paper

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
梦泰尔软件: "手把手教你WEB套打程序开发", 《HTTP://BLOG.SINA.COM.CN/S/BLOG_721E77E50100NG1O.HTML》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108574786A (en) * 2017-03-08 2018-09-25 柯尼卡美能达株式会社 Image processing apparatus, setting value setting method and record have the computer-readable recording medium of setting value setting program

Similar Documents

Publication Publication Date Title
US9870754B2 (en) Computer program product, information processing method, and information processing apparatus
CN104318879A (en) Display device and display device failure analysis system and method
CN104220998A (en) Management apparatus, management system, control method, and storage medium
US20120044525A1 (en) Information-displaying system and information display method
CN103345410A (en) Mobile working service customization interface implementation method and system
CN104915144A (en) Method for projecting double-screen interactive user interface
CN104639657A (en) Intelligent bill printing control system supporting remote configuration
CN105553835A (en) Method and system of ultrahigh definition large screen for synchronously displaying client data interfaces
JP6111846B2 (en) Image forming system, remote control device and program
CN105302504B (en) Information processing unit and information processing method
CN104461052A (en) Method and device for character input between intelligent devices
JP2013025638A (en) Image formation system, portable terminal device, and program
US20130263045A1 (en) Screen display device and screen display system
CN106201378A (en) Intelligent movable equipment set printing method and device thereof
CN111610940B (en) Control method, device, equipment and storage medium of printing equipment
JP6146212B2 (en) Printing system and printing system control method
CN106716983B (en) Communication terminal device and communication system
CN112433687A (en) Self-service printing/copying method, system and computer readable storage medium
CN102799402A (en) Extended interaction system based on portable smart device
CN107018269A (en) Message processing device, information system and information processing method
CN101710277B (en) Script processing method, device of embedded browser
CN110806841A (en) Label design printing system based on BS mode
CN116088776A (en) Data printing method and system supporting multi-service scene multiplexing
JP2020065107A (en) Image forming system and image forming apparatus
US10785376B2 (en) Image processing apparatus for sending user interface data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161207