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!
  • Students Click Here

*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 Internal Fonts

PCL Internal Fonts

PCL Internal Fonts

I have access to HP LaserJet 1022n and HP LaserJet 5035. Have installed PCL5 Drivers for these printers on Win10, 64Bit PC.
Want to know List of Internal Fonts installed on these printers...HP Manual indicates 26 Internal fonts for 1022....
I read somewhere that DMInfo command should work.
Please help me to print list of Internal Fonts (and Typefaces) so that I Can specify fonts using HPGL2 (AD Alternate font OR SD Standard Fonts and then selecting SA or SS Command to print Labels).

Thanks for your help in advance.

(I also checked PCL Paraphernalia Utility => Font sample, but it lists languages PCL or PCLXL for Font selection).

RE: PCL Internal Fonts

The situation regarding the (quite old)- LaserJet 1022n is a bit confusing; according to the User Guide manual:

The description does indicate that 26 PCL fonts are available, but it also states that the printer uses a host-based driver.

With host-based systems, all of the rendering is done on the host workstation, which just sends a series of encapsulated, compressed, raster images to the printer, which just unencapsulates and uncompresses these, and prints the resultant dots.
With the majority of host-based printers, the device does not contain any printer-resident fonts (or perhaps just has one very basic one for diagnostic purposes?).

Of course, it may just be the case that the printer does also support PCL5, but that HP don't supply a PCL5 driver - I don't know.

Being such a very basic printer (with only 8 MB of memory), it is quite likely that it won't support DMINFO commands (part of the PML language).

The LaserJet M5035 definitely supports PCL 5 (and PCL 6 (PCL XL) and PostScript, and has a basic memory of 256 MB.

I'm not sure what you are asking with your statement "... checked PCL Paraphernalia Utility => Font sample, but it lists languages PCL or PCLXL for Font selection ...".
In that context, PCL implies PCL 5 and PCLXL implies PCL 6 (PCL XL) - so you would want the PCL option.

The Font Sample tool will generate a job showing what the printer makes of the (standard) font selection sequence associated with the selected (well-known) printer-resident font (from a pre-defined list of those which may be standard on LaserJet devices); it does not generate a list of the available fonts on the target device.

The Status Readback tool can query the device and (with some, but not all, devices) return a list of available fonts, using the PCL Fonts or Fonts Extended items - but this is probably unlikely to be supported by the low-specification LaserJet 1022n.

RE: PCL Internal Fonts

Thanks a lot DanDadUK for your elaborate response...
Agree, I pulled out HP1022n from archives just to be able to use PCL5 Drivers (to use HPGL2 language).
However, trying various Font Family (Kind 1 of AD or SD Command) and Typefaces (Kind 7 of AD or SD Command) I end up getting same letters...This is perhaps due to fact that it has limited memory (and hence limited Internal fonts)...Though Manual indicates 26 fonts,all may not be available.

Hope to be better with HP5035...

Sorry for not expressing query on PCL Paraphernalia clearly. Have attached screenshot of with two rectangles...Red one indicates available dropdown menu for language...Have selected PCL and Blue rectangle shows Escape sequences for Font selection...but I am looking for HPGL2 sequence to be used in AD or SD command (Kind 1)...

Alternately, I think, will try [ESC]%0A to switch to PCL and use these and switch back to HPGL2 and send LB command...
Similarly will try ReadStatus on HP 5035...Have said "Will" try when I go to office on Monday. Thanks for your help...

RE: PCL Internal Fonts

As the name implies, the PCL Paraphernalia tools are primarily concerned with PCL languages (PCL5 (PCL) or PCL6 (PCL XL)).

The tools don't generate HP-GL/2 commands, but the Printer Languages tool provides a brief list of (known) HP-GL/2 names.

As regards the parameters for the HP-GL/2 AD or SD commands; these are in terms of 'Kind' values, where
  • Kind1: Symbol Set
  • Kind2: Font spacing
  • Kind3: Pitch
  • Kind4: Height
  • Kind5: Posture
  • Kind6: Stroke Weight
  • Kind7: Typeface
These values appear to have the same meaning in HP-GL/2 as in PCL, with the following minor exceptions:

  • The Symbol Set value in PCL uses the alphanumeric (e.g 0N) designation, whilst HP-GL/2 uses the equivalent numeric Kind1 representation (e.g. 14); there is a mathematical relationship between the two representations.
  • The HP-GL/2 Posture value (Kind5) appears to be a subset of the PCL Style value.
So with the PCL font selection sequence:


Kind1 = "0U" = 21
Kind2 = 0 (the 'p' parameter) indicating fixed-pitch
Kind3 = 8 (the 'h' parameter) indicating a pitch of 8 characters-per-inch
Kind4 = not present (height (the 'v' parameter) is not relevant for s fixed-pitch scalable font)
Kind5 = 0 (the 's' parameter) indicating upright posture (and structure=solid & width=normal)
Kind6 = 0 (the 'b' parameter) indicating stroke-weight = medium
Kind7 = 4124 (the 'T' parameter) indicating the standard typeface identifier for the Naskh typeface.

RE: PCL Internal Fonts

I think that it is extremely unlikely that the LaserJet 1022n printer supports the Naskh font.

It may or may not support the HP-GL/2 'subset' of the PCL5 language.

If it does have 26 internal fonts, I'd guess that these are mainly bitmap fonts, with perhaps a few of the (old) Intellifont format scalable ones - perhaps a bit similar to the fonts available with the LaserJet III or LaserJet IV devices?

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