cab CUPS Treiber
---
|
#include <cups/cups.h>
#include <cups/raster.h>
#include <cups/ppd.h>
Go to the source code of this file.
Data Structures | |
struct | h_options_t |
Structure heat level, speed and kind of printing method. More... | |
struct | o_options_t |
Structure for printing parameters. More... | |
struct | p_options_t |
Structure for the peel-off modi. More... | |
struct | d_options_t |
Structure for the global object offset. More... | |
struct | immediate_commands_t |
Structure for extra immediate commands. More... | |
struct | custom_jscript_t |
struct | c_options_t |
Struktur für Einstellungen des Schneidemessers. More... | |
struct | s_options_t |
Struktur für das Definieren der Etikettengröße. More... | |
struct | perfo_options_t |
Struktur für Einstellungen des Perforationsschneidemessers. More... | |
struct | preprint_options_t |
Struktur für Einstellungen der Pre-Printing Option. More... | |
Macros | |
#define | OPT_CAB_HEAD "Heat" |
#define | OPT_CAB_PRN_METHOD "PrintMethod" |
#define | OPT_CAB_SPEED "Speed" |
#define | OPT_CAB_LABEL_SENSOR "LabelSensor" |
#define | OPT_CAB_LABEL_GAP_VK "LabelGapVK" |
#define | OPT_CAB_LABEL_GAP_NK "LabelGapNK" |
#define | OPT_CAB_LABEL_MIRRORED "LabelMirrored" |
#define | OPT_CAB_LABEL_ROTATE "LabelRotate" |
#define | OPT_CAB_IGNORE_PAPEREND "IgnorePaperend" |
#define | OPT_CAB_PRN_HEAD_OFF_X_VK "PrnHeadOffsetXVK" |
#define | OPT_CAB_PRN_HEAD_OFF_X_NK "PrnHeadOffsetXNK" |
#define | OPT_CAB_PRN_HEAD_OFF_Y_DIR "PrnHeadOffsetYDir" |
#define | OPT_CAB_PRN_HEAD_OFF_Y_VK "PrnHeadOffsetYVK" |
#define | OPT_CAB_PRN_HEAD_OFF_Y_NK "PrnHeadOffsetYNK" |
#define | OPT_CAB_GLBL_OBJ_OFF_X_DIR "GlobalObjOffsetXDir" |
#define | OPT_CAB_GLBL_OBJ_OFF_X_VK "GlobalObjOffsetXVK" |
#define | OPT_CAB_GLBL_OBJ_OFF_X_NK "GlobalObjOffsetXNK" |
#define | OPT_CAB_GLBL_OBJ_OFF_Y_DIR "GlobalObjOffsetYDir" |
#define | OPT_CAB_GLBL_OBJ_OFF_Y_VK "GlobalObjOffsetYVK" |
#define | OPT_CAB_GLBL_OBJ_OFF_Y_NK "GlobalObjOffsetYNK" |
#define | OPT_CAB_TEAR_OFF_MODE "TearOffMode" |
#define | OPT_CAB_CUTTER "Cutter" |
#define | OPT_CAB_CUTTER_MODE "cCutterMode" |
#define | OPT_CAB_CUTTER_INTERVAL "cCutterInterval" |
#define | OPT_CAB_CUTTER_OFFS_1DIR "cCutterOffset1Dir" |
#define | OPT_CAB_CUTTER_OFFS_1VK "cCutterOffset1VK" |
#define | OPT_CAB_CUTTER_OFFS_1NK "cCutterOffset1NK" |
#define | OPT_CAB_PRE_PRINT_MODE "cPrePrintOption" |
#define | OPT_CAB_PRE_PRINT_DIR_OFFSET "cPrePrintOffsetDir" |
#define | OPT_CAB_PRE_PRINT_VK_OFFSET "cPrePrintOffsetVK" |
#define | OPT_CAB_PRE_PRINT_NK_OFFSET "cPrePrintOffsetNK" |
#define | OPT_CAB_PERFORATION_ENABLE "cPerforate" |
#define | OPT_CAB_PERFO_DIR_OFFSET "cPerfoPrintOffsetDir" |
#define | OPT_CAB_PERFO_VK_OFFSET "cPerfoPrintOffsetVK" |
#define | OPT_CAB_PERFO_NK_OFFSET "cPerfoPrintOffsetNK" |
#define | OPT_CAB_PERFO_VK_DEPTH "cPerfoDepthOffsetVK" |
#define | OPT_CAB_PERFO_NK_DEPTH "cPerfoDepthOffsetNK" |
#define | OPT_CAB_RIBBON_SAVER "RibbonSaver" |
#define | OPT_CAB_PEEL_OFF "PeelOff" |
#define | OPT_CAB_PEEL_OFF_DIR "cPeelOffDir" |
#define | OPT_CAB_PEEL_OFF_VKV "cPeelOffVKVersatz" |
#define | OPT_CAB_PEEL_OFF_NKV "cPeelOffNKVersatz" |
#define | OPT_CAB_BACKFEED_MODE "BackFeed" |
#define | OPT_CAB_FORMFEED_MODE "FormFeed" |
#define | OPT_CAB_PAUSE_MODE "Pause" |
#define | OPT_CAB_IMAGE_OPTIMIZATION "ImageOpt" |
#define | OPT_CAB_REPLACE "Replace" |
#define | OPT_CAB_JSCRIPT_PARAM1 "JScriptParam1" |
#define | OPT_CAB_JSCRIPT_PARAM2 "JScriptParam2" |
#define | OPT_CAB_JSCRIPT_PARAM3 "JScriptParam3" |
#define | OPT_CAB_JSCRIPT_PARAM4 "JScriptParam4" |
#define | CUSTOM_JSCRIPT_PARAM_MAX 80 |
#define | CAB_CUTTER_MODE_EOJ_CHOICE "CMOD2E" |
#define | CAB_CUTTER_MODE_EXL_CHOICE "CMOD1I" |
#define | CAB_LABEL_SENSOR_ENDLESS "e" |
#define | CAB_LABEL_SENSOR_REFLEX "l2" |
#define | CAB_LABEL_SENSOR_GAP "l1" |
#define | CAB_LABEL_SENSOR_ERROR "ERR" |
#define | CAB_PREPRINT_MODE_OFF_CHOICE "PREPOPT0" |
#define | CAB_PREPRINT_MODE_CUT_CHOICE "PREPOPT1" |
#define | CAB_PREPRINT_MODE_PERFO_CHOICE "PREPOPT2" |
Enumerations | |
enum | cutter_mode { CAB_CUTTER_MODE_ERR = 0, CAB_CUTTER_INTERVAL = 1, CAB_CUTTER_END_JOB = 2, CAB_CUTTER_START_JOB = 3, CAB_CUTTER_MODE_MAX = 4 } |
Enumeration for cutting mode. More... | |
enum | preprinting_mode { CAB_PREPRINT_MODE_OFF = 0, CAB_PREPRINT_MODE_CUT = 1, CAB_PREPRINT_MODE_PERFORATE = 2, CAB_PREPRINT_MODE_MAX = 3 } |
Enumeration for pre-printing mode. More... | |
Functions | |
void | handleMarkedPPDOptions (ppd_file_t *ppd) |
int | get_option_image_optimization () |
int | get_option_replace () |
int | get_custom_jscript1_cmd (char *command, int page) |
int | get_custom_jscript3_cmd (char *command) |
void | get_s_option_cmd (char *command, cups_page_header2_t *header, double printwidth) |
int | get_c_option_cmd (char *command) |
int | get_p_option_cmd (char *command) |
void | get_h_option_cmd (char *command) |
int | get_o_option_cmd (char *command) |
int | get_d_option_cmd (char *command) |
int | isPerfoCutterInstalled () |
Return, wether a perforation cutter is installed. More... | |
int | isPrePrintPerforate () |
Return, wether the pre-print option is set to 'Perforate'. More... | |
int | isRibbonSaveSelected () |
Return, wether the RibbonSave is active. More... | |
void | get_perfo_depth (char *command) |
Assembles the command for the perforation depth (C-Command) More... | |
void | get_perfo_offset (char *command) |
Assembles the command for the perforation offset (C-Command) More... | |
int | get_preprint_opt (char *command) |
Assembles the command for the per-print option (C-Command) More... | |
int | get_immediate_cmd (char *command, const char *type, const char value) |
#define CAB_CUTTER_MODE_EOJ_CHOICE "CMOD2E" |
Definition at line 229 of file cab_options.h.
Referenced by setCutterMode().
#define CAB_CUTTER_MODE_EXL_CHOICE "CMOD1I" |
Definition at line 231 of file cab_options.h.
Referenced by setCutterMode().
#define CAB_LABEL_SENSOR_ENDLESS "e" |
Definition at line 245 of file cab_options.h.
Referenced by set_LabelSensor().
#define CAB_LABEL_SENSOR_ERROR "ERR" |
Definition at line 248 of file cab_options.h.
Referenced by set_LabelSensor().
#define CAB_LABEL_SENSOR_GAP "l1" |
Definition at line 247 of file cab_options.h.
Referenced by get_o_option_cmd(), and set_LabelSensor().
#define CAB_LABEL_SENSOR_REFLEX "l2" |
Definition at line 246 of file cab_options.h.
Referenced by get_o_option_cmd(), and set_LabelSensor().
#define CAB_PREPRINT_MODE_CUT_CHOICE "PREPOPT1" |
Definition at line 278 of file cab_options.h.
Referenced by setPrePrintingMode().
#define CAB_PREPRINT_MODE_OFF_CHOICE "PREPOPT0" |
Definition at line 276 of file cab_options.h.
Referenced by setPrePrintingMode().
#define CAB_PREPRINT_MODE_PERFO_CHOICE "PREPOPT2" |
Definition at line 280 of file cab_options.h.
Referenced by setPrePrintingMode().
#define CUSTOM_JSCRIPT_PARAM_MAX 80 |
Definition at line 160 of file cab_options.h.
Referenced by print_page(), and replace_string_section().
#define OPT_CAB_BACKFEED_MODE "BackFeed" |
Definition at line 139 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_CUTTER "Cutter" |
Definition at line 81 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_CUTTER_INTERVAL "cCutterInterval" |
Definition at line 85 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_CUTTER_MODE "cCutterMode" |
Definition at line 83 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_CUTTER_OFFS_1DIR "cCutterOffset1Dir" |
Definition at line 87 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_CUTTER_OFFS_1NK "cCutterOffset1NK" |
Definition at line 91 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_CUTTER_OFFS_1VK "cCutterOffset1VK" |
Definition at line 89 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_FORMFEED_MODE "FormFeed" |
Definition at line 141 of file cab_options.h.
Referenced by get_immediate_cmd(), handleMarkedPPDOptions(), and print_page().
#define OPT_CAB_GLBL_OBJ_OFF_X_DIR "GlobalObjOffsetXDir" |
Definition at line 61 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_GLBL_OBJ_OFF_X_NK "GlobalObjOffsetXNK" |
Definition at line 65 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_GLBL_OBJ_OFF_X_VK "GlobalObjOffsetXVK" |
Definition at line 63 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_GLBL_OBJ_OFF_Y_DIR "GlobalObjOffsetYDir" |
Definition at line 68 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_GLBL_OBJ_OFF_Y_NK "GlobalObjOffsetYNK" |
Definition at line 72 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_GLBL_OBJ_OFF_Y_VK "GlobalObjOffsetYVK" |
Definition at line 70 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_HEAD "Heat" |
Definition at line 26 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_IGNORE_PAPEREND "IgnorePaperend" |
Definition at line 44 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_IMAGE_OPTIMIZATION "ImageOpt" |
Definition at line 146 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_JSCRIPT_PARAM1 "JScriptParam1" |
Definition at line 152 of file cab_options.h.
#define OPT_CAB_JSCRIPT_PARAM2 "JScriptParam2" |
Definition at line 154 of file cab_options.h.
#define OPT_CAB_JSCRIPT_PARAM3 "JScriptParam3" |
Definition at line 156 of file cab_options.h.
#define OPT_CAB_JSCRIPT_PARAM4 "JScriptParam4" |
Definition at line 158 of file cab_options.h.
#define OPT_CAB_LABEL_GAP_NK "LabelGapNK" |
Definition at line 38 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_LABEL_GAP_VK "LabelGapVK" |
Definition at line 36 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_LABEL_MIRRORED "LabelMirrored" |
Definition at line 40 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_LABEL_ROTATE "LabelRotate" |
Definition at line 42 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_LABEL_SENSOR "LabelSensor" |
Definition at line 34 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_PAUSE_MODE "Pause" |
Definition at line 143 of file cab_options.h.
Referenced by get_immediate_cmd(), handleMarkedPPDOptions(), and print_page().
#define OPT_CAB_PEEL_OFF "PeelOff" |
Definition at line 127 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_PEEL_OFF_DIR "cPeelOffDir" |
Definition at line 130 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_PEEL_OFF_NKV "cPeelOffNKVersatz" |
Definition at line 134 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_PEEL_OFF_VKV "cPeelOffVKVersatz" |
Definition at line 132 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_PERFO_DIR_OFFSET "cPerfoPrintOffsetDir" |
Definition at line 111 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_PERFO_NK_DEPTH "cPerfoDepthOffsetNK" |
Definition at line 120 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_PERFO_NK_OFFSET "cPerfoPrintOffsetNK" |
Definition at line 115 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_PERFO_VK_DEPTH "cPerfoDepthOffsetVK" |
Definition at line 118 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_PERFO_VK_OFFSET "cPerfoPrintOffsetVK" |
Definition at line 113 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_PERFORATION_ENABLE "cPerforate" |
Definition at line 108 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_PRE_PRINT_DIR_OFFSET "cPrePrintOffsetDir" |
Definition at line 99 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_PRE_PRINT_MODE "cPrePrintOption" |
Definition at line 96 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_PRE_PRINT_NK_OFFSET "cPrePrintOffsetNK" |
Definition at line 103 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_PRE_PRINT_VK_OFFSET "cPrePrintOffsetVK" |
Definition at line 101 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_PRN_HEAD_OFF_X_NK "PrnHeadOffsetXNK" |
Definition at line 50 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_PRN_HEAD_OFF_X_VK "PrnHeadOffsetXVK" |
Definition at line 48 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_PRN_HEAD_OFF_Y_DIR "PrnHeadOffsetYDir" |
Definition at line 54 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_PRN_HEAD_OFF_Y_NK "PrnHeadOffsetYNK" |
Definition at line 58 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_PRN_HEAD_OFF_Y_VK "PrnHeadOffsetYVK" |
Definition at line 56 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_PRN_METHOD "PrintMethod" |
Definition at line 28 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_REPLACE "Replace" |
Definition at line 149 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_RIBBON_SAVER "RibbonSaver" |
Definition at line 122 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_SPEED "Speed" |
Definition at line 30 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
#define OPT_CAB_TEAR_OFF_MODE "TearOffMode" |
Definition at line 77 of file cab_options.h.
Referenced by handleMarkedPPDOptions().
enum cutter_mode |
Enumeration for cutting mode.
Definition at line 163 of file cab_options.h.
enum preprinting_mode |
Enumeration for pre-printing mode.
Definition at line 284 of file cab_options.h.
int get_c_option_cmd | ( | char * | command | ) |
Definition at line 214 of file cab_options.c.
References c_options_t::amount, CAB_CUTTER_END_JOB, CAB_CUTTER_INTERVAL, c_options_t::disp1, FALSE, c_options_t::installed, c_options_t::mode, and TRUE.
Referenced by print_page().
int get_custom_jscript1_cmd | ( | char * | command, |
int | page | ||
) |
Definition at line 106 of file cab_options.c.
References custom_jscript_t::param1, and replace_string_section().
Referenced by print_page().
int get_custom_jscript3_cmd | ( | char * | command | ) |
Definition at line 122 of file cab_options.c.
References custom_jscript_t::param3, and replace_string_section().
Referenced by print_page().
int get_d_option_cmd | ( | char * | command | ) |
Definition at line 315 of file cab_options.c.
References d_options_t::dispx, d_options_t::dispy, FALSE, and TRUE.
Referenced by print_page().
void get_h_option_cmd | ( | char * | command | ) |
Definition at line 286 of file cab_options.c.
References h_options_t::heat, h_options_t::ribbon_saver, h_options_t::speed, and h_options_t::type.
Referenced by print_page().
int get_immediate_cmd | ( | char * | command, |
const char * | type, | ||
const char | value | ||
) |
Definition at line 517 of file cab_options.c.
References FALSE, immediate_commands_t::formfeed, OPT_CAB_FORMFEED_MODE, OPT_CAB_PAUSE_MODE, immediate_commands_t::pause, and TRUE.
Referenced by print_page().
int get_o_option_cmd | ( | char * | command | ) |
Definition at line 401 of file cab_options.c.
References o_options_t::backfeed, CAB_LABEL_SENSOR_GAP, CAB_LABEL_SENSOR_REFLEX, o_options_t::ignore_paperend, o_options_t::mirrored, custom_jscript_t::param2, s_options_t::ptype, o_options_t::rotate, o_options_t::tear_off, and TRUE.
Referenced by print_page().
int get_option_image_optimization | ( | ) |
Definition at line 777 of file cab_options.c.
References o_options_t::image_optimization.
Referenced by print_raster_image().
int get_option_replace | ( | ) |
Definition at line 788 of file cab_options.c.
References o_options_t::replace.
Referenced by print_page().
int get_p_option_cmd | ( | char * | command | ) |
Definition at line 259 of file cab_options.c.
References p_options_t::disp, p_options_t::installed, and TRUE.
Referenced by print_page().
void get_perfo_depth | ( | char * | command | ) |
Assembles the command for the perforation depth (C-Command)
*command | String for the result |
Definition at line 468 of file cab_options.c.
References perfo_options_t::depth.
Referenced by print_page().
void get_perfo_offset | ( | char * | command | ) |
Assembles the command for the perforation offset (C-Command)
*command | String for the result |
Definition at line 447 of file cab_options.c.
References perfo_options_t::disp.
Referenced by print_page().
int get_preprint_opt | ( | char * | command | ) |
Assembles the command for the per-print option (C-Command)
*command | String for the result |
Definition at line 491 of file cab_options.c.
References CAB_PREPRINT_MODE_CUT, CAB_PREPRINT_MODE_OFF, CAB_PREPRINT_MODE_PERFORATE, preprint_options_t::disp, FALSE, preprint_options_t::mode, and TRUE.
Referenced by print_page().
void get_s_option_cmd | ( | char * | command, |
cups_page_header2_t * | header, | ||
double | printwidth | ||
) |
Definition at line 154 of file cab_options.c.
References convPPItomm(), s_options_t::gap, custom_jscript_t::param4, printwidth, s_options_t::ptype, s_options_t::x0, and s_options_t::y0.
Referenced by print_page().
void handleMarkedPPDOptions | ( | ppd_file_t * | ppd | ) |
*ppd |
Definition at line 1254 of file cab_options.c.
References CAB_CUTTER_INTERVAL, CAB_PREPRINT_MODE_OFF, CAB_PREPRINT_MODE_PERFORATE, p_options_t::installed, c_options_t::installed, c_options_t::mode, preprint_options_t::mode, OPT_CAB_BACKFEED_MODE, OPT_CAB_CUTTER, OPT_CAB_CUTTER_INTERVAL, OPT_CAB_CUTTER_MODE, OPT_CAB_CUTTER_OFFS_1DIR, OPT_CAB_CUTTER_OFFS_1NK, OPT_CAB_CUTTER_OFFS_1VK, OPT_CAB_FORMFEED_MODE, OPT_CAB_GLBL_OBJ_OFF_X_DIR, OPT_CAB_GLBL_OBJ_OFF_X_NK, OPT_CAB_GLBL_OBJ_OFF_X_VK, OPT_CAB_GLBL_OBJ_OFF_Y_DIR, OPT_CAB_GLBL_OBJ_OFF_Y_NK, OPT_CAB_GLBL_OBJ_OFF_Y_VK, OPT_CAB_HEAD, OPT_CAB_IGNORE_PAPEREND, OPT_CAB_IMAGE_OPTIMIZATION, OPT_CAB_LABEL_GAP_NK, OPT_CAB_LABEL_GAP_VK, OPT_CAB_LABEL_MIRRORED, OPT_CAB_LABEL_ROTATE, OPT_CAB_LABEL_SENSOR, OPT_CAB_PAUSE_MODE, OPT_CAB_PEEL_OFF, OPT_CAB_PEEL_OFF_DIR, OPT_CAB_PEEL_OFF_NKV, OPT_CAB_PEEL_OFF_VKV, OPT_CAB_PERFO_DIR_OFFSET, OPT_CAB_PERFO_NK_DEPTH, OPT_CAB_PERFO_NK_OFFSET, OPT_CAB_PERFO_VK_DEPTH, OPT_CAB_PERFO_VK_OFFSET, OPT_CAB_PERFORATION_ENABLE, OPT_CAB_PRE_PRINT_DIR_OFFSET, OPT_CAB_PRE_PRINT_MODE, OPT_CAB_PRE_PRINT_NK_OFFSET, OPT_CAB_PRE_PRINT_VK_OFFSET, OPT_CAB_PRN_HEAD_OFF_X_NK, OPT_CAB_PRN_HEAD_OFF_X_VK, OPT_CAB_PRN_HEAD_OFF_Y_DIR, OPT_CAB_PRN_HEAD_OFF_Y_NK, OPT_CAB_PRN_HEAD_OFF_Y_VK, OPT_CAB_PRN_METHOD, OPT_CAB_REPLACE, OPT_CAB_RIBBON_SAVER, OPT_CAB_SPEED, OPT_CAB_TEAR_OFF_MODE, custom_jscript_t::param1, custom_jscript_t::param2, custom_jscript_t::param3, custom_jscript_t::param4, set_BackfeedMode(), set_Cutter(), set_CutterInterval(), set_CutterOffset1(), set_DisplacementX(), set_DisplacementY(), set_GlobalObjectOff(), set_Heat(), set_IgnorePaperend(), set_image_optimization(), set_ImmediateCommand(), set_LabelGap(), set_LabelMirrored(), set_LabelRotate(), set_LabelSensor(), set_PeelOffDisp(), set_PeelOffMode(), set_PerfoDepth(), set_PerfoOffset(), set_Perforation(), set_PrePrintingOffset(), set_PrintMethod(), set_replace(), set_ribbon_saver(), set_Speed(), set_TearOffMode(), setCutterMode(), setPrePrintingMode(), and TRUE.
Referenced by setup_printer().
int isPerfoCutterInstalled | ( | ) |
Return, wether a perforation cutter is installed.
— |
Definition at line 347 of file cab_options.c.
References perfo_options_t::installed.
Referenced by print_page().
int isPrePrintPerforate | ( | ) |
Return, wether the pre-print option is set to 'Perforate'.
— |
Definition at line 364 of file cab_options.c.
References CAB_PREPRINT_MODE_PERFORATE, and preprint_options_t::mode.
Referenced by print_page().
int isRibbonSaveSelected | ( | ) |
Return, wether the RibbonSave is active.
— |
Definition at line 381 of file cab_options.c.
References h_options_t::ribbon_saver.
Referenced by print_raster_image().