OS X Mavericks:透過描述檔設定列印佇列認證方法
列印佇列的認證方法可以在設定描述檔中預先定義。
「描述檔管理程式」不提供設定選項的使用者介面支援,但可以加入輸出的 .mobileconfig 檔案中。要加入列印佇列陣列的值為:
Option auth-info-required negotiate
支援的認證方式是由 cups 定義。
描述檔樣板範例:
PayloadContent PayloadType com.apple.mcxprinting PayloadVersion 1 PayloadIdentifier YOUR.PAYLOAD.IDENTIFIER.HERE PayloadEnabled PayloadUUID YOUR_GENERATED_UUID PayloadDisplayName Printing RequireAdminToAddPrinters AllowLocalPrinters FooterFontSize 7 FooterFontName Helvetica DefaultPrinter UserPrinterList YOUR_PRINTER_QUEUE_NAME Option auth-info-required negotiate DeviceURI smb://SERVERNAME/YOUR_PRINTER_QUEUE_NAME DisplayName YOUR_PRINTER_DISPLAY_NAME Location PRINTER_LOCATION Model PRINTER_MODEL PrinterLocked PPDURL file://localhost/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Resources/Generic.ppd PayloadIdentifier YOUR.PAYLOAD.IDENTIFIER.HERE PayloadRemovalDisallowed PayloadScope User PayloadType Configuration PayloadUUID YOUR_GENERATED_UUID PayloadOrganization YOUR_PAYLOAD_ORGANIZATION_HERE PayloadVersion 1 PayloadDisplayName YOUR_PAYLOAD_DISPLAY_NAME_HERE