Publishing a printer