Not all font sizes available when using control codes

Osborne

Active Member
Although more of a PCL query than a Progress one, I wondered if anyone knows if it can be solved using Progress.

The following only prints point sizes 8, 10, 12 and 14 on my USB connected HP DeskJet 5740:-

OUTPUT TO PRINTER.

PUT CONTROL "~033(s4148T". /* Univers Font */
PUT CONTROL "~033(s1P". /* Proportional Spacing */

PUT CONTROL "~033(s8V". /* Point Size 8 */
PUT UNFORMATTED "Univers Point Size 8" SKIP.
PUT CONTROL "~033(s9V". /* Point Size 9 */
PUT UNFORMATTED "Univers Point Size 9" SKIP.
PUT CONTROL "~033(s10V". /* Point Size 10 */
PUT UNFORMATTED "Univers Point Size 10" SKIP.
PUT CONTROL "~033(s11V". /* Point Size 11 */
PUT UNFORMATTED "Univers Point Size 11" SKIP.
PUT CONTROL "~033(s12V". /* Point Size 12 */
PUT UNFORMATTED "Univers Point Size 12" SKIP.
PUT CONTROL "~033(s14V". /* Point Size 14 */
PUT UNFORMATTED "Univers Point Size 14" SKIP.
PUT CONTROL "~033(s16V". /* Point Size 16 */
PUT UNFORMATTED "Univers Point Size 16" SKIP.
PUT CONTROL "~033(s18V". /* Point Size 18 */
PUT UNFORMATTED "Univers Point Size 18" SKIP.

OUTPUT CLOSE.

I assume this is due to the printer itself only having these point sizes available, and for the other sizes they have to be downloaded to the printer. Is there a way to do this directly from Progress? Putting PrinterFont=Univers, size=16 in the .ini file works fine if you want the whole report in point size 16 but when using control codes has no affect.

Thanks in advance for any help.
 
Top