This manual is specific to PCL Barcodes & More 1.5. For manuals of other products, visit Documentation List.

2.4. Sending PCL commands to printer

The method of communications between your program and printer varies from platform to platform. Fortunately, many platforms allow you treat printer as a normal file. Your program retrieves a file handle by passing a special name to the file open routine. To send the PCL command, your program writes to the file handle. For example, the following C statement writes a PCL command to the printer:

fprintf(prn, "\x1B(s%dV", height);