700 HOME : ON NOT (GF) GOTO 1820: PRINT "HOW MANY LABELS ACROSS (1,2, OR 3): ";: INPUT "";NC$
710 ON NC$ <"1" OR NC$ >"3" GOTO 700:NC = INT( VAL(NC$))
720 IF NC = 2 OR NC = 1 THEN BK$ = LEFT$(BL$,35)
730 IF NC = 3 THEN BK$ = LEFT$(BL$,24)
740 POKE 795,NC: POKE 796,NC: POKE 798,FILL(NC)
750 IF LL$(1) = "" GOTO 770
760 HOME : VTAB 2: FOR I = 1 TO 4: PRINT : PRINT LEFT$(LL$(I),35 -11 *(NC = 3)): NEXT I: VTAB 12: PRINT "IS THE ADDRESS OK? ";: GET X$: ON X$ = "Y" OR X$ = CHR$(121) GOTO 860: IF X$ < >"N" AND X$ < > CHR$(110) THEN PRINT CHR$(7);: GOTO 760
770 HOME
780 FOR I = 1 TO 4: VTAB 2 +I *2: PRINT "LINE "I":";:K$ = "":L = LEN(BK$) -2: GOSUB 90: PRINT
790 IF K = 155 THEN I = 4: GOTO 420
800 LL$(I) = K$: NEXT I
810 FOR I = 1 TO 4:LL$(I) = " " +LL$(I):LL = LEN(BK$) - LEN(LL$(I)): IF LL >0 THEN LL$(I) = LL$(I) + LEFT$(BK$,LL)
820 IF LL <0 THEN LL$(I) = LEFT$(LL$(I), LEN(BK$))
830 NEXT I
840 FOR I = 1 TO 4: POKE 789 +I, LEN(LL$(I)): NEXT I: POKE 794, PEEK(793)
850 FOR J = 1 TO 4:K = 18879 +64 *J: FOR I = 1 TO LEN(LL$(J)): POKE K +I, ASC( MID$ (LL$(J),I,1)): NEXT I,J: GOTO 760
860 VTAB 23: HTAB 12: PRINT "RETURN FOR MENU"
870 VTAB 12
880 INPUT "HOW MANY LABEL ROWS? ";NL$
890 IF NC = 2 OR NC = 1 THEN PRINT EX$ CHR$(17)
900 IF LEN(NL$) = 0 GOTO 420
910 NL = VAL(NL$)
920 F = 1
930 IF NC = 2 OR NC = 1 THEN PRINT EX$ CHR$(17)
940 HOME : VTAB 12: PRINT "PRESS ESCAPE TO STOP PRINTING"
1370 IF EC = 4 THEN A$ = "DISK IS WRITE-PROTECTED": GOTO 1440
1380 IF EC = 6 THEN A$ = "FILE NOT FOUND ON THIS DISK": GOTO 1440
1390 IF EC = 8 THEN A$ = "I/O ERROR--CHECK DRIVE DOOR": GOTO 1440
1400 IF EC = 9 THEN A$ = "DISK FULL": GOTO 1440
1410 IF EC = 10 THEN A$ = "FILE LOCKED": GOTO 1440
1420 IF EC = 13 THEN A$ = "FILE TYPE MISMATCH": GOTO 1440
1430 A$ = "ERROR " + STR$(EC) +" IN LINE " + STR$(EL)
1440 HOME : VTAB 10: PRINT LEFT$(BL$, INT((40 - LEN(A$))/2))A$: VTAB 22: PRINT "ESC TO QUIT, RETURN TO TRY AGAIN";: GET A$: PRINT : IF A$ < >EX$ THEN ON EF GOTO 360,420,590,1100,1250,530