摘要 |
A new printer for use in a Windows operating system is created by obtaining a new printer name, copying data corresponding to an existing printer, so as to obtained copied data, and substituting data corresponding to the new printer name into the copied data. Also provided is a printer driver for a Windows operating system which includes a number of user-selectable configuration settings and a user-selectable interface for instructing creation of a new printer. In response to actuation of the user-selectable interface, code within the printer driver creates the new printer and accesses an API of the Windows operating system so as to add an entry for the new printer to a printers branch of a registry in the Windows operating system. The new printer stores user-selected configuration settings together with a name of the new printer, and a value that points to a printer driver already installed in a drivers branch of the registry. |