Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HP LaserJet 4200 need to print with slashed zero

Status
Not open for further replies.

fitedgar

MIS
Apr 24, 2002
238
US
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
 
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.
 
>> "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!).
 
Dansdaduk,
I thank you for your time and effort.

Edgar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top