
gwbasic simple programming help, Please!!!
On Fri, 12 Sep 1997 00:38:45 +0100, Simon Caldecutt
Quote:
>gwbasic program. The problem is I need
>to now how to increase the size of the
>lettering (and subsequently shrink it).
>I know its something to do with the chr$
>function and that "w" doubles the width
>of the line in effect making it bigger
You are "looking in the wrong place" ;-) All of that funtionality (or at
least whatever is available to you) is part of your printer's
capabilities. The first thing you need to do is get hold of the printer
technical reference or programmers manual for your specific printer. It
will describe what control sequences you send to the printer from you
program to activate various printer functions such as text size etc. The
details will be specific to your printer make and model. If your printer
doesn't have fonts large enough for your purposes but does have a "graphics
mode" then you will need to design your required font as graphics and
develop the code needed to send them to the printer. That is a fairly large
and "ugly" job and I would suggest you "change the plan" if this is your
situation. Unless you are working for free and have a lot of interest in
doing it yourself (and the time to do so) the mores cost effective method
would be to buy a printer with the built in font capability and then either
modify the program for that printer or else simply use any of the modern
word processors all of which have excellent font support and the ability to
genrate labels very nicely ;-)
-- Regards --
Sid Lee - Calgary, Alberta, Canada (51d N, 114d West)