background image

Summary of Contents for CBM 4023

Page 1: ...Commodore CBM Bi Directional Printer User s Manual Model 4023 f i c o m m o d o r e COMPUTER...

Page 2: ...comply with the limits for a Class A computing device pursuant to Subpart J of Part 15 of FCC Rules which are designed to provide reasonable protection against such interference when operated in a co...

Page 3: ...Commodore CBM Bi Directional ___________ Printer User s Manual Model 4023 Part Number 4023025 Crcommodore 1983 Commodore Business Machines Inc...

Page 4: ...3 USING YOUR PRINTER 13 SPECIAL PRINTER ASSOCIATED COMMANDS 14 The OPEN Command 14 The CMD Command 14 The PRINT Command 15 The CLOSE Command 15 PRINTING IN THE DIRECT MODE 16 PRINTING UNDER PROGRAM C...

Page 5: ...NCTIONS 33 Enhanced Characters 33 Paging 33 Specifying Individual Upper and Lowercase Characters 33 Reversing a Field 35 The Carriage Return 35 Quotation Marks 35 APPENDIX SIMPLE STRING FORMATTING A 2...

Page 6: ......

Page 7: ...computer you should type the BASIC command POKE 59468 12 at the beginning of each session with your computer and printer DESCRIPTION This printer is designed to operate through software control It pri...

Page 8: ...Figure 1 Feed Mechanism and Ribbon Cartridge 2...

Page 9: ...ecially useful for the printing of business forms See Figure 1 Normal paper without sprocket holes is useable too Printer Ribbon The printer ribbon shown in Figure 2 is an easily loaded cartridge Inte...

Page 10: ...t Direction Bi directional Column Capacity 80 Character Font 8 X 8 Line Spacing Programmable Character Size 0 094 high 0 08 wide Copies 3 including original Ribbon Type Cartridge Ribbon Life 1 2 X 106...

Page 11: ...to your computer See Section 2 page 8 for information about which IEEE cable to get Setting up Before starting to use your printer you should make sure that it is in working condition This procedure i...

Page 12: ...6...

Page 13: ...properly in place Follow this procedure 1 Lift the plastic paper cover gently to expose print head and mechanism 2 Carefully remove any foreign material that may have strayed into the mechanism or el...

Page 14: ...your printer to your computer 1 Turn off the AC power to your computer 2 Place the printer in a convenient location close to the computer DO NOT connect the printer to an AC outlet at this time 3 If y...

Page 15: ...the power to the printer press the rocker switch at the rear of the printer so that the white dot is visible In response to the application of AC power the printer s microprocessor should move the pr...

Page 16: ...n folded pin feed paper You can purchase this paper from your local Commodore dealer The paper drive in this printer may be adjusted to accept varying widths of paper This is done by sliding the pin f...

Page 17: ...CDEFGHIJKLMNOPQRSTUVUlXYZC 3t _ U F I h a H r H I I 012 3 4 5 6 7 6 9 eftBC D EFG H I JKLMNOPQRSTUVWXY2t 3t _J 9 b T I h 1_ r H I I 1 0 123456789 8 ABCDEFGHIJKLMNOPQRSTUVUIXYZt 3t J 9 U F 1 1 H _ r L...

Page 18: ...12...

Page 19: ...heral device such as the tape cassette recorder or the Commodore Floppy Disk Drive 4 Open and close files You should refer to your computer User Manual for this information This section uses certain c...

Page 20: ...printer number you can have it changed by an authorized Commodore technician See your Commodore dealer about this You might want to have a printer s device number changed if you have two printers atta...

Page 21: ...k You may not do this with PRINT It must always be typed out as PRINT The CLOSE Command The syntax of this command is CLOSE Ifn You should always close a file after printing from it You may not exceed...

Page 22: ...rect mode listing process of a short BASIC program A file containing a single BASIC statement is typed into the computer s memory The file is opened the output channel is opened and the file is listed...

Page 23: ...PRINT command to close the channel Then type the CLOSE command to close the file The RUN command is given and the resulting printout is shown here T H IS PROGRAM ILLUSTRATES PROGRAM CONTROL 10 OPEN 3...

Page 24: ...S T Here is an explanation of each statement in the program Line No Explanation 10 Opens the printer as a file for printing 20 Sets A equal to a string containing all the unshifted characters from the...

Page 25: ...icates to the computer to print to device 4 in this case the printer 100 CHR 1 increases the width of the printed character to twice its original size This line prints the title of the program in enha...

Page 26: ...R I 32 TO 95 sA A CHR I NEXT 30 FOR 1 160 TO 2 2 3 B B CHR I NEXT 40 c a A 50 D flM B 60 E H A 70 F S B 00 G a M c 30 0 100 P R IN T 4 C H R 1 CBM 4 0 2 3 PRINTER CHARACTER SET 110 P R IN T 4 P R IN T...

Page 27: ...the printer format diagnostic messages 5 Define a programmable character 6 Set spacing between lines 7 Upper Lower case 8 ASCI I Graphics 9 Suppress diagnostic message printing 10 Reset printer After...

Page 28: ...here is no formatting data in the printer s memory then the data string is printed exactly as it is received When formatting string data from the computer a skip CHR 29 must be sent to delimit the end...

Page 29: ...n The Formatting Characters Specification of a format is accomplished by a set of formatting characters which when joined define the rules of formatting data for the printer format interpreter The for...

Page 30: ...fixed column position Defines the position of the decimal point and is printed literally in this positin Specifies a trailing sign If the number is a blank is printed A numeric field cannot have both...

Page 31: ...00 S 99 99 77 77 00 ZZZZ 77 0077 ZZ 999 77 77 000 ZZZ 99 77 077 00 999 99 77 77 00 99 77 99 001 o o S 999 1 5E 02 015 Z 999 1 5E 02 0 015 Z 999 1 5E 02 0 015 Note Above sign will be replaced with sign...

Page 32: ...o right justify integers define an alpha string the length of the longest integer Then blank fill the left of the integer data string and right justify the number within that string Literals in Format...

Page 33: ...E7 7ABCDE7 Setting the Number of Lines Per Page sa 3 This special secondary address allows you to vary the number of printed lines per page In order for this paging option to take effect you must turn...

Page 34: ...was made to set the lines per page to a value outside the range 13 linesperpage 728 via a print to SA 3 The command is ignored and the previous length remains in force PE C Bad command You gave the p...

Page 35: ...er square to create your character Then add up the binary bits indicated by your dots in each column These totals are used in the DATA statement in your program Example 128 64 32 16 8 4 2 1 28 34 65 6...

Page 36: ...er s memory want want The device number the printer s The logical file number The FOR NEXT loop contained in this line reads the data contained in line 10 and constructs a string A A contains the nece...

Page 37: ...n a line wraps around to the next line Setting Spacing Between Lines sa 6 A secondary address assignment of 6 controls the number of steps between successive lines of print There are 144 steps per inc...

Page 38: ...ting sa 9 To turn off the diagonostic message printing you will send a secondary address of 9 Example PE M COMMODORE COMMODORE 10 0PEN4 4 4 sPRINT 4 sCL0SE4 20 0PEN2 4 2 30 0PEN1 4 1 40 PRINT 2 9 50 P...

Page 39: ...means of the code as keyboard entry shown inTable 3 Otherwise printing is continuous The paging function provides for 66 lines per page including three blank lines at the top of the page and three bla...

Page 40: ...e return Code ASCII CHR 1 SOH CHR 129 CHR 147 CHR 19 DC3 CHR 18 DC2 CHR 146 CHR 13 OR Keyboard NA NA SHIFT I CLR HOME OFF RVS SHIFT CLR HOME OFF RVS RETURN Carriage return with no line feed CHR 141 Li...

Page 41: ...a Carriage Return with Line Feed will be forced and the overflow characters will be printed on the next line If you transmit a Shift Carriage Return 8D a Carriage Return without Line Feed is executed...

Page 42: ...36...

Page 43: ...PPENDIX The programs in this appendix illustrate the many formatting capabilities of your printer The first program is completely annotated In the following programs new concepts are commented upon A...

Page 44: ...lists the program Here is a printout from the program Art Art Art Ar t ABC AB AB AB AB 10 OPEN1 4 20 CPEN2 4 1 30 0PEN3 4 2 40 0PEN4 4 4 50 PRINT 4 REM ENABLE ERROR DIAGNOSTICS 60 A AA AA AA AA REM F...

Page 45: ...t Print data exactly as transmitted 2 1 Format data before it is printed 3 2 Transmit the format string 4 4 Enable format error diagnostic messages to be printed if any Prints error messages if any De...

Page 46: ...s signs in the first two fields 0001 0002 0003 0004 0002 0003 0004 0005 0003 0004 0005 0006 0004 0005 0006 0007 0005 0006 0007 0008 0006 0007 0008 0009 0007 0009 0009 0010 0008 0009 0010 0011 0009 001...

Page 47: ...ts A leading sign always prints a plus or a minus for the sign of the number If no sign is specified in the format then no sign is printed This works essentially like an absolute value on the number 1...

Page 48: ...e then the formatted number is truncated 5 00 1 25000 3 10 00 2 50000 6 15 00 3 75000 9 20 00 5 00003 12 25 00 6 25000 15 30 00 7 50000 18 35 00 8 75000 21 40 00 10 00000 24 45 00 11 25000 27 50 00 12...

Page 49: ...elds to the left of the are printed blank 7 15 4 27 8217 33 80 3 1 2 50 9459 51 36 68 5 46 2034 63 42 19 5 75 2674 37 72 04 9 08 6973 24 38 7 1 6 03 6900 33 86 89 64 163 36 21 87 3 61 5333 47 38 83 3...

Page 50: ...s a terminator for the alpha field so that it is formatted correctly 0000 PET COMPUTER 795 00 50 10 OPEN1 4 0 OPENS 4 1 30 0PEN3 4 40 0PEN4 4 4 50 PRINT 4 REM ENABLE ERROR DIAGNOSTICS 60 F ZZZZZ AAAAA...

Page 51: ...t appears at the beginning of the format string at the beginning and end of the printout 05 475 03 106 03 746 06 156 02 I 694 01 992 07 406 06 4 69 09 493 05 632 09 340 05 6 10 04 284 00 5 45 00 668 0...

Page 52: ...Note...

Page 53: ...Note...

Page 54: ...Note...

Page 55: ......

Page 56: ...C c o m m o d o r e COMPUTER...

Page 57: ...te serielt kabel er fastmonteret p Commodore 4023 printeren og som f lge heraf findes der intet l stiiggende i emballagen SIDE 9 Tilslutning af printeren Pkt B og C Monter det seks polede gr DIN kabel...

Reviews: