CAPS Universe documentation  1.0.4
All you need to know to be successful
Functions | Variables
brother-ql-series.c File Reference

Shared functions by all Brother QL label printer drivers. More...

Functions

static void ql_driver_handle_nls (void)
 
static int cb_write_to (const struct caps_arg_parser *parser, const char *value)
 
int main (int argc, char *argv[])
 

Variables

const struct caps_generic_driver caps_ql_driver
 
struct caps_arg_parser_list ql_parser_list
 
static const char * prn_file_name
 
static const struct caps_arg_parameter ql_driver [1]
 
struct caps_arg_parser parser [3]
 

Detailed Description

Author
Jürgen Borleis
Warning
Use as experimental

Function Documentation

◆ ql_driver_handle_nls()

static void ql_driver_handle_nls ( void  )
static

◆ cb_write_to()

static int cb_write_to ( const struct caps_arg_parser parser,
const char *  value 
)
static

◆ main()

int main ( int  argc,
char *  argv[] 
)

Variable Documentation

◆ caps_ql_driver

const struct caps_generic_driver caps_ql_driver
extern

◆ ql_parser_list

struct caps_arg_parser_list ql_parser_list
extern

◆ prn_file_name

const char* prn_file_name
static

◆ ql_driver

const struct caps_arg_parameter ql_driver[1]
static
Initial value:
= {
{
.keyword = "writeto", .key = 'w',
.cb = cb_write_to,
.arg = ( "FILENAME" ),
.doc = ( "Send printer data into file instead of printer" ),
},
}
static int cb_write_to(const struct caps_arg_parser *parser, const char *value)
Definition: brother-ql-series.c:54
@ CAPS_PARAM_OPTIONAL
Definition: libcapscmdparser.h:273

◆ parser

struct caps_arg_parser parser[3]
Initial value:
= {
[0] = {
.parameter_cnt = 1,
.parameter_list = ql_driver,
.header = ( "QL driver specific parameter" ),
.footer = ( "Useful for debugging and development" ),
.domain = PACKAGE,
},
}
static const struct caps_arg_parameter ql_driver[1]
Definition: brother-ql-series.c:60