![]() |
CAPS Universe documentation
1.0.4
All you need to know to be successful
|
The main QL driver instance description. More...
Data Fields | |
| struct caps_drv * | drvi |
| 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 |
This is a base description with various shared capabilities between all QL laser printers.
| struct caps_drv* drvi |
| FILE* writeto |
If not NULL, write the printer wire data to this file instead.
| enum ql_printer sel_prn |
ID of the device
| unsigned leading_bytes |
Amount of leading zero bytes leading a new/next print job
| unsigned bytes_per_line |
Amount of bytes to be sent to the printer for one line
| unsigned dot_count |
Amount of pixel the printer is capable in one full line
| unsigned manual_cutter |
'1' if the printer device has a manual cutter
| unsigned auto_cutter |
'1' if the printer device has an auto cutter
| unsigned bi_colour_prn_caps |
1 if the printer is capable of bi-colour printing
| unsigned high_density_prn_caps |
'1' if the printer is capable to print at 600 DPI
| unsigned min_margin |
minimal margin on continuous length tape at top and bottom [mm]
| unsigned max_margin |
maximal margin on continuous length tape at top and bottom [mm]
| unsigned min_length |
Minimal length of a continuous length label the printer is capable to deal with
| unsigned max_length |
Maximal length of a continuous length label the printer is capable to deal with
| unsigned min_width |
Minimal width a label must have
| unsigned max_width |
Maximal width a label can have (mechanical restrictions)
| unsigned bi_colour_medium_present |
1 if the medium is capable of bi-colour printing
| unsigned pre_sized |
Set, if the media is of die-cut type, else continous length
| struct caps_area print_large_margins |
| struct caps_area print_small_margins |
| struct ql_job job |