The APIs available from the local print provider are listed in About Net Print Providers. The APIs are documented in the Win32 SDK.