- width, height = gcx:barcode("code93", x, y, module_width, barcode_height, text)
- width, height = gcx:barcodesize("code93", x, y, module_width, barcode_height, text)
- width, height = gfx.barcodesize("code93", x, y, module_width, barcode_height, text)
SYNOPSIS
DESCRIPTION
Draws a Code 93 barcode at the coordinates x, y.
This is an alphanumeric barcode code designed to encode 26 upper case letters, 10 digits and 7 special characters:
A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
-, ., $, /, +, %, SPACE.
The checksum is added automatically.
The parameter module_width specifies the width of one Module unit. If the barcode is to be printed, the parameter should be at least 2, better 3.
The parameter barcode_height specifies the height of the full barcode in pixels.
RETURN VALUE
On success, returns the width and height of the resulting barcode in pixels. If the barcode cannot be drawn
due to invalid parameters, returns nil, nil.