I'm attempting to adjust the pitch to 12 characters per inch so the invoice number (green box) will fit within the designated column:

However, the output is not affected, and the HP printer just passes the code through as if it is text to be printed (yellow box).
I'm using the following code with the intention of every subsequent print statement resulting in text that is 12 chars/in.
X.ESC = CHAR(27)
X.PCL.COMMAND = X.ESC:"(s12H"
PRINT X.PCL.COMMAND
Does anything need to be enabled on the printer (hp4350) for PCL commands to take effect?
The printer in question will generate a PCL font list so I think that confirms the required software is present.
Also, does every print statement have to include the escape sequence or can it just be invoked once and remain in effect until the page/job is finished?
It's been 10+ years since I messed with this (at another site), but I don't recall having any trouble with it.
------------------------------
Shawn Waldie
enterprise application developer
Rocket Forum Shared Account
Los Angeles CA US
------------------------------