HP 2200d HP PCL/PJL reference - PCL 5 Comparison Guide - Page 105
Vertical Clusters, Printer-Specific Differences 2-57
View all HP 2200d manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 105 highlights
Vertical Clusters Vertical clusters are groups of two or three narrow characters side-by-side in a vertical line of text. Vertical clusters containing half-width characters can be created by using a combination of print direction and cursor positioning commands. An example of vertical clusters is shown below. The C program that follows was used to generate the PCL commands for this example. In this example, two half- width characters (e.g. 2-digit numbers) were printed as vertical clusters. ENWW #include #include #define MONTH "\214\216" #define TILDE "\201\140" #define DAY "\223\372" #define CLUSTER "\201\100\033&f0S\033&a0P%s%d\033&a270P\033&f1S" FILE *prn; main() { int point_size=24; int offset; char OFFSET[40]; prn = fopen("lpt1","wb"); /* open lpt1 for writing */ offset = ( 36 * point_size * 300) / Printer-Specific Differences 2-57