|part 0 1023 bytes
I thought that by using the IBM extended character set, (especially the single line box characters), and 50 line VGA mode I could solve some of these problems.
I have written a program to do this. It is not polished, but to give you an example of what it can do, I've enclosed a drawing of one of my current projects. It won't look right unless you can get into 50 line mode. If you have ANSI.SYS installed you can do this from the Dos prompt by typing 'mode con lines=50'. Then type 'type sd50.asc'.
The program won't look right on a printer either, and that's where I need some help. Can someone tell me how to set up a HP Laser Writer to recognize the IBM character set and print in a 8 X 8 font?
The program is definitely in the beta stage, but I would like others to look at it and give comments and suggestions for improvement. If you want a copy, e-mail me personally. Please don't put requests on piclist.
Stan Ockers ( anl.gov ) ockers
Attachment converted: wonderland:SD50.ASC (TEXT/ttxt) (0002D20D)
At 09:25 03/29/99 -0600, Stan Ockers wrote:
>I thought that by using the IBM extended character set, (especially the
>single line box characters), and 50 line VGA mode I could solve some of
you could, but you get highly dependent on a special character set, which
is not even in dos a unique standard (many languages use a version of the
extended set where most of the box characters are replaced by accented
chars -- but not the single boxes, i think).
in any case, none of my windows fonts displays this (and in case you say
"who's using windows, anyway?" i'm not so sure about linux fonts either :)
part 0 1898 bytes
>you could, but you get highly dependent on a special character set, which
>is not even in dos a unique standard (many languages use a version of the
>extended set where most of the box characters are replaced by accented
>chars -- but not the single boxes, i think).
>in any case, none of my windows fonts displays this (and in case you say
>"who's using windows, anyway?" i'm not so sure about linux fonts either :)
This worried me too. So, I've just tried it on two windows machines. You of course have to go to a Dos window by clicking on the MSDOS Icon. you also have to change to 50 line mode by typing 'mode con lines=50'.
The Windows 95 machine displayed SD50.ASC O.K. I then went to a Windows 3.1 machine but it wasn't able to get into 50 line mode because 'ANSI.SYS' wasn't loaded. I'm sure if I set up CONFIG.SYS to load ANSI.SYS it will also work on this machine.
I was able to get the program SD50.EXE to run in a Dos window on both machines. Alt-R will then bring up the file SD50.ASC. The whole package, program,source etc. is only 12K so I'm adding it as an enclosure.
I don't have a Windows 98 machine around to try it on.
My point is that it will work on Windows machines at least for displaying schematics. The problem comes in when you want to print them. If you try to print from a DOS window you find that the proper character set is not available. You have to do something like capture the window and put it into Paintbrush or something and print from there.
I was wondering if you could get around this though by sending the printer the proper control codes. Of course if the printer doesn't have the IBM character set installed, it is hopeless, unless you can do a screen dump and print the screen as a graphics screen.
Attachment converted: wonderland:SD50.ZIP (ZIP /ZIP ) (0002D25F)
This type of drawing can be done with Quick Edit editor. ALT F1 will put
you into the drawing mode and you can draw lines.
QE.EXE is shareware and developed by SemWare Corporation USA.
Stan Ockers wrote:
For Embedded Controls Solutions and Custom Designs
CHIP TECHNOLOGIES - Member, Microchip Consultant Program
Email : vsnl.comchiptech
Webpage : http://business.vsnl.com/chiptech ( updated 25th March 1999 )
I'm not sure how this result will appear to you.
But I get my mails in a Unix WorkStation, and all the extended chars
appear as accented letters, or other strange chars.
It only slightly ressembles a schematic, so I can't read them.
But it should still be usable under DOS, but I prefer the standard char
Stan Ockers wrote:
---- ~~~~~~~ ------- Nuno Filipe Freitas Pedrosa
-- ~~~~ ~~ ----- SIEMENS S.A. Portugal TEL: +351 1 4242454
- ~~~~ ~~ ---- icn.siemens.de Nuno.Pedrosa
- ~~~~ ~~ ---- "MSWindows - Best run on a SlideShow"
I am using PMAIL under Win95, and your sample output looks like
printers pi to me. Not readable. I could probably switch fonts to
get it to work, but the point is that that code page is NOT
universally available, even on Wintel platforms.
Barry King, KA1NLH
NRG Systems "Measuring the Wind's Energy"
Hinesburg, Vermont, USA
"The witty saying has been deleted due to limited EPROM space"
Re: ASCII Schematics
Barry King wrote:
>I am using PMAIL under Win95, and your sample output looks like
>printers pi to me. Not readable. I could probably switch fonts to
>get it to work, but the point is that that code page is NOT
>universally available, even on Wintel platforms.
Good point. You have to go into a Dos window and even then have to reset
the screen to 50 lines. Too much trouble. Sorry I even brought it up.
More... (looser matching)
- Last day of these posts
- In 1999
, 2000 only
- New search...