OS X Mavericks:通过描述文件设置打印队列认证方法

可以在配置描述文件中预定义打印队列的认证方法。

描述文件管理器不为配置选项提供 UI 支持,但你可以将这个选项添加到导出的 .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

发布日期: