TBarCode Library 11  TBarCode Library 11
VOID _stdcall BCSetPCLMode ( t_BarCode pBarcode,
e_PCLMode  mode 
)

Sets the PCL output mode.

By default functions, such as BCPCLToFile(), create PCL Level 5 output which includes HP-GL/2 drawing operations. HP-GL/2 is part of PCL Level 5 and thus should be supported by all PCL Level 5 compatible printers. Though, some printers and some conversion tools cannot handle HP-GL/2 instructions correctly.
With this function the HP-GL/2 output generation can be turned off.
But you need to be aware that some barcode types, such as MAXICODE, can only be drawn when with HP-GL/2 enabled.

See also:
BCGetPCLMode()
Parameters:
[in,out]pBarcodePointer to barcode structure.
[in]modeThe PCL output mode.