[comp.databases] Font Size Change in Clipper/Dbase?

jyoon@gmuvax2.gmu.edu (Jong P. Yoon) (05/20/91)

Need some tip:

How can I change a font size in either Clipper or Dbase?
For example, a bigger size of ``name'' and a smaller size of
``address'' should appear in a print out (lazer printing).

Please e-mail me and I will summarize it.
Thanks in advance,

Jongpil Yoon
jyoon@gmuvax2.gmu.edu

jgb@prism.gatech.EDU (James G. Baker) (05/20/91)

In article <1991May20.045701.14607@gmuvax2.gmu.edu> jyoon@gmuvax2.gmu.edu (Jong P. Yoon) writes:
>How can I change a font size in either Clipper or Dbase?

There's a package called Escape (I beleive) that handles all sorts of
HP LaserjetII formatting such as fonts, rule lines, etc.  

If you just want to keep with the internal fonts, you could send out
the PCL codes.  But the PCL codes are pretty intense and I bet it would
be difficult to control horizontal tabs, etc once you change the CPI.

Good luck.

-J Baker





-- 
BAKER,JAMES G - Undergraduate Lab Instructor, School of Electrical Engineering
____  _    _    Georgia Institute of Technology, Atlanta Georgia, 30332
  |  | _  |_)   uucp: ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!jgb 
(_|. |_). |_).  Internet: jgb@prism.gatech.edu, jgb@ee, jgb@eecom, jgb@cc

kms@well.sf.ca.us (Kelly Stanonik) (05/22/91)

jgb@prism.gatech.EDU (James G. Baker) writes:

>In article <1991May20.045701.14607@gmuvax2.gmu.edu> jyoon@gmuvax2.gmu.edu (Jong P. Yoon) writes:
>>How can I change a font size in either Clipper or Dbase?

>There's a package called Escape (I beleive) that handles all sorts of
>HP LaserjetII formatting such as fonts, rule lines, etc.  

Yes, the name is Escape and it's published by Pinacle Publishing.  Their
number is (800) 231-1293.  It's a fairly good library and does what it
does well.

>If you just want to keep with the internal fonts, you could send out
>the PCL codes.  But the PCL codes are pretty intense and I bet it would
>be difficult to control horizontal tabs, etc once you change the CPI.

The codes aren't that intense, and if the situation just involves selecting
two fonts it might be worth doing.  The only "tricky" part is that if the
fonts aren't cartridge fonts then they'll have to be downloaded (which
involves selecting untranslated IO via an ASM function or using a RUN COPY
command)  If they are cartridge fonts then you're just talking about two
fairly simple escape sequences for font selection and perhaps some
horizontal positioning (which can be made based on measured distance, not
on the characteristics of a particular font).

-- 
* "My God, it's full of stars" -- overheard in a hamburger hamlet in west la.
* kms@well.sf.ca.us,  or bix: kms, or prodigy (yuck!) cgpd47a
* 2zip/arip              cis: 74730,77  
* free software        snail: 4469 ventura cyn #e107, sherman oaks, ca 91423