Printer configurator |
printer.ycp |
Main file of printer. | |
|
|
This module has an unstable interface. |
Main file of printer package. Calls all other modules.
Imports
Includes
Local Functions
|
local
GuiHandler ()
->
boolean
CommandLine handler for running GUI
- Return value:
-
true if settings were saved
local
PrinterSummaryHandler (map options)
->
boolean
Print summary of basic options
- Parameters:
-
options a list of parameters passed as args
- Return value:
-
false
local
PrinterDeleteHandler (map options)
->
boolean
Delete a specified queue
- Parameters:
-
options a list of parameters passed as args
- Return value:
-
true on success
local
ModifyPrinter (map options)
->
boolean
Modify a selected queue
- Parameters:
-
options a list of parameters passed as args
- Return value:
-
true on success
local
PrinterAddHandler (map options)
->
boolean
Add a new queue
- Parameters:
-
options a list of parameters passed as args
- Return value:
-
true on success
local
PrinterEditHandler (map options)
->
boolean
Edit a specified queue
- Parameters:
-
options a list of parameters passed as args
- Return value:
-
true on success
local
PrinterListHandler (map options)
->
boolean
List configured or detected queues
- Parameters:
-
options a list of parameters passed as args
- Return value:
-
always false
local
PrinterOptionsHandler (map options, string type)
->
boolean
Edit specified options of a queue
- Parameters:
-
options a list of parameters passed as args type string type of options to change
- Return value:
-
always true
local
PrinterLPOptionsHandler (map options)
->
boolean
Edit options located in /etc/cups/lpoptions of a queue
- Parameters:
-
options a list of parameters passed as args
- Return value:
-
always true
local
PrinterPPDOptionsHandler (map options)
->
boolean
Edit options located in PPF file of a queue
- Parameters:
-
options a list of parameters passed as args
- Return value:
-
always true
local
PrinterSpoolerhandler (map options)
->
boolean
Change the currently used spooler (or basic attributes)
- Parameters:
-
options a list of parameters passed as args
- Return value:
-
true if saving is to be performed
local
PrinterTestHandler (map options)
->
boolean
Test a queue
- Parameters:
-
options a list of parameters passed as args
- Return value:
-
true if saving is to be performed
local
PrinterManufacturersHandler (map options)
->
boolean
Print manufacturers in the database
- Parameters:
-
options a list of parameters passed as args
- Return value:
-
true if saving is to be performed
local
PrinterModelsHandler (map options)
->
boolean
Print models in the database of the specified manufacturer
- Parameters:
-
options a list of parameters passed as args
- Return value:
-
true if saving is to be performed
local
PrinterNicknamesHandler (map options)
->
boolean
Print nicknames in the database of specified manuf/model
- Parameters:
-
options a list of parameters passed as args
- Return value:
-
true if saving is to be performed
local
PrinterListPpdOptionsHandler (map options)
->
boolean
Print PPD options of the specified queue
- Parameters:
-
options a list of parameters passed as args
- Return value:
-
true if saving is to be performed