Printer communication system and method
    2.
    发明授权
    Printer communication system and method 失效
    打印机通信系统和方法

    公开(公告)号:US06246485B1

    公开(公告)日:2001-06-12

    申请号:US08652858

    申请日:1996-05-23

    IPC分类号: B41B1500

    摘要: A printer communication system includes a printer (20) having a printer controller (34) with memory (38) and a processor (36). The printer (20) receives and transmits information through a port (40) to which a host computer (10) is coupled. The printer controller (34) may be programmed to be operable to receive configuration-related commands through the port (40), process the configuration-related commands received by the port immediately provided that a command is a safe command to process while the printer (20) is busy processing a print job. The printer (20) may respond to the host computer (10) by indicating that the change was successful or that the printer (20) must be taken offline before the change may be made. The printer controller (34) is programmed to be remotely taken offline and put back online. A symbol set list command may be used by printer (20) to send symbol sets to host computer (10). Font information may also be sent to a host computer (10) by a printer (20) so that a font table including associated symbol sets may be constructed in computer (10).

    摘要翻译: 打印机通信系统包括具有带有存储器(38)的打印机控制器(34)和处理器(36)的打印机(20)。 打印机(20)通过与主计算机(10)耦合的端口(40)来接收和发送信息。 可以将打印机控制器(34)编程为可操作以通过端口(40)接收配置相关命令,处理由端口接收的配置相关命令,立即提供命令是安全命令以在打印机( 20)正在处理打印作业。 打印机(20)可以通过指示改变成功或者在可以进行改变之前将打印机(20)取消离线来对主计算机(10)做出响应。 打印机控制器(34)被编程为远程离线并重新联机。 打印机(20)可以使用符号集列表命令将符号集发送到主计算机(10)。 字体信息也可以由打印机(20)发送到主计算机(10),使得可以在计算机(10)中构建包括相关联的符号集的字体表。

    Method and apparatus for dynamic buffering of input/output ports used
for receiving and transmitting print data at a printer

    公开(公告)号:US6046817A

    公开(公告)日:2000-04-04

    申请号:US12073

    申请日:1998-01-22

    CPC分类号: G06F5/065

    摘要: An improved communications buffer system is provided which dynamically allocates the size and number of buffers to optimally receive and transmit packets of communications data over a communications link, while efficiently using the amount of available memory so as to provide optimal throughput capability with respect to the allocated amount of memory. The printer first determines how much "free" memory is available in its "pool area" and then how best to divide up that pool area into both transmit and receive buffers for a single port. Once the entire pool area has been allocated for these transmit and receive buffers, the communication session can begin between the host computer and the printer for communicating the actual print job data. A second embodiment of an improved communications buffer system is also provided which dynamically allocates the size and number of buffers for each of several different communications ports that are installed on a printer, while efficiently using the allocated memory so as to provide optimal throughput capability. This second communications buffer system is primarily designed to efficiently assign memory space for buffers used by the several communications ports from a predetermined amount of memory space (as a "pool" of memory) that has been allocated for external communications functions by the printer. Upon initialization of the printer, each individual port will only be allocated a fairly small portion of that pool area of RAM to give that port a minimal buffer configuration that is sufficient to begin to receive data as it arrives at that port. When a port becomes active, it then requests more memory from the pool area of RAM. Only "active" ports are dynamically allocated any relatively large amounts of RAM out of the pool area of the printer's RAM that is made available for communications. The maximum amount of the pool area that will be assigned to a port typically will be a different quantity for different types of ports, and preferably is never 100% of the pool area.

    System for dynamically determining the size and number of communication
buffers based on communication parameters at the beginning of the
reception of message

    公开(公告)号:US5916309A

    公开(公告)日:1999-06-29

    申请号:US854510

    申请日:1997-05-12

    CPC分类号: G06F5/065

    摘要: An improved communications buffer system is provided which dynamically allocates the size and number of buffers to optimally receive packets of communications data over a communications link, while efficiently using the amount of available memory so as to provide optimal throughput capability with respect to the allocated amount of memory. This buffer system is readily adaptable for infrared communications ports used on printers. Once a communications session has begun, the printer will obtain sufficient information to most effectively allocate the size and number of buffers. At the beginning of this procedure, the printer must first determine how much "free" memory is available in its "pool area" and then determine how best to divide up that pool area into both transmit and receive buffers. The size and number of transmit buffers is first determined, and this determination is made after considering how much pool area is available in the printer's memory system at that moment. Once the size and number of transmit buffers has been determined, then the receive buffers are next configured. The first step is to perform a preliminary calculation to ensure that the receive buffer size is not set greater than the amount of data that can be received during the maximum turnaround time for this particular configuration between a host computer and the printer. After this has been determined, the receive buffer size is provisionally set to a power of 2, and the number of buffers is set equal to the remaining pool size divided by this receiver buffer size. After ensuring that there are at least a certain minimum number of receive buffers, then a "window size" is set to a certain maximum size, at least for infrared communications ports. Once the entire pool area has been allocated for these transmit and receive buffers, the communication session can begin between the host computer and the printer for communicating the actual print job data.