Patent ID: 6449050
Filing Date: 2002-09-10
Classification: G06F

Abstract:
A method for generating source code in a code generator having a pre-compiled library of proprietary printer functions having entry points accessible by a link editor, said method comprising the steps of:obtaining design parameters for a printer driver, said design parameters including parameters relating to input functionality, output functionality, user interface functionality, and print data processing functionality; obtaining a pointer to a printer port function that interfaces directly to a printer port; and generating source code in a high-level language, with the source code implementing the design parameters using appropriate ones of the functions in the pre-compiled library, and by using the printer port function; whereby 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.