CAPS Universe documentation  1.0.4
All you need to know to be successful
Data Fields
ql_drv Struct Reference

The main QL driver instance description. More...

Data Fields

struct caps_drvdrvi
 
FILE * writeto
 
enum ql_printer sel_prn
 
unsigned leading_bytes
 
unsigned bytes_per_line
 
unsigned dot_count
 
unsigned manual_cutter:1
 
unsigned auto_cutter:1
 
unsigned bi_colour_prn_caps:1
 
unsigned high_density_prn_caps:1
 
unsigned min_margin
 
unsigned max_margin
 
unsigned min_length
 
unsigned max_length
 
unsigned min_width
 
unsigned max_width
 
unsigned bi_colour_medium_present:1
 
unsigned pre_sized:1
 
struct caps_area print_large_margins
 
struct caps_area print_small_margins
 
struct ql_job job
 

Detailed Description

This is a base description with various shared capabilities between all QL laser printers.

Field Documentation

◆ drvi

struct caps_drv* drvi

◆ writeto

FILE* writeto

If not NULL, write the printer wire data to this file instead.

◆ sel_prn

enum ql_printer sel_prn

ID of the device

◆ leading_bytes

unsigned leading_bytes

Amount of leading zero bytes leading a new/next print job

◆ bytes_per_line

unsigned bytes_per_line

Amount of bytes to be sent to the printer for one line

◆ dot_count

unsigned dot_count

Amount of pixel the printer is capable in one full line

◆ manual_cutter

unsigned manual_cutter

'1' if the printer device has a manual cutter

◆ auto_cutter

unsigned auto_cutter

'1' if the printer device has an auto cutter

◆ bi_colour_prn_caps

unsigned bi_colour_prn_caps

1 if the printer is capable of bi-colour printing

◆ high_density_prn_caps

unsigned high_density_prn_caps

'1' if the printer is capable to print at 600 DPI

◆ min_margin

unsigned min_margin

minimal margin on continuous length tape at top and bottom [mm]

◆ max_margin

unsigned max_margin

maximal margin on continuous length tape at top and bottom [mm]

◆ min_length

unsigned min_length

Minimal length of a continuous length label the printer is capable to deal with

◆ max_length

unsigned max_length

Maximal length of a continuous length label the printer is capable to deal with

◆ min_width

unsigned min_width

Minimal width a label must have

◆ max_width

unsigned max_width

Maximal width a label can have (mechanical restrictions)

◆ bi_colour_medium_present

unsigned bi_colour_medium_present

1 if the medium is capable of bi-colour printing

◆ pre_sized

unsigned pre_sized

Set, if the media is of die-cut type, else continous length

◆ print_large_margins

struct caps_area print_large_margins

◆ print_small_margins

struct caps_area print_small_margins

◆ job

struct ql_job job

The documentation for this struct was generated from the following file: