Commodore MPS 1000 — Commodore MPS 1000 Dot Matrix Printer User's Manual PDF (EN)

Result: .. .:...~.'.:::~.:.-:.id.~~~:~~,;;:~.~.:::.~:~...;-;_~.!~~.~-:;::~'!~;fu~1iitd HU_. fll....L 1:=1L.L E:I T PflTTEF'.'"·I 1 E: I T PHTTEF'.l"l :l i::: IT F'HTTE:F'.1 .. .1 1 . ... :rt~Hrt .: ~.:_.i .. ;;:.;.1.~~!." .. ~af .:::~ ~:~! - .. ~~~~~~~~~u~;u!:1it~• 1~~~n:;;~~:::;.~~~~~=:~~~~:11nii;.?:;:~.~!:~~-~ :: 1t11:-.:0!!::: ~.h .. :::. 1 -=···· HL.L. HL '-· HL_L. i::: IT 1::-HTTEF'.l"·I ;~: IBMffth~;t~!!E~~~!:~~~ ~ ~~-!:~'.~: .. ~ 1tttl" ~~:.~~:~~:'.::.h11:-...~ .... hn::-h-·· 13 1 T PHTTEF°l"l :~: r· I r F' H TT I:~ I? i"·' ... , ::· 1;::. Repeat Bit Image Printing Often, you' 11 need to reproduce the same line of bit image DATA for parts of images.

The CHR${26) sequence within CHR${8) mode enables you to repeat printing a bit image quite easily. The format is as follows: CHR${8) ...... CHR${26);CHR$(n);CHR$(bit image data) "n" is a binary num her (from 0 to 2 5 5) which specifies the num her of repetitions to be printed, and the "bit image data" is the DATA state- ment for the bit image that is being repeated. If you supply a value of zero for n, it is READ as 256, meaning the bit image will be reprinted 256 times. In order to repeat more than 256 times, you must use this sequence more than once. The following program demonstrates how this sequence works:

lOOPEN 4,4 20 FOR I= 1 TO 6 30READN 40 PRINT#4,CHR$(8);CHR${26);CHR$(N);CHR${243);CHR$(15) 50NEXTI 60 FOR)= 1 TO 8:PRINT#4:NEXT J 70CLOSE4 100 DATA 34,57,75,89,123, 186 Result: _ .. IUU1101 ... - ..... IOI lt!Ulllr.HM«IUnUllOU!tt -- .. ··---·-- .. ffl[UfttUlllU8HIHlftllHlrtffllfHIWWH *aH!lllnlllfUtllH•llltlllMKlllUIMUIUllll!l!IUIUl!lll m~U10•l ..... H•nll•t1•1tt10MOUl ....... _,. .... ._.,_, ... _ll•-M ......... IHl!IUUllUIU:m :ti UUUlll ..

Hll lll.11.UIU!t Mlffllfll"IQlllll!UlllllllAllUU!UU.WllllOU llUll!l 11Ult'IUU1111IUlll11U\IUllVltr.H•Hrllt!UMMll11tllll!l:ftl!ftelll11Ail lll.!llUtl!l!IUOllOYll!lllllllltllHllllllll~lllttfftlHlllnKttmtlt11lll1HIHlrtiltff!ltlfflltnR!fflll!Ulllttl11Jl.U.llfttttm1t1utlft!lffflltHtlllUllUUlUUWI 78