programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Re: changing fonts and sizes II

From: Mike Ghan <mikeghan_at_logix-controls.com>
Date: Tue, 3 Jun 2003 08:27:41 -0700

SHOW-FILE requires a complete filename with extension. Try

S" yourfile.ext" SHOW-FILE

To print, the trick is to set the user variable CURRENT-DC with the
printer's Device Context (DC). This directs all output to the
printer.

I added PrintExample.F to our site at

http://www.logix-controls.com/SwiftForth/PrintExample.htm

Also, FormatText.F has a some minor changes.

Mike

-----Original Message-----
From: sftalk-bounce_at_forth.com [mailto:sftalk-bounce_at_forth.com]On
Behalf
Of Allen Anway
Sent: Monday, June 02, 2003 7:26 PM
To: sftalk_at_forth.com
Subject: [sftalk] Re: changing fonts and sizes II

Thanks, Mike. SIMPLE and TEST seem to be what I want. I got an error
on
SHOW-FILE.

When I tried printing the screen out, the new characters were
invisible to
the printer, but the regular Forth characters like 'ok' printed.
Printing
out the new kind of text would be my last hurdle, I think. I
appreciate
your work on this. --- Allen

----- Original Message -----
From: "Mike Ghan" <mikeghan_at_logix-controls.com>
To: <sftalk_at_forth.com>
Sent: Monday, June 02, 2003 1:43 PM
Subject: [sftalk] Re: changing fonts and sizes II

> Allen,
>
> It's not too tough. It just takes time to dig through the Windows
> API. I posted two files on our site (SwiftForth FAQ is still
> down???):
>
> http://www.logix-controls.com/SwiftForth/FontTools.htm
> http://www.logix-controls.com/SwiftForth/FormatText.htm
>
> You'll need to copy/paste the contents to files named FontTools.F
and
> FormatText.F.
>
> First, INCLUDE FontTools.F then FormatText.F
>
> FormatText.F has three examples SIMPLE TEST and SHOW-FILE. Type
PAGE
> first if your cursor is at the bottom of the console window.
>
> Mike
>

----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and
bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------

----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Tue Jun 03 2003 - 08:39:11 PDT

This archive was generated by hypermail 2.2.0 : Tue Dec 02 2008 - 03:04:32 PST