CN112988092B - 一种兼容多种智能打印机的方法及系统 - Google Patents
一种兼容多种智能打印机的方法及系统 Download PDFInfo
- Publication number
- CN112988092B CN112988092B CN202110379786.2A CN202110379786A CN112988092B CN 112988092 B CN112988092 B CN 112988092B CN 202110379786 A CN202110379786 A CN 202110379786A CN 112988092 B CN112988092 B CN 112988092B
- Authority
- CN
- China
- Prior art keywords
- printer
- app
- compatible
- pdf document
- download link
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1203—Improving or facilitating administration, e.g. print management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1224—Client or server resources management
- G06F3/1225—Software update, e.g. print driver, modules, plug-ins, fonts
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1242—Image or content composition onto a page
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1268—Job submission, e.g. submitting print job order or request not the print data itself
- G06F3/1271—Job submission at the printing node, e.g. creating a job from a data stored locally or remotely
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1285—Remote printer device, e.g. being remote from client or server
- G06F3/1288—Remote printer device, e.g. being remote from client or server in client-server-printer device configuration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1292—Mobile client, e.g. wireless printing
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
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)
- Computer Networks & Wireless Communication (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
本发明公开了一种兼容多种智能打印机的方法及系统,在移动设备中安装打印机兼容APP,智能打印机配套的打印机APP的Androi dMan i fest中响应一个固定的act i on,需要打印时,打印机兼容APP将需要打印内容发送至服务器端,服务器端生成PDF文档后将下载链接返回至打印机兼容APP。打印机兼容APP下载PDF文档至本地,当检测到有打印机APP响应了该固定的act i on时,将该PDF文档的存放路径发送至打印机APP,打印机APP控制智能打印机完成打印。本发明将不仅可以不受第三方打印机的技术限制,而且很容易进行广泛兼容,且第三方打印机品牌进行兼容的难度和成本很低,只需要在配套的打印机APP的Androi dMan i fest中响应一个指定的act i on即可。
Description
技术领域
本发明涉及打印技术领域,具体涉及一种兼容多种智能打印机的方法及系统。
背景技术
在教育领域,越来越多的家长为了孩子的教育,购买了打印机设备。近两年,在教育学习领域中,一种新型的热敏打印机悄然兴起,此设备使用简单、无需加墨。但市场上的打印机品牌众多,打印机的支持协议也不尽相同,如何在一个APP中兼容多种智能打印机成了一个难题。目前常见的方法是在APP中加入多个打印机的SDK,一一对每个品牌的打印机进行兼容,但这种方法费事费力,每增加一个兼容品牌,就要修改一次APP,非常不方便。
发明内容
针对现有技术的不足,本发明旨在提供一种兼容多种智能打印机的方法及系统。
为了实现上述目的,本发明采用如下技术方案:
一种兼容多种智能打印机的方法,具体过程为:
S1、首先在移动设备上安装打印机兼容APP,同时安装所购买的智能打印机配套的打印机APP,所述打印机APP的AndroidManifest中响应一个固定的action;
S2、用户将要打印的内容通过打印机兼容APP发送到服务器端,服务器端根据打印尺寸对要打印的内容进行排版并生成一个PDF文档,然后将该PDF文档的下载链接返回至打印机兼容APP;
S3、所述打印机兼容APP检测移动设备中是否有打印机APP响应了所述固定的action,如果有,打印机兼容APP在移动设备的显示界面上显示打印按钮;
S4、用户点击打印按钮后,所述打印兼容APP按照PDF文档的下载链接将PDF文档下载到移动设备本地,再调用响应了所述固定的action的打印机APP并向其传递PDF文档的存放路径;
S5、所述打印机APP收到PDF文档的存放路径后,自行控制对应的智能打印机进行打印。
本发明还提供一种实现上述方法的系统,包括:
打印机兼容APP:安装在移动设备中;用于将用户要打印的内容发送到服务器端;用于在收到服务器端返回的PDF文档的下载链接后检测移动设备中是否有打印机APP响应了固定的action,如果有,打印机兼容APP在移动设备的显示界面上显示打印按钮;用于在用户点击打印按钮后,按照PDF文档的下载链接将PDF文档下载到移动设备本地,再调用响应了所述固定的action的打印机APP并向其传递PDF文档的存放路径;
服务器端:用于根据打印尺寸对用户要打印的内容进行排版并生成一个PDF文档,然后将该PDF文档的下载链接返回至打印机兼容APP;
打印机APP:其AndroidManifest中响应一个指定的action,用于在接收到来自打印机兼容APP的PDF文档的存放路径后控制对应的智能打印机完成打印。
本发明的有益效果在于:本发明不仅可以不受第三方打印机的技术限制,而且很容易进行广泛兼容,且第三方打印机品牌进行兼容的难度和成本很低,只需要在配套的打印机APP的AndroidManifest中响应一个指定的action即可。
具体实施方式
以下将对本发明作进一步的描述,需要说明的是,本实施例以本技术方案为前提,给出了详细的实施方式和具体的操作过程,但本发明的保护范围并不限于本实施例。
实施例1
本实施例提供一种兼容多种智能打印机的方法,具体过程为:
S1、首先在移动设备上安装打印机兼容APP,同时安装所购买的智能打印机配套的打印机APP,所述打印机APP的AndroidManifest中响应一个固定的acti on。
具体地,本实施例中,所有想兼容本实施例打印方法的打印机APP都需要在AndroidManifest中隐式响应一个固定的action为"com.readboy.printer.pdf"。
S2、用户将要打印的内容通过打印机兼容APP发送到服务器端,服务器端根据打印尺寸(A4纸或热敏纸)对要打印的内容进行排版并生成一个PDF文档,然后将该PDF文档的下载链接返回至打印机兼容APP;
S3、所述打印机兼容APP检测移动设备中是否有打印机APP响应了所述固定的action,如果有,打印机兼容APP在移动设备的显示界面上显示打印按钮;
S4、用户点击打印按钮后,所述打印兼容APP按照PDF文档的下载链接将PDF文档下载到移动设备本地,再调用响应了所述固定的action的打印机APP并向其传递PDF文档的存放路径;
S5、所述打印机APP收到PDF文档的存放路径后,自行控制对应的智能打印机进行打印。
通过对现有的各种A4纸打印机和热敏打印机的实现原理和技术进行分析,发现虽然各种打印机差异较大,但都能支持PDF文档的打印,本实施例方法基于该共同点对多种智能打印机进行兼容,不仅可以不受第三方打印机的技术限制,而且很容易进行广泛兼容,且第三方打印机品牌进行兼容的难度和成本很低,只需要在配套的打印机APP的AndroidManifest中响应一个指定的action即可。
实施例2
本实施例提供一种实现上述方法的系统,包括:
打印机兼容APP:安装在移动设备中;用于将用户要打印的内容发送到服务器端;用于在收到服务器端返回的PDF文档的下载链接后检测移动设备中是否有打印机APP响应了固定的action,如果有,打印机兼容APP在移动设备的显示界面上显示打印按钮;用于在用户点击打印按钮后,按照PDF文档的下载链接将PDF文档下载到移动设备本地,再调用响应了所述固定的action的打印机APP并向其传递PDF文档的存放路径;
服务器端:用于根据打印尺寸对用户要打印的内容进行排版并生成一个PDF文档,然后将该PDF文档的下载链接返回至打印机兼容APP;
打印机APP:其AndroidManifest中响应一个指定的action,用于在接收到来自打印机兼容APP的PDF文档的存放路径后控制对应的智能打印机完成打印。
对于本领域的技术人员来说,可以根据以上的技术方案和构思,给出各种相应的改变和变形,而所有的这些改变和变形,都应该包括在本发明权利要求的保护范围之内。
Claims (2)
1.一种兼容多种智能打印机的方法,其特征在于,具体过程为:
S1、首先在移动设备上安装打印机兼容APP,同时安装所购买的智能打印机配套的打印机APP,所述打印机APP的AndroidManifest中响应一个固定的action;
S2、用户将要打印的内容通过打印机兼容APP发送到服务器端,服务器端根据打印尺寸对要打印的内容进行排版并生成一个PDF文档,然后将该PDF文档的下载链接返回至打印机兼容APP;
S3、所述打印机兼容APP检测移动设备中是否有打印机APP响应了所述固定的action,如果有,打印机兼容APP在移动设备的显示界面上显示打印按钮;
S4、用户点击打印按钮后,所述打印兼容APP按照PDF文档的下载链接将PDF文档下载到移动设备本地,再调用响应了所述固定的action的打印机APP并向其传递PDF文档的存放路径;
S5、所述打印机APP收到PDF文档的存放路径后,自行控制对应的智能打印机进行打印。
2.一种实现上述权利要求1所述方法的系统,其特征在于,包括:
打印机兼容APP:安装在移动设备中;用于将用户要打印的内容发送到服务器端;用于在收到服务器端返回的PDF文档的下载链接后检测移动设备中是否有打印机APP响应了固定的action,如果有,打印机兼容APP在移动设备的显示界面上显示打印按钮;用于在用户点击打印按钮后,按照PDF文档的下载链接将PDF文档下载到移动设备本地,再调用响应了所述固定的action的打印机APP并向其传递PDF文档的存放路径;
服务器端:用于根据打印尺寸对用户要打印的内容进行排版并生成一个PDF文档,然后将该PDF文档的下载链接返回至打印机兼容APP;
打印机APP:其AndroidManifest中响应一个指定的action,用于在接收到来自打印机兼容APP的PDF文档的存放路径后控制对应的智能打印机完成打印。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110379786.2A CN112988092B (zh) | 2021-04-08 | 2021-04-08 | 一种兼容多种智能打印机的方法及系统 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110379786.2A CN112988092B (zh) | 2021-04-08 | 2021-04-08 | 一种兼容多种智能打印机的方法及系统 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112988092A CN112988092A (zh) | 2021-06-18 |
CN112988092B true CN112988092B (zh) | 2023-05-26 |
Family
ID=76339493
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110379786.2A Active CN112988092B (zh) | 2021-04-08 | 2021-04-08 | 一种兼容多种智能打印机的方法及系统 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112988092B (zh) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6757071B1 (en) * | 1999-11-09 | 2004-06-29 | Xerox Corporation | Intelligent printer driver and user interface and method to recommend and/or automatically modify a document for printing, and a method therefore |
CN107943437A (zh) * | 2017-12-06 | 2018-04-20 | 高新现代智能系统股份有限公司 | 兼容多种打印机的打印方法、装置及存储介质 |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8189225B1 (en) * | 2011-10-04 | 2012-05-29 | Google Inc. | Printing to a cloud printer via NFC |
US10846244B1 (en) * | 2012-05-10 | 2020-11-24 | Majid Amani | System for providing an alternative control interface to specialty devices |
CN106033325A (zh) * | 2015-03-11 | 2016-10-19 | 上海小葱网络科技有限公司 | 一种在Android上基于Z-wave的传输打印方法及系统 |
JP2017157114A (ja) * | 2016-03-04 | 2017-09-07 | キヤノン株式会社 | 情報処理システム、情報処理装置、画像処理装置、制御方法および拡張プログラム |
CN107203358B (zh) * | 2017-05-24 | 2021-02-19 | 千寻位置网络有限公司 | 远程打印装置及实现方法 |
CN108897505A (zh) * | 2018-06-27 | 2018-11-27 | 扬州大学 | 一种移动端通用服务打印方法 |
US10255009B1 (en) * | 2018-09-28 | 2019-04-09 | Konica Minolta Laboratory U.S.A., Inc. | System and method for displaying a printing software user interface |
CN110647300A (zh) * | 2019-09-02 | 2020-01-03 | 深圳市特康生物工程有限公司 | 一种android平台QT程序使用打印机的方法 |
-
2021
- 2021-04-08 CN CN202110379786.2A patent/CN112988092B/zh active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6757071B1 (en) * | 1999-11-09 | 2004-06-29 | Xerox Corporation | Intelligent printer driver and user interface and method to recommend and/or automatically modify a document for printing, and a method therefore |
CN107943437A (zh) * | 2017-12-06 | 2018-04-20 | 高新现代智能系统股份有限公司 | 兼容多种打印机的打印方法、装置及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN112988092A (zh) | 2021-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106126134B (zh) | 智能打印方法及系统 | |
US8228535B2 (en) | Print controlling apparatus, print controlling method, and printer controlling system for displaying a user interface window | |
CN108762698B (zh) | 一种耗材防伪方法及成像打印系统 | |
CN101739726B (zh) | 打印控制方法及装置 | |
CN103369176B (zh) | 显示输入装置和具有该显示输入装置的图像形成装置 | |
CN101860643B (zh) | 图像形成装置、图像处理终端和包括它们的图像形成系统 | |
US9747059B2 (en) | System, apparatus, and information processing method for delivering event information indicating an event generated in an apparatus to one or more processors of the apparatus | |
JP2010011362A5 (zh) | ||
WO2001035346A3 (en) | System and method of printing labels | |
WO2002041192A3 (en) | Direct printing of contents of a universal resource locator | |
US20120044525A1 (en) | Information-displaying system and information display method | |
JP2010006016A5 (zh) | ||
CN112988092B (zh) | 一种兼容多种智能打印机的方法及系统 | |
CN103914266A (zh) | 分配云端数据并由群组打印端主动打印该云端数据的方法 | |
EP1462976A3 (en) | Slip printing system | |
US10178179B2 (en) | Information distribution system, information distribution apparatus, and information distribution method | |
US20130215451A1 (en) | Method and apparatus for automatically detecting page description languages supported by image production devices | |
JP2001353929A (ja) | 印刷装置 | |
JP2023031792A (ja) | 情報処理装置および情報処理方法 | |
SG138461A1 (en) | Interactive printer | |
US20210150579A1 (en) | System and method for advertising by means of back of cash register paper | |
US20040239978A1 (en) | Method and apparatus for tracking a plurality of image devices in a network | |
CN113220247A (zh) | 支持手机端控制usb口打印机打印的方法 | |
KR20040032205A (ko) | 온 라인 도움말 기능을 갖는 이미지 출력장치 및 그도움말 제공방법 | |
JP7368140B2 (ja) | データ更新システム、プリンタ及び制御プログラム |
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 |