[go: up one dir, main page]

CN1242545A - Computer system for printing HTML document - Google Patents

Computer system for printing HTML document Download PDF

Info

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
Application number
CN 99107988
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to CN 99107988 priority Critical patent/CN1242545A/en
Publication of CN1242545A publication Critical patent/CN1242545A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

To provide a printing system which mitigates processing on a user-side computer when an acquired HTML document is printed. In this printing system wherein the user-side computer 18, a computer 20 having an HTML document 42, and a printer 17 which prints the HTML document 42 are so connected as to communicate with one another, document acquiring means (12 and 13) which obtain the HTML document 42 from the computer 20 at a request from the computer 18 are arranged on the printer 17. Consequently, when the obtained HTML document is printed, the processing on the user-side computer can be mitigated.

Description

用于打印超文本标识语言文档的计算机系统Computer system for printing hypertext markup language documents

本发明涉及用于打印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 client computer 18, a server computer 20 for storing hypertext markup language documents 42 to be printed, and a hypertext file specified by client computer 18 for printing. Printers 23 for documents in the logo language, all of which are interconnected via a network 24 for data transfer.

服务计算机20包括HTTP(超文本传输协议)服务器41并存储超文本标识语言文档42。术语“HTTP”表示通常用于访问网址的传输协议。客户计算机18包括用于访问网址主页的超文本标识语言浏览器21。打印机23包括用于把打印机23与网络24相连接的网络接口16、用于翻译根据打印机语言的文档以产生打印机语言数据的打印机语言程序14、以及用于根据来自打印机语言程序14的打印机语言数据打印文档的打印机引擎。The service computer 20 includes an HTTP (Hypertext Transfer Protocol) server 41 and stores a Hypertext Markup Language document 42 . The term "HTTP" refers to the transport protocol commonly used to access web addresses. The client computer 18 includes an HTML browser 21 for accessing the home page of the website. The printer 23 includes a network interface 16 for connecting the printer 23 to the network 24, a printer language program 14 for translating documents according to the printer language to produce printer language data, and a A printer engine that prints documents.

在上述常规打印装置中,客户计算机18通过利用超文本标识语言浏览器21指定在因特网上的所需超文本标识语言文档42,以在其显示装置上显示超文本标识语言文档42。然后客户计算机18选择在超文本标识语言浏览器21上的打印命令,指定多个打印机中的打印机23,通过利用包含于客户计算机18的操作系统中的打印驱动器把超文本标识语言文档42转换为打印机语言数据。In the conventional printing apparatus described above, the client computer 18 designates a desired HTML document 42 on the Internet by using the HTML browser 21 to display the HTML document 42 on its display device. The client computer 18 then selects a print command on the HTML browser 21, designates the printer 23 of the plurality of printers, and converts the HTML document 42 into Printer language data.

当客户计算机18为处理超文本标识语言文档42的打印而工作时,该任务加在客户计算机18上,并消耗大量的时间。另外,打印语言取决于打印机的型号或制造商,并且从超文本标识语言文档到打印机语言的转换取决于客户计算机18的操作系统。因此,客户计算机必须具有工作于其操作系统上并取决于打印机的型号或制造商的转换模块。When the client computer 18 is working to process the printing of the HTML document 42, this task is taxing on the client computer 18 and consumes a significant amount of time. In addition, the printing language depends on the model or manufacturer of the printer, and the conversion from the HTML document to the printer language depends on the operating system of the client computer 18 . Therefore, the client computer must have a conversion module that works on its operating system and depends on the model or manufacturer of the printer.

因此本发明的目的是提供一种具有打印装置的计算机系统,它能够减轻客户计算机的负担并能够省去用于把超文本标识语言文档转换为打印机语言数据的转换模块。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 specific client computer 18 shown in the figure, a plurality of client computers having a function for printing hypertext markup language A printer of a specific printer 17, a printer auxiliary server for assisting the function of the printer 17, a service computer 20 for storing a plurality of HTML documents including a specific HTML document 42, and they are all connected by a network 22 .

例如,其中一些包括特定客户计算机18的客户计算机、一些包括特定打印机17的打印机、以及单个打印机辅助服务器19置于单独的区域中(例如,在单个公司或建筑物中),而多个包括服务计算机20的服务计算机置于该区域的外部。For example, some of the client computers including a particular client computer 18, some of the printers including a particular printer 17, and a single printer-assisted server 19 are placed in separate areas (e.g., in a single company or building), while multiple including service The service computer of the computer 20 is placed outside the area.

客户计算机18具有用于读出作为WWW(万维网)主页存在服务计算机20中的超文本标识语言文档42的超文本标识语言浏览器21。打印机辅助服务器19包括超文本传输协议服务器31和用于把特定对象转换为打印机17可以打印的位图数据的对象转换器32。服务计算机20包括HTTP服务器21并存储根据来自客户计算机18的指令而被打印的超文本标识语言文档42。The client computer 18 has an HTML browser 21 for reading out an HTML document 42 stored in the service computer 20 as a WWW (World Wide Web) home page. The printer auxiliary server 19 includes a hypertext transfer protocol server 31 and an object converter 32 for converting a specific object into bitmap data that the printer 17 can print. The service computer 20 includes an HTTP server 21 and stores a hypertext markup language document 42 which is printed according to an instruction from the client computer 18 .

打印机17包括HTTP服务器11、URL寄存器12、HTML转换器13、打印机语言程序14、打印机引擎15、以及网络接口16。The printer 17 includes an HTTP server 11 , a URL register 12 , an HTML converter 13 , a printer language program 14 , a printer engine 15 , and a network interface 16 .

HTTP服务器11通过网络接口16和网络22与客户计算机18的HTML浏览器21进行通信。URL寄存器12接收的HTML文档42的URL,该HTML文档由客户计算机18所指定用于打印,并通过HTTP服务器11和网络接口16来自客户计算机18的HTML浏览器21。The HTTP server 11 communicates with the HTML browser 21 of the client computer 18 through the network interface 16 and the network 22 . The URL register 12 receives the URL of the HTML document 42 specified for printing by the client computer 18 and from the HTML browser 21 of the client computer 18 via the HTTP server 11 and the network interface 16 .

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 converter 13 communicates with the HTTP server 41 of the service computer 20 through the network interface 16 and the network according to the URL stored in the URL register 12, receives the HTML document 42 for printing having the URL stored in the URL register 12, and Convert it to printer language data. When the HTML converter 13 finds that the HTML document 42 is accompanied by an embedded object that cannot be converted on its platform, the HTML converter 13 communicates with the object converter 32 through the HTTP server 31, and requests the object converter 32 to convert the embedded object Embedded objects are converted to bitmap data.

该打印机语言程序14进一步把由打印机语言所确定并接收自HTML转换器13的HTML文档转换为包含字符和图像数据的打印数据。打印机引擎15根据接收自打印机语言程序14的图像或字符数据执行HTML文档42的打印。The printer language program 14 further converts the HTML document determined by the printer language and received from the HTML converter 13 into print data including character and image data. The printer engine 15 executes printing of the HTML document 42 based on image or character data received from the printer language program 14 .

客户计算机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 client computer 18 communicates with the printer 17 through the HTTP server 11 using the HTML browser 21 . After the URL register is accessed by the HTML browser 21 through the HTTP server 11, the client computer 18 specifies the URL of the HTML document 42 in the URL register 12. Accordingly, the HTML converter 13 communicates with the HTTP server 41 of the service computer 20 based on the URL of the HTML document 42 stored in the URL register 12 and receives data of the HTML document 42 . The HTML converter 13 converts character or bitmap data of the HTML document 42 into printer language data for use in the printer 17 and transmits the converted data to the printer language program 14 .

在本实施例中,URL寄存器12和HTML转换器13构成用于根据来自客户计算机18的请求从服务计算机20接收指定HTML文档42的文档接收部分。In this embodiment, the URL register 12 and the HTML converter 13 constitute a document receiving section for receiving a specified HTML document 42 from the service computer 20 according to a request from the client computer 18 .

在工作时,用户操作客户计算机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 client computer 18 to start communication between the client computer 18 and the HTTP server 11 in the printer 17, and accesses the "print by URL instruction" web page of the URL register 12 according to the hyperlink of the HTTP server 11. Thus, the URL register 12 provides a blank form of "instruction to print by URL" in HTML format through the HTTP server 11 for receiving a request from the client server 18. The client computer 18 then requests the printer 17 to print the HTML document 42 including the embedded object by specifying the URL of the HTML document 42 in the URL register 12 .

所需的HTML文档42的URL通过URL寄存器12发送到HTML转换器13。The URL of the desired HTML document 42 is sent to the HTML converter 13 via the URL register 12 .

参见示出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 converter 13, the HTML converter 13 receives an HTML document 42 having a URL specified by a user from the service computer 20 through the HTTP server 41 and the network 22 at step S100. Then, the HTML converter 13 compresses the HTML document 42 into various HTML constituent elements including characters possibly including control codes, bitmap data, and embedded objects in step S101. In step S102, the categories are checked to judge whether each element is character or bitmap data that can be converted into the printer language used in the printer 17 on its platform.

如果在步骤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 converter 13 converts the element into printer language data in step S103. On the other hand, if it is judged in step S102 that this element is not character or bitmap data, that is, this element is an inline object, then the HTML converter passes through network interface 16 and network 22 and printer auxiliary server 19 in step S200 The object converter 32 communicates and requests the object converter 32 to convert the embedded object into bitmap data.

如果在步骤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 converter 13 generates dummy bitmap data instead of the embedded object data. In step S104, if all elements in the entire HTML document have not passed through the above steps, the process returns to step S101 for other remaining elements.

在HTML转换器13把所有在整个HTML文档42中的构成元素转换为具有或不具有伪数据的打印机语言数据,该打印机语言程序14把打印机语言数据转换为打印机引擎15可以处理的打印数据。因此,打印机17打印由客户计算机18所指定的HTML文档42,而不需要客户计算机18的任何帮助。用于不能被转换为位图数据的内嵌对象的图像被伪数据图像所代替。The HTML converter 13 converts all constituent elements in the entire HTML document 42 into printer language data with or without dummy data, and the printer language program 14 converts the printer language data into print data that the printer engine 15 can process. Accordingly, the printer 17 prints the HTML document 42 specified by the client computer 18 without any assistance from the client computer 18 . Images for embedded objects that cannot be converted to bitmap data are replaced by dummy data images.

参见图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 document 42 designated by the user represents a plurality of HTML documents interrelated with the HTML document 42 through a plurality of hyperlink layers therein .

在用户要求打印机打印文档的操作中,URL寄存器12通过HTTP服务器11和网络22接收由用户和有限数目的从该HTML文档42追溯超级链接层所指定的HTML文档42的URL。In an operation where the user requests the printer to print the document, the URL register 12 receives the URL of the HTML document 42 specified by the user and a limited number of hyperlink layers traced back from the HTML document 42 via the HTTP server 11 and the network 22 .

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 converter 13 receives the HTML document 42 from the service computer 20 based on the URL of the HTML document 42 and a limited number of hyperlink levels stored in the URL register 12 . Then, the HTML converter 13 converts the received HTML document 42 into printer language data for each component. If the HTML converter 13 judges that the HTML document 42 has an embedded object that the HTML converter 13 cannot convert on its platform, the HTML converter 13 communicates with the object converter 32 through the HTTP server 31 of the printer auxiliary server 19, and Object converter 32 is requested to convert the embedded object. Then, the HTML converter 13 receives all URLs of the HTML document according to the hyperlinks embedded in the HTML document 42, and detects the number of layers of the hyperlinks in the HTML document. If the number of layers for an HTML document is not higher than the limit specified by the user, the HTML converter 13 cyclically converts the HTML document separated from other HTML documents into printer language data. The printer language program 14 converts printer language data into print data. For example image or character data. Then, the printer engine 15 prints the data on the recording sheet.

在操作中,URL寄存器12在接收到来自客户计算机18的请求后把HTML邮件发送给HTML浏览器21。HTML邮件是用于指定HTML文档42的URL和来自要由打印机17所打印的原始HTML文档42的有限超级链接层数的空白表格。用户指定HTML文档42的URL,并请求打印机17打印包含由在HTML文档42中的超级链接所指定的HTML文档的HTML文档42,该超级链接在该表格所指定的层数限度内。In operation, URL registry 12 sends HTML mail to HTML browser 21 upon receipt of a request from client computer 18 . The HTML mail is a blank form for specifying the URL of the HTML document 42 and a limited number of layers of hyperlinks from the original HTML document 42 to be printed by the printer 17 . The user designates the URL of the HTML document 42 and requests the printer 17 to print the HTML document 42 containing the HTML document specified by the hyperlink in the HTML document 42 within the limit of the number of layers specified by the form.

来自客户计算机18的HTML邮件被通过URL寄存器12发送给HTML转换器13。HTML mail from the client computer 18 is sent to the HTML converter 13 through the URL register 12 .

参见图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 HTML converter 13 in the present embodiment, and HTML converter 13 receives from service computer 20 through HTTP server 41 and network 22 have by the user in step S100 specified URL. HTML document 42. Then, the HTML converter 13 decomposes the HTML document 42 into a plurality of specific HTML elements including characters (which may include control codes), bitmap data and embedded objects in step S101.

在步骤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 printer 17 on its platform. If it is judged in step S102 that the element is character or bitmap data, the HTML converter 13 converts the element into printer language data in step S103. On the other hand, if it is judged in step S102 that the element is neither a character nor bitmap data, then in step S203 it is further checked whether the element is a hyperlink. If it is determined in step S203 that the element is a hyperlink, then in step S204 it is determined whether the level limit of the current hyperlink is greater than 0.

如果在步骤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 HTML converter 13 repeats its own call in step S205 to receive and print another HTML document specified by the hyperlink in the HTML document 42 . In this step, the current URL is replaced by the new URL of the other HTML document, and the limit of the number of layers of hyperlinks is reduced by 1 and defined as the new limit. In other words, another window of the HTML converter 13 is started in which the current limit of the number of layers of a hyperlink is a parameter, and the URL of another document specified by the hyperlink is a new URL. After step S205, the process proceeds to step S104.

另一方面,如果步骤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 HTML converter 13 communicates with the object converter 32 and requests the object converter to convert the embedded object. If it is judged in step S201 that the embedded object is successfully converted into bitmap data, the process proceeds to step S103, where 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 converter 13 generates dummy bitmap data instead of the embedded object data. After the character or bitmap data for the element is converted into printer language data in step S103, the process proceeds to step S104, and if it is judged in step S104 that not all elements are converted, then returns to step S101 , thereby repeating all steps for each element in the HTML document. Therefore, as long as the number of layers of hyperlinks does not exceed the limit specified by the user, all elements in the HTML document specified by the user and the hyperlink are converted.

在步骤S104判断出该HTML转换器13把所有在整个HTML文档42中的元素都转换为带有或不带有伪数据的打印机语言数据之后,打印机语言程序14把该打印机语言数据翻译为打印机引擎15可以处理的打印数据。因此,打印机17打印所有由在层数的限度内的超级链接所指定的HTML文档。对于不能被转换为位图数据的对象的图像被伪数据图像所代替。After step S104 judges that the HTML converter 13 converts all elements in the entire HTML document 42 into printer language data with or without dummy data, the printer language program 14 translates the printer language data into a printer engine 15 print data that can be processed. Therefore, the printer 17 prints all HTML documents specified by hyperlinks within the limit of the number of layers. Images for objects that cannot be converted to bitmap data are replaced by dummy data images.

在上述实施例中,提供单个打印机辅助服务器,但是也可以提供多个打印机辅助服务器以通过把任务分散给多个打印机辅助服务器而减轻单个打印机辅助服务器的负担。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)

1.一种计算机系统,其特征在于,其中包括用于存储具有其统一资源定位符(URL)的超文本标识语言(HTML)文档的服务计算机、具有用于指定超文本标识语言文档的统一资源定位符的功能的客户计算机、以及用于根据打印机语言打印的打印装置,它们都通过用于数据传输的网络相互连接,所述打印装置包括用于根据由所述客户计算机所指定的统一资源定位符接收来自所述服务计算机的所述超文本标识语言文档的文档接收部分。1. A computer system, characterized in that it includes a service computer for storing hypertext markup language (HTML) documents with its uniform resource locator (URL), a uniform resource for specifying hypertext markup language documents The client computer of the function of the locator, and the printing device for printing according to the printer language, they are all connected to each other through a network for data transmission, and the printing device includes a device for printing according to the uniform resource location specified by the client computer The document receiving portion of the symbol receives the HTML document from the service computer. 2.根据权利要求1所述的计算机系统,其特征在于,所述文档接收部分包括用于存储由所述客户计算机所指定的URL的URL寄存器,以及根据存储于所述URL寄存器中的URL用于从所述服务计算机接收所述HTML文档的HTML转换器。2. The computer system according to claim 1, wherein said document receiving section includes a URL register for storing a URL specified by said client computer, and uses a URL based on the URL stored in said URL register. an HTML converter for receiving said HTML document from said service computer. 3.根据权利要求2所述的计算机系统,其特征在于,所述HTML转换器具有用于把所述HTML文档转换为由所述打印机语言所定义的用于打印的数据。3. The computer system according to claim 2, wherein the HTML converter has a function for converting the HTML document into data for printing defined by the printer language. 4.根据权利要求3所述的计算机系统,其特征在于,其中还包括至少与所述打印装置相连接的打印机辅助服务器,所述打印机辅助服务器把内嵌于所述HTML文档中的对象转换为位图数据。4. The computer system according to claim 3, further comprising a printer auxiliary server connected at least to the printing device, and the printer auxiliary server converts the object embedded in the HTML document into bitmap data. 5.根据权利要求1所述的计算机系统,其特征在于,所述文档接收部分接收由嵌入于所述HTML文档中的超级链接所指定的多个其它HTML文档。5. The computer system according to claim 1, wherein said document receiving section receives a plurality of other HTML documents specified by hyperlinks embedded in said HTML document. 6.根据权利要求5所述的计算机系统,其特征在于,所述客户计算机指定从所述HTML文档开始追溯的用于另一个HTML文档的超级链接的层数限度。6. The computer system of claim 5, wherein the client computer specifies a limit on the number of levels of hyperlinks traced from the HTML document for another HTML document.
CN 99107988 1998-06-09 1999-06-09 Computer system for printing HTML document Pending CN1242545A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (5)

* Cited by examiner, † Cited by third party
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