Printer configurator |
dialogs.ycp |
|
Main dialogs. |
|
|
|
Main dialogs.
Imports
- CUPS
- Label
- Mode
- Popup
- Printer
- PrinterTest
- Printerdb
- Printerlib
- Report
- Spooler
- Stage
- Wizard
- Wizard_hw
Includes
- printer/helps.ycp
- printer/misc.ycp
Local Functions
|
|
|
|
local ReadDialog () -> symbol
|
|
Read settings dialog
- Return value:
|
|
`abort if aborted and `next otherwise |
|
local WriteDialog () -> symbol
|
|
Write settings dialog
- Return value:
|
|
`abort if aborted and `next otherwise |
|
local runManufModelDialog () -> symbol
|
|
Ask about the manufacuturer and the model of the printer.
Uses global printer
- Return value:
|
local runDownloadPpdFile () -> symbol
|
|
Run dialog
- Return value:
|
local runInstalledPrinterDialog () -> symbol
|
|
Run dialog
- Return value:
|
local runPpdSelectDialog (boolean all_ppds) -> symbol
|
|
Dialog for choosing configuration.
- Parameters:
|
all_ppds |
boolean if true all PPD files for all models are shown |
- Return value:
|
local runNameDialog (boolean allow_auto) -> symbol
|
|
Configuration of printer names.
- Parameters:
|
allow_auto |
boolean true if should be allowed to omit printer name |
- Return value:
|
local choosePrinterOrClass () -> string
|
|
Choose one printer from list of printers
- Return value:
|
local runMembersDialog () -> symbol
|
|
Members of class
- Return value:
|
local runOptionsDialog () -> symbol
|
|
Configuration of the filter. It is quite complicated because there can
be depended options so change of value (lower list) can change content
of options (upper list).
- Return value:
|
local createEditDialog () -> void
|
|
Create contents for edit dialog. Calls Setwizardcontents at the end.
|
local runEditDialog () -> symbol
|
|
Complex edit dialog for printer...
- Return value:
|
local runAdvancedDialog () -> symbol
|
|
Start dialog with advanced spooler settings
- Return value:
|
local runCupsUsbDeviceTypeDialog () -> symbol
|
|
Dialog for choosing what kind of devices to use
- Return value:
|
local detectConfigType () -> symbol
|
|
Decide how to configure autodetected printer
- Return value:
|
local runQueuesProposalDialog () -> symbol
|
|
Show printer details in one window
- Return value:
|
local getAutoprobedSelectionBox (integer current_sel) -> list
|
|
Create contents of table of autodetected printers.
- Parameters:
|
current_sel |
currently selected item |
- Return value:
|
|
list of items, `ids are indexes to autoprobed_printers list |
|
local runProbeDialog () -> symbol
|
|
Restart detection of printers.
- Return value:
|
local runDetectedDialog () -> symbol
|
|
Common detected hardware dialog.
- Return value:
|
local runComplexDialog () -> symbol
|
|
Complex dialog.
- Return value:
|
local getInstType () -> symbol
|
|
Detect installation type
- Return value:
|
local storePrinter () -> symbol
|
|
We need this wrapper because of wizard sequencer.
- Return value:
|
|
`next for wizard sequencer |
|