Star Micronics FR-10, FR-15 manual Commandcodesand Escapesequences

Page 30

1000Oh- IOh= FFFOh

and the nxdt is dividedinto the two bytesof F7)hand FFh,

If “non-printable” codes are given, ie those codes fmm OOhthrough IFh and 71%,these codes will be enclosed in angle brackets, for example cDC1>. The name in the angle brackets is that assigned to the code in the ASCII con- vention. The name of the character should not be used, the binary value should”beinput. In the same way, it should be noted that the angle brackets are not to be input - they are merely there as delimitem in the printed text.

Of course, in a program, a meaningful variable name can be given to these charactem, for instance (the following example is written in BASIC):

10ESC$=CHR$(27) :BS$=CHR$(8)

20LPRINT ESC$;BS$;

COMMANDCODESAND ESCAPESEQUENCES

Somecommandcodesarecommonto boththe standardandIBMmodes.In the descriptionsof the commandcodes,all commandcodeswill be given, togetherwithanoteofthemodestowhicheachcommandcodeis applicable.

Most of the following command codes are available in both the standard mode and the IBM emulation mode. If a command is common to both modes, the descriptive heading is followed by “Both”. If the command is specific to one mode, then either “Standard” or “IBM” will follow the descriptive heading. Occasionally, there am two identical commands to perform the same function. In these cases, the relevant sign follows the escape sequence.

Whenparametemare given,the accompanyingtext describeswhetherthe parameteris an ASCIIcharacteror a binaryvalue.

In the following descriptions, first the function of the command sequence is given. This is followed by the emulation for which this command is appropriate (“Standard”, “Both” or “IBM”).

24

Image 30
Contents MULTI-FONT Page Organizationof this Manual Page Tableof Contents Frontpaneldiagnosticand DIP Switches Troubleshooting and MaintenanceSpecifications Character Sets INSTALLINGAPPLICATIONSOFI’WAREChapter Locatingthe PrinterPage Settingup Print head shield Connection DIP switch covel Loadingpaper Cut-sheetpaperFanfoldpaper continuousstationery Release lever Sprocket cover Once thepaper has been loaded Controlsand Indicators IndicatorsControls Pitchseiting Pitch Panel LockIocpi Fontseiting Font Panel LockQuietmode Paperhandling Form feedPaperparking Short tear-offfunction BUFFERCLEAR/RESET Test and MaintenancesettingsMicro Feed Setting UP the Memoryswitches Page Font Menu CommandMenuMenuoptions LinePrint Menu Printpitch Condensed Print ItalicprintAutoloading FormsMenu Skipover PerforationAutocr Linesper Inch Pagelength Autolf Ramusage Buffer QuietmodeOptionasf Autocr ONI Linesper InchEmulations NumericalrepresentationCommandcodesand Escapesequences Examplecommand Both ESCStandard Font style and characterset controlcodesSelect italic characters Deselectitalic printingSelectfont Both Select charactertable BothSelect internationalcharacterset Esc Select primarycharactersetSeiectsecondarycharacterset OAh\ Printcontinuouslyfrom the AHCharactersChart IBM Printasinale characterfrom the All CharacterChart IBM \ ES7\ Select/cancelundefinedcontrolcode area Standard Fontpitch controlcodes Set condensedprint mode Cancelcondensedprint modeSelect/cancelproportionalprintingBoth Seiectkancei expandedprinting Specialprint mode controlcodesSet or cancel pica proportionalpitch Seiectone-iineexpandedprintingBothCancelone-lineexpandedprint Both Select Masterprint mode BothSelect print mode Selectemphasizedprint mode BothCancelemphasizedprint modeBoth Select/canceloverlineBoth Canceldouble-strikeprintingBothSelect/cancelunderlineBoth Select double-strikeprintingSelect superscriptkubscript Cancelsuperscripthubscript BothLine space controlcodes LinefeedSet iine spacingto 1/6 inch Set linespacingto 1/8 inchSet iine spacingto 7/72 inch Set iine spacingto n/216 inchExecuteESCAdefinitionIBM Set line spacingto n/72 inch StandardDefineline spacing1/72 inch increments One-timelinefeed in 1/216 inch increments BothSet verticsiprint positionin iines Both Form feed controlcodesReverseone-timelinefeed in 1/216 inch Increments Both FormfeedBoth mReversefeed to top of form Both Set page iengthin iines BothMoveto next verticaitab position Marginsand verticaltab settingcontrolcodesSet top-of-form Set verticaitab positions BothSelectverticalform unit VFUchannel Both Set VFU verticaltabsSet bottommargin Canceltop and bottommarginsSet top margin Set left and right margins BothSet right margin Horizontalprint position controlcodesSet left margin Carriagereturn BothSet/cancelautomaticlinefeedIBM Moveto next horizontaltab BothSet/clearhorizontaltabs Both Set horizontalprint position Restoretabs to defaultsettingsSet relativehorizontaltab positions Both EscrSet justificationmode ProducecharacterspaceStandardSelect next horizontalprint positionby dot CopystandardROM font into RAM DownloadedcharactercontrolcodesMove print head ~StandardDefinedraft downloadcharacters IBM Byte4 3rd Graphics Select download/standardcharactersetBothSelect-bitimagemode Both Select 8-dot normaldensity Select8-dot doubl-densitySelect8-dot double-speeddouble-density Redefinebit-imagemode BothSelect9-dot graphics Standard Miscellaneouscodes Set MSBtoSet MSBto O Selectzero stvle Both CancelMSBcontrol BothCancellast character Standard BackspaceBothSet printeron line Cancellast line BothSet printeroff-line Standard Deselectprinter1OcarriagemodelonlyIBMEnablepaper-outdetectionBoth Deselectprinter15 carriagemodelonlySound buzzer Enable/disablebidirectionalprinting Both Enableunidirectionalprintingfor one line only BothDefine macroinstructionBoth Enable/disablelargecharacterprintingBoth Enabie/disabiedoubie-heightmode BothSelectcharacterheight,width, line spacing Set/cancelimmediatemode Both ASF AutomaticSheet FeedercontrolAscii commandsequences SelectautomodeSelect/cancelitalic mint SelecticancelunderlineSekcffcancel expandedprint Both ControlASF 28h 43h 29hPage ’’’’’’’ OFF IBM Ipter6 Troubleshooting and Maintenance TroubleshootingPowersupply PrintjngIf the printoutis not what is expected If the print is faint,or uneven,checkthe followingIf dots are missingin the printing,checkthe following Paper feeding Correctthis if necessaryISthe papertoothick? Following Maintenance Adjustingthe PrintinggapRibbonreplacement Print headshield Replacingthe Printhead Open the top coverPrint headbolts Frontpaneldiagnosticand Test Modes Short test modeStandardmode Test mode Texttest mode Int m T MHexadecimaldumpmode B pNext Lprint BidirectionaltestYadjustmentm E f t m p t PITCH’ b Page I P P I b T r F t y p L o p I s T f D s W t u t ‘Mo a T c M c A h T m T D s F t r A i a d Cu t T p O b u o t @ k cN . D T u E Sampleprogram T t p C cT t p Gosub Restore How theprogram works Hm hAl o t p 1i a c 1i i n 1I n I n S 1o cHP a Patchesnecessaryto use the BASICinterpreterT h A N N c O t‘ J 8oX + 3 c8kg 17.61b DATA2 B f T a l ’TI%E14i Il-.1l 11691 11851 I2 mLther charactem are identical to Standard character set #1 ‘ 1’ iJ ‘ iz ‘ ,i 1831 I S t 1 b t P b s 7 on b a 1 1 1 1@ & u 0 a u 6 e 110 Index Page Star Micronics AMERICA, INC Star Micronics Deutschland Gmbh