[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
QbasicFAQ_PrintExtended
How do I print extended characters?


Back to QBasic FAQ Main Page.

Printing some of the extended characters, is usually possible on most printers, but the type of printer and the desired character, have more of a bearing on determining whether the character will print. Generally speaking, any drawing character will print on 90% of the printers. By drawing character, I mean the shapes and lines, and other geometric figures, plus the extended international characters that exist above the standard character set. Characters and symbols BELOW CHR$(14) are generally accepted as printer CONTROL CODES.

Getting the extended characters into your program is not difficult, you can copy and paste them from QB's Help File. (They're listed under ASCII codes.) Or you can get the code number and use CHR$(code_number) to print them.

Example: CHR$(219) will print a full solid-filled square the size of one character.

last edited (January 1, 2003) by blip, Number of views: 2455, Current Rev: 5 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Tore Nestenius at .NET Consultant - Synchron Data.