Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

PCL fonts

PCL fonts

PCL fonts

Hi All,

Can someone help me in telling the type face value of command (s#T to get the fonts 'Kosmo' and 'Arial Black' ?

Thanking you,

RE: PCL fonts

The {esc}(s#T sequence is part of a full primary font selection sequence.

Such a sequence can only select what is there; it does not create a font if it is not resident on the printer; if an exact match cannot be found, the printer substitutes the closest match, according to a predefined set of selection precedence rules.

As far as I am aware, none of the standard LaserJet models includes either the Kosmo or ArialBlack typefaces within the built-in resident set, so you could only use these if you do one of the following:

(1) Purchase a font cartridge (DIMM) holding the required fonts, and plug this into a spare slot on the device. Disadvantage is that cartridge can only be used on one device at a time.

(2) Purchase downloadable PCL format soft font equivalents of the PC-based fonts; these could be in bitmap format (i.e. single size) or scalable (either Intellifont (PCLEO) or TrueType (PCLETTO) encapsulated formats). Advantage is they could be downloaded to multiple devices.

(3) If you have the Windows TrueType versions of these fonts, some applications (e.g. Word) in conjunction with the printer driver, will generate an on-the-fly encapsulated PCL font (or rather, just a subset of this containing the characters to be printed from the document) and download this within the output print stream.

RE: PCL fonts

should come close to Arial. As far as Black that depends
on your color setting although you can specify an amount of
boldness with (s#b i.e. Ec(s0b4T for example.

I don't have a clue about the other font because I'm not familiar with it.

You can create fonts (at least with the laserjets) but it's
rather involved. If you are using a laserjet, you might consider a soft font as Dan suggested.

RE: PCL fonts

Hi Dan,

 If I connect a DIMM on the printer, Please let me know which should be the typeface given to get the above fonts?


RE: PCL fonts

I don't know off-hand what the typeface ID values are for Kosmo or ArialBlack fonts.

In any case, there might be different values depending on the source of the font (e.g. original Courier was ID=3, but Courier on most modern LaserJet devices is ID=4099).

If you purchase a DIMM, or a soft font file, the vendors of the product should provide documentation which includes the full font selection sequence(s) for the included font(s).

As for the comment:
"you can specify an amount of boldness with (s#b i.e. Ec(s0b4T for example"
this again will only select what if already there; you can't force the printer to create (for example) an extra-bold, or demi-light, font if all that is printer-resident is a normal weight and a bold weight variant of that font.

In fact, with the font selection priority rules, selecting an extra-bold weight might cause the printer to use (as a closest match) an entirely different typeface (as this latter element is the least important in the priority list)

RE: PCL fonts

As far as the arial typeface, 4T comes close from what I've seen and i've been using it for 20 years approx on laserjets, and you can always work around a bolder font by
reprinting the text with a small offset don't you think ?
(at least a little bolder).

Of course a lighter font as you pointed out is another story.

RE: PCL fonts

There are several methods of achieving extra boldness:

(1) Use PCL6 (aka PCL XL) which provides various character enhancement features: boldness, skew (horizontal and/or vertical) and shear (horizontal and/or vertical). But this language is much more difficult to manipulate, and it is difficult to obtain documentation.

(2) Use a downloaded PCLETTO (PCL Encapulated TrueType Outline) font which includes a CE (Character Enhancement) segment (most don't).

(3) As buff1 points out, reprint the text with a small offset; this is the easiest to implement.

As regards typeface identifiers:

Family code=218 represents Arial; most modern LaserJet and clone devices include a variant of this font licensed from Monotype Corporation (vendor code=4), giving a typeface ID of (4*4096)+218 = 16602.
Selecting ID=218 will still select this typeface if there is not one present with ID=218 (and there usually isn't).

Arial was a substitute for Helvetica, to get over early licensing restrictions.

Family code=4 represents Helvetica; most modern LaserJet and clone devices now include a variant of this font licensed from one of the font vendors (not sure which, with vendor code=6), giving a typeface ID of (6*4096)+4 = 24580.
Selecting ID=4 will usually select this typeface if there is not one present with ID=4 (and there usually isn't; print off a PCL typeface list from the printer to check).

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close