please dont rip this site
PRINT CHARACTERS IN PC8 SYMBOL SET


DEFINITION
     
     Symbol sets are unique groupings of characters
     (alphabetic, numeric, punctuation and special symbols)
     designed to meet the requirements of specific languages
     and occupations.
     
     This program prints the entire PC-8 symbol set
     including the normally transparent symbols.  For more
     information concerning symbol sets refer to your
     printer user's manual or the PCL5 Printer Language
     Technical Reference Manual.
     
          Note:  This example is written using
                 GWBASIC as it utilizes specific
                 commands only available through
                 a programming language.  Each
                 program language has a different
                 set of commands to perform a
                 similar function.  This cannot
                 be done in EDIT due to the
                 for/next loop command.

PRINT ALL CHARACTERS IN PC-8 SYMBOL SET

10   WIDTH "LPT1:",255             Statement prevents Basic
                                   from inserting carriage
                                   return after 80 character
                                   are printed.
                                   
20   LPRINT CHR$(27);"E"           Printer Reset
                                   
30   LPRINT CHR$(27);"&s0C"        Enables end of line wrap
                                   
40   LPRINT CHR$(27);"(10U"        Selects the PC-8 Symbol Set
                                   
50   LPRINT                        Selects a 10 pitch, 12
     CHR$(27);"(s0p10h12v0s0b3T"   point, upright medium,
                                   Courier Font.
                                   
60   FOR I =1 TO 255               BASIC Command beginning the
                                   For/ Next loop which defines
                                   the range of values to be
                                   printed.
                                   
70   LPRINT CHR$(27);"&p1X"        Allows normally unprintable
                                   characters to be printed
                                   
80   LPRINT CHR$(I);               Basic command which prints
                                   the current character
                                   
90   NEXT I                        Basic command which end
                                   loop.
                                   
100  LPRINT CHR$(27);"E"           Resets and Ejects page
                                   
110  END                           Ends Program In Basic



            Copyright  Hewlett-Packard Co. 1993
   The information contained herein is subject to change
                      without notice.
   Hewlett-Packard shall not be liable for incidental or
  consequential damages in connection with the use of this
                         material.

Questions:


file: /Techref/language/pcl/lj1616.htm, 3KB, , updated: 2006/11/6 13:18, local time: 2024/12/22 13:42,
TOP NEW HELP FIND: 
18.226.98.244:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.org/techref/language/pcl/lj1616.htm"> language pcl lj1616</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .