发明名称 Code generator for printer driver
摘要 A code generator together with a pre-compiled library of proprietary printer functions having entry points accessible by a link editor. The code generator obtains design parameters for a printer driver, the design parameters including parameters relating to input functionality, output functionality, user interface functionality, and print data processing functionality. In addition, the code generator obtains a pointer to a printer port function that interfaces directly to a printer port. Preferably, the code generator also obtains an other pointer to an other function that uses a port or an operating system function to access a system resource. Thereafter, the code generator generates source code in a high-level language such as C or C++, with the source code implementing the design parameters by including calls to appropriate ones of the functions in the pre-compiled library, and by including a call to the system function such as a printer port function that causes printer data to be output to the printer port. The source code also preferably includes a call to the other function that accesses the system resource. Thereafter, the generated source code may be compiled by a standard compiler into a compiled object, and the compiled object can be linked by a link editor with the pre-compiled library of functions, so as to yield an executable which implements desired printer functionality.
申请公布号 US6449050(B1) 申请公布日期 2002.09.10
申请号 US19980165736 申请日期 1998.10.05
申请人 CANON KABUSHIKI KAISHA 发明人 HAIKIN JOHN S.
分类号 G06F9/44;(IPC1-7):G06F13/00 主分类号 G06F9/44
代理机构 代理人
主权项
地址