YaST2 Developers Documentation: Printer configurator

Printer configurator

dialogs-cups.ycp
Main dialogs.

This module has an unstable interface.

Main dialogs.

Imports

  • CUPS
  • CWMFirewallInterfaces
  • Label
  • Mode
  • Popup
  • Printer
  • Printerdb
  • Printerlib
  • Wizard

Includes

  • printer/helps.ycp
  • printer/misc.ycp

Local Functions

local runListenIPPDialog () -> symbol

Run dialog informing about IPP queue listening

Return value:
for WS
local runCupsClientDialog (boolean main) -> symbol

Is there only client?

Parameters:
main boolean true if this is used as replacement of the "Complex" dialog
Return value:
for wizard sequencer
local runSelectPpdFile () -> symbol

Choose PPD file

Return value:
`next, `abort or `back
local chooseUser () -> list<string>

Choose an user.

Return value:
a list list of selected users
local runUsersDialog () -> symbol

Show dialog with users that can/can not use printer/class.

Return value:
`next or `back
local runStateDialog () -> symbol

State of printer/class.

Return value:
`next or `back
local ipAddrPopup (boolean ad, string label, string init, symbol state) -> term

CUPS dialog for enetring IP address

Parameters:
ad boolean true to show allow-deny radiobutton pair
label string label of IP address textentry
init string initial IP address (for textentry)
state symbol `allow or `deny checked radiobutton
Return value:
dialog contents
local runCupsAclDialog (symbol type) -> symbol

CUPS access control list dialog

Parameters:
type symbol `root, `admin, `printers of `classes specifying access configuration area
Return value:
`next or `back
local runCupsServerDialog () -> symbol

CUPS server settings dialog

Return value:
`next or `back