BCPCLToFile

PCL

Signatures

ERRCODE BCPCLToFileA(t_BarCode *pBarCode, LPCSTR szFilename, LPCRECT pRect)
ERRCODE BCPCLToFileW(t_BarCode *pBarCode, LPCWSTR szFilename, LPCRECT pRect)

ANSI and Unicode

Saves barcode as a PCL-file.

The origin of the coordinate space in PCL the is upper, left corner of a page. The positive y-axis points downwards.

Parameters

Parameter / typeDescription
[in] pBarCode

Pointer to barcode structure.

[in] szFilename

Path and name of file.

[in] pRect

Bounding rectangle for barcode dimensions [1/1000 mm]. (left, bottom) is the lower left corner of the barcode (usually (0, 0)). (right, top) is the upper right corner of the barcode.

Return values

NameDescription
ERRCODE

ErrOk (0) in case of success. Non-zero if error occurred.

Search documentation

Search in
More scopes
Additional scopes

All contents