[Prev] [Next] [Contents] [Commodore] [New] [Search] [Home]

When working with one character set, individual lines can be PRINTed in the opposite character set. When in upper case with graphics, the cursor down character (CHR$(17)) switches the characters to the upper and lower case set. When in upper and lower case, the cursor up character (CHR$(145)) allows upper case and graphics characters to be PRINTed.

Other special functions in the printer are controlled through character codes. All these codes are simply PRINTed just like any other character.

TABLE of Printer Control Character Codes:
10 Line feed
13 RETURN (automatic line feed on CBM printers)
14 Begin double-width character mode
15 End double-width character mode
18 Begin reverse character mode
146 End reverse character mode
17 Switch to upper/lower case character set
145 Switch to upper case/graphics character set
16 Tab to position in next 2 characters
27 Move to specified dot position
8 Begin dot-programmable graphic mode
26 Repeat graphics data

See your Commodore printer's manual for details on using the command codes.


The modem is a simple device that can translate character codes into audio pulses and vice-versa, so that computers can communicate over telephone lines. The OPEN statement for the modem sets up the parameters to match the speed and format of the other computer you are communicating with. Two characters can be sent in the string at the end of the OPEN statement.

The bit positions of the first character code determine the baud rate, number of data bits, and number of stop bits. The second code is optional, and its bits specify the parity and duplex of the transmission. See the RS-232 section or your VICMODEM manual for specific details on this device.

[Prev] [Next] [Contents] [Commodore] [New] [Search] [Home]
This page has been created by Sami Rautiainen.
Read the small print. Last updated May 20, 1998.