Actually I think you have to both register the driver and then install it using an INF file. Otherwise the printer doesn't end up in the Printers list.
Can't remember exactlyl but if you check my code I think you will find it is doing both in the same statement.
To learn more, you may want to try this at the command line:
rundll32 printui.dll,PrintUIEntry /?
>L<