Pervasive Displays Library Suite - Reference Manual 9.0.3
Library for Pervasive Displays e-paper screens, extension boards and development kits
Loading...
Searching...
No Matches
hV_CodeBar128.h File Reference

Bar-code 128-B library for Pervasive Displays iTC monochrome and colour screens. More...

#include "PDLS_Common.h"
#include "hV_Screen_Virtual.h"
Include dependency graph for hV_CodeBar128.h:
This graph shows which files directly or indirectly include this file:

Macros

#define hV_CODEBAR128_RELEASE   902
 Release.
 

Functions

bool codeBar128 (hV_Screen_Virtual *screen, uint16_t x0, uint16_t y0, String text, uint16_t height=32, uint16_t frontColour=myColours.black, uint16_t backColour=myColours.white, bool displayText=false)
 Generate and display a barcode.
 
uint16_t getSizeCodeBar128 (String text)
 Get the barcode size.
 

Detailed Description

Bar-code 128-B library for Pervasive Displays iTC monochrome and colour screens.

Project Pervasive Displays Library Suite
Based on highView technology

Author
Rei Vilo
Date
21 Jan 2025
Version
902
  • Evaluation edition: for professionals or organisations, evaluation only, no commercial usage
  • Commercial edition: for professionals or organisations, commercial usage
See also
References

Function Documentation

◆ codeBar128()

bool codeBar128 ( hV_Screen_Virtual * screen,
uint16_t x0,
uint16_t y0,
String text,
uint16_t height = 32,
uint16_t frontColour = myColours.black,
uint16_t backColour = myColours.white,
bool displayText = false )

Generate and display a barcode.

Parameters
screen&screen to display the barcode on
x0top-left x coordinate
y0top-left y coordinate
texttext to convert, string or char array
heightsize of each dot, default = 32
frontColour16-bit colour, default = black
backColour16-bit colour, default = white
displayTextdisplay text below, default = false
Returns
RESULT_SUCCESS = success, otherwise RESULT_ERROR = overflow
Note
Text maximum length is 39

◆ getSizeCodeBar128()

uint16_t getSizeCodeBar128 ( String text)

Get the barcode size.

Parameters
texttext to convert, string or char array
Returns
size, in pixels, including leading and ending *