Star Micronics FR-15, FR-10 manual Emulations, Numericalrepresentation

Page 29

chapter 4EMULATIONS AND ESCAPECODES

EMULATIONS

The printer has two emulation modes: standard mode and IBM mode.

In standard mode, the printer emulates the fhnctions of the Epson EX-800 and EX-lOOOpnnters. Additional command codes are included as a supset of these emulations.

In IBM mode, the printer emulates the IBM Proprinter II. Additional command codes are included as a superset of these emulations.

The emulationis changedby meansof DIP switch1.When ON,the printer willbe in standardmode,andwhenOFF,the printerwillbe in IBMemula- tionmode(seeChpter5). It is notpossibleto changetheemulationmodeby meansof softwarecontrolor the frontpanelcontrols.

NOTE

Rememberto turnoff theprinterbeforemakinganyDIPswitchchanges.

NUMERICALREPRESENTATION

Whenin either standard or IBM mode, any numerical parametem taken by command sequences are usually binary ratherthanASCIInumericalvalues. In @ismanual,anyASCIIvalueswillbe representedin quotes,eg “21”will represent the ASCII string 32h concatenated with 31h (in BASIC, CHR$(50)+CHR$(51)). Usuallyin theseexamples,however,hexadecimal valueswillbe quoted,as shownby thelowercase“h”followingthenumber, eg 32h.

Binary numbersover FFh are obtainedby dividingthe number into two bytes,thefirstbeingthelowbyte,andthesecondbeingthehighbyte.Inthis way, the value 123hwill be dividedinto the two followingbytes:23h and Olh.

If negative numbers are required, they are obtained by subtracting the absolutevalueof the negativenumberfrom 65536(10000h),and dividing theresultintohighandlowbytes.Forinstance,to representthenumber-l Oh, the followingoperationis carriedout:

23

Image 29
Contents MULTI-FONT Page Organizationof this Manual Page Tableof Contents Specifications Character Sets DIP Switches Troubleshooting and MaintenanceFrontpaneldiagnosticand INSTALLINGAPPLICATIONSOFI’WARELocatingthe Printer ChapterPage Settingup Print head shield Connection DIP switch covel Cut-sheetpaper LoadingpaperFanfoldpaper continuousstationery Release lever Sprocket cover Once thepaper has been loaded Controls Controlsand IndicatorsIndicators Iocpi PitchseitingPitch Panel Lock Quietmode FontseitingFont Panel Lock Paperparking PaperhandlingForm feed Short tear-offfunction Micro Feed BUFFERCLEAR/RESETTest and Maintenancesettings Setting UP the Memoryswitches Page Menuoptions CommandMenuFont Menu LineAutoloading Print MenuPrintpitch Condensed Print Italicprint Autocr Linesper Inch Pagelength FormsMenuSkipover Perforation Optionasf Ramusage Buffer QuietmodeAutolf Autocr ONI Linesper InchNumericalrepresentation EmulationsCommandcodesand Escapesequences ESC Examplecommand BothSelect italic characters Font style and characterset controlcodesStandard Deselectitalic printingSelect charactertable Both Selectfont BothSeiectsecondarycharacterset Select primarycharactersetSelect internationalcharacterset Esc OAh\ Select/cancelundefinedcontrolcode area Standard \ Printcontinuouslyfrom the AHCharactersChart IBMPrintasinale characterfrom the All CharacterChart IBM \ ES7 Fontpitch controlcodes Select/cancelproportionalprintingBoth Set condensedprint modeCancelcondensedprint mode Set or cancel pica proportionalpitch Specialprint mode controlcodesSeiectkancei expandedprinting Seiectone-iineexpandedprintingBothSelect Masterprint mode Both Cancelone-lineexpandedprint BothCancelemphasizedprint modeBoth Select print modeSelectemphasizedprint mode Both Select/cancelunderlineBoth Canceldouble-strikeprintingBothSelect/canceloverlineBoth Select double-strikeprintingLine space controlcodes Cancelsuperscripthubscript BothSelect superscriptkubscript LinefeedSet iine spacingto 7/72 inch Set linespacingto 1/8 inchSet iine spacingto 1/6 inch Set iine spacingto n/216 inchDefineline spacing1/72 inch increments Set line spacingto n/72 inch StandardExecuteESCAdefinitionIBM One-timelinefeed in 1/216 inch increments BothReverseone-timelinefeed in 1/216 inch Increments Both Form feed controlcodesSet verticsiprint positionin iines Both FormfeedBoth mSet page iengthin iines Both Reversefeed to top of form BothSet top-of-form Marginsand verticaltab settingcontrolcodesMoveto next verticaitab position Set verticaitab positions BothSet VFU verticaltabs Selectverticalform unit VFUchannel BothSet top margin Canceltop and bottommarginsSet bottommargin Set left and right margins BothSet left margin Horizontalprint position controlcodesSet right margin Carriagereturn BothSet/clearhorizontaltabs Both Set/cancelautomaticlinefeedIBMMoveto next horizontaltab Both Set relativehorizontaltab positions Both Restoretabs to defaultsettingsSet horizontalprint position EscrSelect next horizontalprint positionby dot Set justificationmodeProducecharacterspaceStandard Move print head DownloadedcharactercontrolcodesCopystandardROM font into RAM ~StandardDefinedraft downloadcharacters IBM Byte4 3rd Select-bitimagemode Both GraphicsSelect download/standardcharactersetBoth Select8-dot doubl-density Select 8-dot normaldensitySelect9-dot graphics Standard Select8-dot double-speeddouble-densityRedefinebit-imagemode Both Set MSBto O MiscellaneouscodesSet MSBto Cancellast character Standard CancelMSBcontrol BothSelectzero stvle Both BackspaceBothSet printeroff-line Standard Cancellast line BothSet printeron line Deselectprinter1OcarriagemodelonlyIBMSound buzzer Enablepaper-outdetectionBothDeselectprinter15 carriagemodelonly Define macroinstructionBoth Enable/disablebidirectionalprinting BothEnableunidirectionalprintingfor one line only Both Enabie/disabiedoubie-heightmode Both Enable/disablelargecharacterprintingBothSelectcharacterheight,width, line spacing ASF AutomaticSheet Feedercontrol Set/cancelimmediatemode BothSelectautomode Ascii commandsequencesSekcffcancel expandedprint Both Select/cancelitalic mintSelecticancelunderline 28h 43h 29h ControlASFPage ’’’’’’’ OFF IBM Troubleshooting Ipter6 Troubleshooting and MaintenancePrintjng PowersupplyIf dots are missingin the printing,checkthe following If the printoutis not what is expectedIf the print is faint,or uneven,checkthe following Correctthis if necessary Paper feedingISthe papertoothick? Following Adjustingthe Printinggap MaintenanceRibbonreplacement Print headshield Open the top cover Replacingthe PrintheadPrint headbolts Standardmode Frontpaneldiagnosticand Test ModesShort test mode Test mode Int m T M Texttest modeNext Lprint HexadecimaldumpmodeB p BidirectionaltestYadjustmentm E f t m p t PITCH’ b Page W t u t ‘ I P P I b T r F t y p L o p I s T f D sMo a T c M c A h T m T D s F t r A i a d N . D T u E Cu tT p O b u o t @ k c T t p SampleprogramT t p C c Gosub Restore Hm h How theprogram worksAl o t p 1i i n 1I n I n S 1o c 1i a cT h Patchesnecessaryto use the BASICinterpreterHP a A N N c O t‘ J + 3 c 8oX8kg 17.61b DATA2 B f T a l ’TI%E14i 11691 11851 I2 m Il-.1lLther charactem are identical to Standard character set #1 ‘ 1’ iJ ‘ iz ‘ ,i 1831 I S t 1 b t P b s @ & u 0 a u 6 e 7 on b a1 1 1 1 110 Index Page Star Micronics Deutschland Gmbh Star Micronics AMERICA, INC