Printer configurator
|
printer_auto.ycp
|
Autoconfiguration preparation.
|
|
|
Client for preparation of autoinstalation data.
Imports
- PackageSystem
- Popup
- Printer
- Printerdb
- Progress
- Spooler
- Wizard
Includes
Local Functions
|
|
|
local OldQueue2NewQueue (map<string,any> p) -> map<string,any>
|
|
Try to convert the model information from the old database to the
new one
- Parameters:
p |
map queue description map with old SuSE database info |
- Return value:
|
a map queue description map with updated info to
Foomatic database |
local FilterQueueMap (map<string,any> p) -> map<string,any>
|
|
Filter queue description map so that it contains only keys that
are valid for both export map and autoinstallation map
- Parameters:
p |
map export or autoinstallation map |
- Return value:
|
a map the map with filtered some keys |
local OptMap2OptList (map<string,any> options) -> list<map>
|
|
Translate map to list of 2-entry maps with keys key and value
- Parameters:
options |
map of options option_name -> option_value |
- Return value:
|
a list of maps with keys "key" and "value" |
local OptList2OptMap (list<map> options) -> map<string,any>
|
|
Translate list of 2-entry maps with keys key and value to a map
- Parameters:
options |
a list of maps with keys "key" and "value" |
- Return value:
|
a map of options option_name -> option_value |
local Export2AI (map exp) -> map
|
|
Translate the Export map to the autoinstallation map
- Parameters:
- Return value:
local AI2Export (map ai) -> map<string, any>
|
|
Translate the autoinstallation map to the Export map
- Parameters:
ai |
map the autoinstallation map |
- Return value:
Create a summary
return string
Reset configuration
return map or list
Change configuration
return symbol (i.e. `finish || `accept || `next || `cancel || `abort)
Return configuration data
return map or list
Write configuration data
return boolean
|