INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

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.

Jobs

HP LaserJet 4200 need to print with slashed zero

HP LaserJet 4200 need to print with slashed zero

(OP)
I have a DOS based program that uses HP printer internal fonts. ( No windows' drivers are used)

IS there a way to print zero with a slash ( slashed zero, users are posting checks to wrong acounts)

There are no internal settings that I am aware.
Any PCL commands?

Edgar

RE: HP LaserJet 4200 need to print with slashed zero

Only options:

(a) Find a font which has a 'slashed-zero' glyph (character shape) associated with the 'digit-0' character code (in all standard fonts this will be the character with decimal code 48).
None of the built-in fonts on LJ4200 have this, so you'd need to get one either on a plug-in DIMM, or as a downloadable soft-font (so you'd need to include this and some PCL control sequences in your DOS output).

or

(b) Print using an ordinary font, then 'backspace' (or otherwise reposition using control sequences), then overprint with a "/" or "-" character.
Getting the position correct is likely to be problematical, and it will make any field containing this invalid numerically.

or

(c) Use the 'capital O with stroke' character, available in most of the built-in fonts by using the character with code decimal 216.
Drawback is that this is not considered to be numeric, and it will obviously upset collating if you sorted on a field containing this instead of a real zero.

RE: HP LaserJet 4200 need to print with slashed zero

>> "available in most of the built-in fonts by using the character with code decimal 216."

This is only true if you select (or the printer has been configured to default to) a suitable coded character set (Symbol Set in HP terms); the most common are:

(a) The 'ISO-8859/1' coded character set (HP Symbol Set id=0N), which matches the default 8-bit coded character set used with most modern operating systems.

(b) The 'Windows ANSI' superset of this (HP symbol Set id=19U) which uses the 'undefined control code range' (character codes decimal 128 - 159) for extra printable characters (e.g. Euro currency sign, PerMille symbol, etc).

If you use the factory default 'Roman-8' character set (HP Symbol Set id=8U) then you'll get 'capital A umlaut' (I think) - but as this character set doesn't match the internal coded set used in any modern operating system, I don't see why it is still used (especially as the factory default!).

RE: HP LaserJet 4200 need to print with slashed zero

(OP)
Dansdaduk,
I thank you for your time and effort.

Edgar

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!

Resources

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