hp.sqh
Author: Ray Ontko (rayo@ontko.com)
Download: hp.ziphp.sqh is a collection of SQR library routines and utility programs designed for use by SQR programmers. is written entirely in SQR. It contains routines that send appropriate escape sequences to hp printers, and also includes utility programs and functions for making use of proportional fonts in SQR programs.
hp.sqh is freely distributable as long as the original copyright notice is kept and the source code is provided. For the legal language, see COPYING.TXT.
Key features
In the sections which follow, each hp library file is provided with a link to the source code (.sqh file) for your perusal.
Comments, suggestions, bug reports are always welcomed. If you use hp.sqh and like it, send me a postcard.
- hp.sqh
- This is the library of routines. Included are hp_initialize, hp_font_load, hp_font_truncate, hp_begin_bold, hp_begin_italic, hp_superscript, hp_subscript, and a whole host of hp_weight_xxx and hp_style_xxx routines.
- hp_demo.sqr
- reads a font metrics file and a sample input text file and prints a file whose lines are truncated to a specified width placing as many proportional space characters as possible on the line (within the width). This demonstrates the hp_font_load and hp_font_truncate routines.
- hp_meter.sqr
- produces a listing file for a font that can be measured to produce your own metrics files.
- 4148.hp
- This is a sample font metrics file for font 4148 (Univers Upright Medium 7.5 point, actually).
- README.TXT
- Instructions for the hp.sqh library and utilities.
Page maintainer: Ray Ontko (rayo@ontko.com)
Copyright © 1999, Ray Ontko & Co. | Last updated: Tuesday, February 27, 2007 |