Printer configurator
|
printer.ycp
|
Main file of printer.
|
|
|
Main file of printer package. Calls all other modules.
Imports
- CommandLine
- Crash
- Label
- Mode
- Printer
- RichText
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:
local PrinterDeleteHandler (map options) -> boolean
|
|
Delete a specified queue
- Parameters:
options |
a list of parameters passed as args |
- Return value:
local ModifyPrinter (map options) -> boolean
|
|
Modify a selected queue
- Parameters:
options |
a list of parameters passed as args |
- Return value:
local PrinterAddHandler (map options) -> boolean
|
|
Add a mew queue
- Parameters:
options |
a list of parameters passed as args |
- Return value:
local PrinterEditHandler (map options) -> boolean
|
|
Edit a specified queue
- Parameters:
options |
a list of parameters passed as args |
- Return value:
local PrinterListHandler (map options) -> boolean
|
|
List configured or detected queues
- Parameters:
options |
a list of parameters passed as args |
- Return value:
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:
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:
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:
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 |
|