CN1242545A - Computer system for printing HTML document - Google Patents
Computer system for printing HTML document Download PDFInfo
- Publication number
- CN1242545A CN1242545A CN 99107988 CN99107988A CN1242545A CN 1242545 A CN1242545 A CN 1242545A CN 99107988 CN99107988 CN 99107988 CN 99107988 A CN99107988 A CN 99107988A CN 1242545 A CN1242545 A CN 1242545A
- Authority
- CN
- China
- Prior art keywords
- html
- printer
- html document
- document
- url
- 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
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
本发明涉及用于打印HTML(超文本标识语言)文档的计算机系统,特别涉及包括能够减少处理时间以及用于客户机的负担的打印装置的计算机系统。The present invention relates to a computer system for printing HTML (Hypertext Markup Language) documents, and more particularly to a computer system including a printing device capable of reducing processing time and burden for a client.
具有用于打印超文本文档(例如,超文本标识语言文档)的功能的打印机系统越来越多地用于计算机系统中。在这种打印装置中,当要打印通过多个超级链接层相关联的超文本文档时,目标超文本文档被首先显示于客户机的显示装置的窗口中,并通过利用打印命令依次打印。Printer systems having functions for printing hypertext documents (eg, hypertext markup language documents) are increasingly used in computer systems. In such a printing device, when hypertext documents associated by a plurality of hyperlink layers are to be printed, target hypertext documents are first displayed in a window of a display device of a client computer, and sequentially printed by using a print command.
参见图1,常规的打印装置包括多个包含客户计算机18的客户计算机、用于存储要被打印的超文本标识语言文档42的服务计算机20、以及用于打印由客户计算机18所指定的超文本标识语言文档的打印机23,所有这些都通过网络24相互连接以进行数据传输。Referring to FIG. 1, a conventional printing apparatus includes a plurality of client computers comprising
服务计算机20包括HTTP(超文本传输协议)服务器41并存储超文本标识语言文档42。术语“HTTP”表示通常用于访问网址的传输协议。客户计算机18包括用于访问网址主页的超文本标识语言浏览器21。打印机23包括用于把打印机23与网络24相连接的网络接口16、用于翻译根据打印机语言的文档以产生打印机语言数据的打印机语言程序14、以及用于根据来自打印机语言程序14的打印机语言数据打印文档的打印机引擎。The
在上述常规打印装置中,客户计算机18通过利用超文本标识语言浏览器21指定在因特网上的所需超文本标识语言文档42,以在其显示装置上显示超文本标识语言文档42。然后客户计算机18选择在超文本标识语言浏览器21上的打印命令,指定多个打印机中的打印机23,通过利用包含于客户计算机18的操作系统中的打印驱动器把超文本标识语言文档42转换为打印机语言数据。In the conventional printing apparatus described above, the
当客户计算机18为处理超文本标识语言文档42的打印而工作时,该任务加在客户计算机18上,并消耗大量的时间。另外,打印语言取决于打印机的型号或制造商,并且从超文本标识语言文档到打印机语言的转换取决于客户计算机18的操作系统。因此,客户计算机必须具有工作于其操作系统上并取决于打印机的型号或制造商的转换模块。When the
因此本发明的目的是提供一种具有打印装置的计算机系统,它能够减轻客户计算机的负担并能够省去用于把超文本标识语言文档转换为打印机语言数据的转换模块。It is therefore an object of the present invention to provide a computer system with a printing device which can reduce the load on a client computer and can dispense with a conversion module for converting an HTML document into printer language data.
本发明提供一种打印机系统,其中包括用于存储具有其统一资源定位符(URL)的超文本标识语言文档的服务计算机、具有用于指定超文本标识语言文档的统一资源定位符的功能的客户计算机、以及用于根据打印语言打印的打印装置,它们都通过用于数据传输的网络相互连接,该打印装置包括用于根据由客户计算机所指定的统一资源定位符接收来自服务计算机的超文本标识语言文档的文档接收部分。The present invention provides a printer system including a service computer for storing a hypertext markup language document having its uniform resource locator (URL), a client having a function for specifying the URL of the hypertext markup language document A computer, and a printing device for printing according to a printing language, all interconnected by a network for data transmission, the printing device including a hypertext identifier for receiving from a service computer according to a uniform resource locator specified by the client computer The document reception section of the language document.
根据本发明的计算机系统,通过在打印机中提供可以不需要客户计算机帮助即可接收由客户计算机所指定的来自服务计算机超文本标识语言文档的文档接收部分,客户计算机的负担可以减轻,并且客户计算机的处理时间可以减少。According to the computer system of the present invention, by providing in the printer a document receiving portion that can receive a hypertext markup language document specified by a client computer from a service computer without the help of the client computer, the burden on the client computer can be reduced, and the client computer The processing time can be reduced.
在下文参照附图的描述中,本发明的上述目的、特点和优点将变得更加清楚。The above objects, features and advantages of the present invention will become more apparent in the following description referring to the accompanying drawings.
图1是具有用于打印超文本标识语言文档的常规计算机系统的方框图。Figure 1 is a block diagram of a conventional computer system for printing HTML documents.
图2是包括根据本发明第一实施例的打印装置的计算机系统的方框图。Fig. 2 is a block diagram of a computer system including a printing apparatus according to a first embodiment of the present invention.
图3是图1中所示的超文本标识语言转换器的流程图。FIG. 3 is a flowchart of the HTML converter shown in FIG. 1 .
图4是包括根据本发明第二实施例的打印装置的计算机系统的方框图。Fig. 4 is a block diagram of a computer system including a printing apparatus according to a second embodiment of the present invention.
图5是包括根据本发明第二实施例的打印装置的计算机系统的流程图。5 is a flowchart of a computer system including a printing apparatus according to a second embodiment of the present invention.
现在参照附图更加具体地描述本发明,其中在附图中相似的构成部分或相似的步骤由相似的参考标号所标记。The present invention will now be described more specifically with reference to the accompanying drawings, in which like constituent parts or like steps are marked with like reference numerals.
参见图2,包括根据本发明第一实施例的打印装置的计算机系统中包括多个包含该图中所示的特定客户计算机18的客户计算机、多个包括具有用于打印超文本标识语言的功能的特定打印机17的打印机、用于辅助打印机17的功能的打印机辅助服务器,用于存储包括特定超文本标识语言文档42的多个超文本标识语言文档的服务计算机20,它们都通过网络22相连接。Referring to Fig. 2, the computer system comprising the printing apparatus according to the first embodiment of the present invention includes a plurality of client computers comprising the
例如,其中一些包括特定客户计算机18的客户计算机、一些包括特定打印机17的打印机、以及单个打印机辅助服务器19置于单独的区域中(例如,在单个公司或建筑物中),而多个包括服务计算机20的服务计算机置于该区域的外部。For example, some of the client computers including a
客户计算机18具有用于读出作为WWW(万维网)主页存在服务计算机20中的超文本标识语言文档42的超文本标识语言浏览器21。打印机辅助服务器19包括超文本传输协议服务器31和用于把特定对象转换为打印机17可以打印的位图数据的对象转换器32。服务计算机20包括HTTP服务器21并存储根据来自客户计算机18的指令而被打印的超文本标识语言文档42。The
打印机17包括HTTP服务器11、URL寄存器12、HTML转换器13、打印机语言程序14、打印机引擎15、以及网络接口16。The
HTTP服务器11通过网络接口16和网络22与客户计算机18的HTML浏览器21进行通信。URL寄存器12接收的HTML文档42的URL,该HTML文档由客户计算机18所指定用于打印,并通过HTTP服务器11和网络接口16来自客户计算机18的HTML浏览器21。The HTTP
HTML转换器13根据存储于URL寄存器12中的URL通过网络接口16和网络与服务计算机20的HTTP服务器41进行通信,接收具有存储于URL寄存器12中的URL的用于打印的HTML文档42,并把其转换为打印机语言数据。当HTML转换器13发现该HTML文档42附带有不能在其平台上转换的内嵌对象时,HTML转换器13通过HTTP服务器31与对象转换器32进行通信,并请求该对象转换器32把该内嵌对象转换为位图数据。The HTML
该打印机语言程序14进一步把由打印机语言所确定并接收自HTML转换器13的HTML文档转换为包含字符和图像数据的打印数据。打印机引擎15根据接收自打印机语言程序14的图像或字符数据执行HTML文档42的打印。The
客户计算机18利用HTML浏览器21通过HTTP服务器11与打印机17进行通信。在URL寄存器由HTML浏览器21通过HTTP服务器11进行访问之后,客户计算机18指定在URL寄存器12中的HTML文档42的URL。因此,HTML转换器13根据存储于URL寄存器12中的HTML文档42的URL与服务计算机20的HTTP服务器41进行通信,并接收HTML文档42的数据。HTML转换器13把HTML文档42的字符或位图数据转换为用于打印机17中的打印机语言数据,并把转换后的数据传输到打印机语言程序14。The
在本实施例中,URL寄存器12和HTML转换器13构成用于根据来自客户计算机18的请求从服务计算机20接收指定HTML文档42的文档接收部分。In this embodiment, the
在工作时,用户操作客户计算机18以在打印机17中起动客户计算机18与HTTP服务器11之间的通信,并根据HTTP服务器11的超级链接访问URL寄存器12的“由URL指示打印”的网页。这样,URL寄存器12通过用于接收来自客户服务器18的请求的HTTP服务器11以HTML格式提供“由URL指示打印”的空白表格。然后客户计算机18通过指定在URL寄存器12中的HTML文档42的URL,请求打印机17打印包括内嵌对象的HTML文档42。At work, the user operates the
所需的HTML文档42的URL通过URL寄存器12发送到HTML转换器13。The URL of the desired HTML
参见示出HTML转换器13的操作的流程图的图3,HTML转换器13在步骤S100通过HTTP服务器41和网络22接收来自服务计算机20的具有由用户所指定的URL的HTML文档42。然后,HTML转换器13在步骤S101把HTML文档42压缩为多种包含可能包括控制码的字符、位图数据、以及内嵌对象的HTML构成元素。在步骤S102中,这些种类被检测以判断是否每个元素为可以被在其平台上转换为用于打印机17中的打印机语言的字符或位图数据。Referring to FIG. 3 showing a flowchart of the operation of the HTML
如果在步骤S102中判断出该元素为字符或位图数据,则HTML转换器13在步骤S103把该元素转换为打印机语言数据。另一方面,如果在步骤S102中判断该该元素不是字符或位图数据,即该元素为内嵌对象,则HTML转换器在步骤S200中通过网络接口16和网络22与打印机辅助服务器19中的对象转换器32进行通信,并请求对象转换器32把该内嵌对象转换为位图数据。If it is judged in step S102 that the element is character or bitmap data, the HTML
如果在步骤S200之后的步骤S201的判断结果为该内嵌对象被成功地转换为位图数据,则该进程进入步骤S103,其中内嵌对象被进一步转换为打印机语言数据。如果在步骤S201中判断处该内嵌对象不被转换为位图数据,则HTML转换器13产生伪位图数据来取代该内嵌对象数据。在步骤S104中,如果在整个HTML文档中的所有元素都没有经过上述步骤,则进程返回到用于其它剩余元素的步骤S101。If the result of determination in step S201 after step S200 is that the embedded object is successfully converted into bitmap data, the process proceeds to step S103, wherein the embedded object is further converted into printer language data. If it is judged in step S201 that the embedded object is not converted into bitmap data, the HTML
在HTML转换器13把所有在整个HTML文档42中的构成元素转换为具有或不具有伪数据的打印机语言数据,该打印机语言程序14把打印机语言数据转换为打印机引擎15可以处理的打印数据。因此,打印机17打印由客户计算机18所指定的HTML文档42,而不需要客户计算机18的任何帮助。用于不能被转换为位图数据的内嵌对象的图像被伪数据图像所代替。The HTML
参见图4,根据本发明第二实施例的打印装置类似于第一实施例,只是由用户所指定的HTML文档42表示通过多个其中的超级链接层与HTML文档42互相关的多个HTML文档。Referring to FIG. 4, the printing apparatus according to the second embodiment of the present invention is similar to the first embodiment, except that the HTML
在用户要求打印机打印文档的操作中,URL寄存器12通过HTTP服务器11和网络22接收由用户和有限数目的从该HTML文档42追溯超级链接层所指定的HTML文档42的URL。In an operation where the user requests the printer to print the document, the
HTML转换器13根据HTML文档42的URL和存储于URL寄存器12中的有限数目的超级链接层从服务计算机20接收HTML文档42。然后,HTML转换器13把接收到的HTML文档42按照各部件转换为打印机语言数据。如果HTML转换器13判断出该HTML文档42具有HTML转换器13不能在其平台上转换的内嵌对象,则HTML转换器13通过打印机辅助服务器19的HTTP服务器31与对象转换器32进行通信,并请求对象转换器32转换该内嵌对象。然后,HTML转换器13根据嵌入该HTML文档42中的超级链接接收该HTML文档的所有URL,并对该HTML文档检测超级链接的层数。如果用于一个HTML文档的层数不高于由用户所指定的限度,则HTML转换器13循环地把该与其它HTML文档相分离的HTML文档转换为打印机语言数据。打印机语言程序14把打印机语言数据转换为打印数据。例如图像或字符数据。然后,打印机引擎15在记录页上打印数据。The HTML
在操作中,URL寄存器12在接收到来自客户计算机18的请求后把HTML邮件发送给HTML浏览器21。HTML邮件是用于指定HTML文档42的URL和来自要由打印机17所打印的原始HTML文档42的有限超级链接层数的空白表格。用户指定HTML文档42的URL,并请求打印机17打印包含由在HTML文档42中的超级链接所指定的HTML文档的HTML文档42,该超级链接在该表格所指定的层数限度内。In operation,
来自客户计算机18的HTML邮件被通过URL寄存器12发送给HTML转换器13。HTML mail from the
参见图5,其中示出在本实施例中由HTML转换器13进行操作的流程图,HTML转换器13通过HTTP服务器41和网络22从服务计算机20接收具有由用户在步骤S100所指定的URL的HTML文档42。然后,HTML转换器13在步骤S101把HTML文档42分解为包括字符(可以包括控制码)、位图数据和内嵌对象的多个特定的HTML元素。Referring to Fig. 5, there is shown the flowchart that is operated by
在步骤S102,这些元素被一个接一个地检测以判断是否每个元素都是可以在其平台上转换为用于打印机17中的打印机语言数据的字符或位图数据。如果在步骤S102判断出该元素是字符或位图数据,则HTML转换器13在步骤S103把该元素转换为打印机语言数据。另一方面,如果在步骤S102判断出该元素既不是字符也不是位图数据,则在步骤S203进一步检测该元素是否为超级链接。如果在步骤S203中判断该元素为超级链接,则在步骤S204判断是否当前超级链接的层数的限度大于0。In step S102, the elements are checked one by one to judge whether each element is character or bitmap data that can be converted into printer language data for use in the
如果在步骤S204判断出该层数的当前限度大于0,则HTML转换器13在步骤S205重复自身调用,以接收和打印由在HTML文档42中的超级链接所指定的另一个HTML文档。在该步骤中,当前URL由该另一个HTML文档的新的URL所代替,并且超级链接的层数的限度减1并被定义为新的限度。换句话说,HTML转换器13的另一个窗口被启动,其中超级链接的层数的当前限度是一个参数,并且另一个由该超级链接所指定的文档的URL是新的URL。在步骤S205之后,该过程进入到步骤S104。If it is judged in step S204 that the current limit of the number of levels is greater than 0, the
另一方面,如果步骤S203判断出该元素为内嵌对象,则该过程进入到步骤S200,其中HTML转换器13与对象转换器32进行通信并请求该对象转换器转换该内嵌对象。如果在步骤S201中判断出对嵌对象被成功地转换为位图数据,则该过程进入到步骤S103,其中该内嵌对象被进一步转换为打印机语言数据。如果在步骤S201中判断该内嵌对象不被转换为位图数据,则HTML转换器13产生一伪位图数据取代该内嵌对象数据。在用于该元素的字符或位图数据被在步骤S103中转换为打印机语言数据之后,该过程进入到步骤S104,并且如果在步骤S104判断出并非所有的元素都被转换,则返回到步骤S101,从而对HTML文档中的每个元素重复执行所有步骤。因此,只要超级链接的层数不超过由用户所指定的限度,则在由用户和超级链接所指定的HTML文档中的所有元素都被转换。On the other hand, if step S203 judges that the element is an embedded object, the process proceeds to step S200, where the
在步骤S104判断出该HTML转换器13把所有在整个HTML文档42中的元素都转换为带有或不带有伪数据的打印机语言数据之后,打印机语言程序14把该打印机语言数据翻译为打印机引擎15可以处理的打印数据。因此,打印机17打印所有由在层数的限度内的超级链接所指定的HTML文档。对于不能被转换为位图数据的对象的图像被伪数据图像所代替。After step S104 judges that the
在上述实施例中,提供单个打印机辅助服务器,但是也可以提供多个打印机辅助服务器以通过把任务分散给多个打印机辅助服务器而减轻单个打印机辅助服务器的负担。In the above-described embodiments, a single printer auxiliary server is provided, but a plurality of printer auxiliary servers may be provided to reduce the burden on a single printer auxiliary server by distributing tasks to a plurality of printer auxiliary servers.
由于上述实施例只是为举例说明,因此本发明不限于上述实施例,还可以容易地由本技术领域内的专业技术人员作出各种改变或变化而不脱离本发明范围。Since the above-mentioned embodiments are only for illustration, the present invention is not limited to the above-mentioned embodiments, and various changes or changes can be easily made by those skilled in the art without departing from the scope of the present invention.
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 99107988 CN1242545A (en) | 1998-06-09 | 1999-06-09 | Computer system for printing HTML document |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP160326/1998 | 1998-06-09 | ||
| CN 99107988 CN1242545A (en) | 1998-06-09 | 1999-06-09 | Computer system for printing HTML document |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN1242545A true CN1242545A (en) | 2000-01-26 |
Family
ID=5273066
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 99107988 Pending CN1242545A (en) | 1998-06-09 | 1999-06-09 | Computer system for printing HTML document |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1242545A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100377121C (en) * | 2003-01-21 | 2008-03-26 | 兄弟工业株式会社 | Communication system |
| CN100440194C (en) * | 2000-06-21 | 2008-12-03 | 微软公司 | Write arbitrary XML documents using DHTML and XSLT |
| CN100458678C (en) * | 2000-12-15 | 2009-02-04 | 佳能株式会社 | Printing on internet |
| US8068247B2 (en) | 2002-06-26 | 2011-11-29 | Microsoft Corporation | System and method for users of mobile computing devices to print documents |
-
1999
- 1999-06-09 CN CN 99107988 patent/CN1242545A/en active Pending
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100440194C (en) * | 2000-06-21 | 2008-12-03 | 微软公司 | Write arbitrary XML documents using DHTML and XSLT |
| CN100458678C (en) * | 2000-12-15 | 2009-02-04 | 佳能株式会社 | Printing on internet |
| US8068247B2 (en) | 2002-06-26 | 2011-11-29 | Microsoft Corporation | System and method for users of mobile computing devices to print documents |
| CN101526889B (en) * | 2002-06-26 | 2012-07-04 | 微软公司 | Document printing system and method of mobile computing device users |
| CN100377121C (en) * | 2003-01-21 | 2008-03-26 | 兄弟工业株式会社 | Communication system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7535583B2 (en) | Printer-based pre-ripping and caching of network documents | |
| US7073119B2 (en) | System for retrieving and printing network documents | |
| US6959437B2 (en) | System and method for installing printer driver software | |
| US7978360B2 (en) | Print system | |
| US7970866B2 (en) | Print system including application server to select printer driver for client specific print information | |
| JP3733673B2 (en) | Network-compatible printing apparatus, printing method, and network printing system | |
| EP0964339A2 (en) | Computer system for printing a HTML document | |
| US7240118B2 (en) | Network system, network device, access restriction method for network device, storage medium, and program | |
| EP0886206A3 (en) | Network printer with remote print queue control procedure | |
| EP1241575A2 (en) | System and method for distributed processing | |
| US20050094176A1 (en) | Information-processing apparatus, method, program, and a medium for file operation | |
| CN1242545A (en) | Computer system for printing HTML document | |
| CN1649343A (en) | Generating and providing device management data via network | |
| JP4045800B2 (en) | Printing system and method | |
| US6934912B2 (en) | System and method for providing a history list of existing imaging compositions | |
| WO1998058335A2 (en) | Storing electronically transmitted facsimiles on a web site | |
| CN1450472A (en) | Data process apparatus, terminal device and data process system | |
| US20030084008A1 (en) | System for purchasing postage electronically in a distributed processing environment | |
| US7333979B2 (en) | Image processing apparatus having web server function | |
| JP3685186B2 (en) | Network printing system | |
| CN1497470A (en) | Image output device with online help function and method for providing help function | |
| JP4787655B2 (en) | Information processing apparatus, display control apparatus, information processing system, information processing method, display control method, information processing program, and display control program | |
| JP2003114776A (en) | Network-compatible printing apparatus, printing method, and printing system | |
| US20020188693A1 (en) | System and method for requesting service for imaging data to a web service | |
| CN1432901A (en) | network printing system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C06 | Publication | ||
| PB01 | Publication | ||
| C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
| WD01 | Invention patent application deemed withdrawn after publication |