
functions
files
intro
|
|
Printer configurator
|
modules/PrinterTest.ycp
|
Testpage printing defines
|
|
|
Imports
- CUPS
- Label
- Mode
- Popup
- Printer
- Printerdb
- Printerlib
- Report
- Spooler
Global Functions
Local Functions
|
|
|
local prepareAsciiTestPage () -> string
|
|
Prepare ascii test page. Insert localized string into it.
- Return value:
|
path+filename to updated test page. |
local preparePsTestPage (string queue, string opt_file, boolean photo) -> string
|
|
Prepare test page
- Parameters:
queue |
queue name |
opt_file |
file with queue options |
photo |
boolean true ifphoto should be present |
- Return value:
|
filename of the test page |
local OkOrStopPrinting (string pr_command) -> boolean
|
|
Shows dialog box that allows user to stop printing.
- Parameters:
pr_command |
Command that was used to start printing.
Showed in text field. |
- Return value:
|
true if printing has to be stopped |
global testPrinter (map<string,any> printer, symbol testpage_type) -> boolean
|
|
Saves printer under some new name and tests it.
- Parameters:
printer |
map of printer to test |
testpage_type |
type of page.
Supported are `ascii, `postscript, `photo, `ask |
- Return value:
|