Star Micronics XR-1000, XR-1500 user manual How the program works

Page 99

4130 DATA 2,124, 0, 1,130, 0, 0,124, 0

4140 DATA 0,130, 0, 0,124, 0, 0,128, 0

4150 DATA 0,120, 0, 0. 0. 0

4160 '

4170 ' Dot graphics data

4180 ' ROW 1

4190 DATA 0. 0, 0. 0. 1. 3. 7. 7. 7, 15 4200 DATA 14, 14, 14, 14. 14. 7. 7. 3. 3, 15 4210 DATA 15, 15. 0. 0. 0. 0. 6. 7. 7. 7 4220 DATA 7, 7. 7, 7. 7, 6, 6. 0. 0. 7

4230 DATA 7. 7, 7. 7. 7. 7. 7. 7. 7. 7 4240 DATA 0, 0, 7. 7. 7. 7. 7. 7. 7. 7 4250 DATA 7, 7. 0. 0. 0

4260 ' ROW 2

4270 DATA 0, 0. 60,255,255,255.255,255.143. 15

4280 DATA 7. 7. 7. 7. 3. 3. 3.131.193.241

4290 DATA 240,240, 0. 0, 0. 0. 0. 0,224,255

4300 DATA 255.255.255.255. 31. 0. 0. 0. 1. 3

4310 DATA 31,255,255,255.255.255.255. 1. 0. 0

4320 DATA 0. 1. 7, 31,255,252,240.192.128. 0

4330 DATA 0, 0. 0. 0. 0

4340 ' ROW 3

4350 DATA 0, 31, 31, 3.129.128.192.192.192.192

4360 DATA 192,224,224,224.224.240.255.255.255.255,255,255 4370 DATA 255,127, 0. 0. 0, 0. 0. 0, 0,192

4380 DATA 255,255,255.255.255, 15, 15. 63s252.240

4390 DATA 192, 0,240,255,255,255,255.255, 7. 15

4400 DATA 127,252,240,192, 0, 0. 0. 0. 0. 0

4410 DATA 0. 0. 0. 0, 0

4420 ' ROW 4

4430 DATA 0,248,248,240,224,224,112,112. 56. 56

4440 DATA 56, 56, 56,120.120.240.240,224.224,192

4450 DATA 128, 0. 0. 0. 0, 0, 0, 0. 0. 0

4460 DATA 128,248,248,248.248,240.192. 0. 0. 0

4470 DATA 0. 0,240,248,248,248.248.240.192. 0 4480 DATA 0, 0. 0. 0. 0. 0. 0, 0. 0, 0 4490 DATA 0, 0. 0. 0. 0

This will produce the following results as shown on page 95.

How the program works

This program begins by assigning a number of printer commands to BASIC string variables (lines 1000 to 1070). You can find most of these commands near the beginning of chapter 4.

The WIDTH “LPTI:” 255 statement in line 1090 means infinite line width. It prevents the IBM-PC from inserting unwanted carriage returns and line feeds in graphics data.

Actual printing begins in line 1100. Using the preassigned commands, the

program prints samples of its different font styles, followed by samples of the print pitches, then some double and quadruple-sized printing.

93

Image 99
Contents XR-1000 Above sto~emm~ applies only to printers marketed in the USA Organization of this Manual CongratulationsDIP Switches Table of Contents IBM Character SET #2 TroubleshootingMaintenance Adjusting the Printing GAP Replacing the Print Head Front Panel Diagnostic Test ModesChapter UNPACKING, Setting UP and ConnectionUser’s manual Setting up Print head shield Connection DIP switch cover Cut-sheet paper Loading PaperFanfold paper continuous stationery Page Once the paper has been loaded Controls and Indicators IndicatorsControls Pitch Pane/ Lock Pitch SettingFont Panel Lock Quiet ModePaper Handling Form feedPaper parking Short tear-off function Buffer CLEAR/RESET Test and Maintenance SettingsMicro Feed Setting UP the Memory Switches Iiii Menu Options Command MenuPaper Menu Print MenuForms Menu Offj WFI Factory settingsKNI Courier DRWNumerical Representation EmulationsCommand Codes and Escape Sequences Codes Example command BothCESC CBSESC Font style and character set control codesValue Select font BothSelect character table Both BiIliIIy06h Select primary character set BothSelect secondary character set Both Select International Character Set EscES0\ 1Bh5Ch Print continuously from the Ail Characters ChartPrint a single character from the Ail Character Chart IBM 1Select/cancel Undefined control code area Standard1Set elite pitch printing Both Font pitch control codesSet pica pitch printing Standard Esc Set pica pitch printingEscsi Set condensed print mode1Cancel condensed print mode Standard Select/cancel Proportional printing BothSelect one-line expanded printing Special print mode control’codes1Set or cancel pica proportional pitch 1Select/cancel expanded printingSelect Master print mode Cancel one-line expanded printCESCF 1Bh46h 2770 Select print modeSelect emphasized Print mode Cancel emphasized print mode1Select double-strike printing Both Cancel double-strike printing Both CEscSelect/cancel Underline Both Select/cancel Overline BothLine feed Both Cancel superscript/subscript BothLine space control codes Select superscript/subscript Both1Set line spacing to n/216 inch Both Set line spacing to l/8 inch BothSet line spacing to 7/72 inch 1Set line spacing to l/6 inch StandardOne-time line feed in l/216 inch increments Set line spacing to W72 inch1Define line spacing l/72 inch increments Execute ES&A definitionForm feedBoth t Form feed control codesReverse one-time line feed in l/216 inch increments Both Set vertical print position in lines Both CEscESC Cnulb CID Reverse feed to top of formSet page length in inches Set page length in lines1Set vertical tab positions Both CEsc Margins and vertical tab setting control codesSet top-of-form 1Move to next vertical tab position BothSelect vertical form unit VFU channel Set VFU vertical tabsSet relative vertical tab positions Set left and right margins Both Cancel top and bottom margins BothSet top margin Both 1Set bottom margin BothCarriage return Both Horizontal print position control codesSet left margin Both Set right marginES6 Set/cancel Automatic line feedMove to next horizontal tab 1Set/clear Horizontal tabs BothESC CtP 1Bh 66h 30h 102 Restore tabs to default settingsSet relative horizontal tab positions Both Set horizontal print position Both1Set iustification Mode Both Produce character space StandardSelect Next horizontal print position by dot CNUI2tandard Character control codesMove print head Esc Copy standard ROM font into RAM1Define draft download characters Both 27 61 cd 012~ 20 em Cal a2 cdl ... cdlll 1Define draft download characters1st Graphics Select download/standard character setCESC%n 1Bh25hn Select &dot normal density Both Double-density Both Redefine bit-image modeMiscellaneous codes 1Set MSB to BothSet MSB to Backspace Both 1Cancel MSB control BothCancel last character Standard 1Select zero style BothDeselect printer 10 carriage model only Cancel last line BothSet printer off-line Set printer on line Both1Sound buzzer Both Disable paper-out detection BothEnable paper-out detection Both Deselect printer 15 carriage model onlyEnable/disable Bidirectional printing Both Enable unidirectional printing for one line only BothExecute macro instruction Enable/disable double-height mode Enable/disable large character printing BothSelect character height, width, line spaclng Both Set/cancel Immediate mode ASF Automatic Sheet Feeder control BothCESC 1Bh 19h Select font Ascii command sequencesPrint Both Select/cancelItalic print Bold prlnt BothControl ASF Select color printing with color option only BothMemo Chapter OFF Troubleshooting Troubleshooting and MaintenancePrinting Power supplyIf the print is faint, or uneven, check the following Check Paper feeding Check Check Maintenance Adjusting the Printing GAPRibbon Replacement Now the cover turn the You now to Reusing printer Replacing the Print Head Print head bolts Front Panel Diagnostic and Test Modes Short test modePage Text test mode Lprint CHR$I Hexadecimal dump modeBidirectional test/adjustment mode Repeat the process for all print modes Memo Chapter Installing Application Software with Your PrinterProportional CPIGraphics Hard Copy Setting UP the Printer from the DOS PromptSample program Programming Using BasicLprint LOGO$ROW=LOGO$ROW+CHR$GD How the program works Lprint E$ Swsi SW SW Color display Patches necessary to use the Basic interpreterUnidirectional Print pins Line spacingSpeed Print directionCopies Bit image dot-matrixPacr width 15modelWeight 15 model Power supplyOptions 100 ’l-ig Character SetsXJh-lx-l 241 401 661 721 Eel I1041 1201 Standard Character SET #I01I Standard Character SET #2 1108 SET ##21361 m R168i I Rml LliilIBM Character SET #I Additional Character SET Denmark/Norway 1NTERNATlONAL Character SetsMemo Graphics direction Graphics dump IDIRAM usage Ribbon installation, 4 RS232 interface Quiet mode, 11,13,19Unidirectional printing Unpacking Vertical pitch Zero style

XR-1000, XR-1500 specifications

Star Micronics has established itself as a leading provider of premium printing solutions, an assertion further bolstered by its innovative models, the XR-1000 and XR-1500. These thermal receipt printers are designed to meet the diverse needs of retail, hospitality, and various business environments, combining robust features, state-of-the-art technologies, and user-friendly characteristics.

The Star Micronics XR-1000 is engineered for high-performance printing, boasting a print speed of up to 200 mm per second. It ensures swift transaction processing, which is essential in high-volume retail settings. The XR-1500, an advanced counterpart, raises the bar with a higher print resolution, delivering crisp and clear receipts that enhance customer experience. Both models utilize direct thermal printing technology, eliminating the need for ink or toner and significantly reducing operational costs.

One of the standout features common to both models is their compact design, making them suitable for environments with limited space. Their lightweight structure also allows for easy relocation, which is beneficial for businesses with dynamic layouts. Furthermore, the printers are equipped with easy paper loading mechanisms that maximize efficiency and minimize downtime.

Connectivity options are another highlight of the XR-1000 and XR-1500. Both models support a variety of interfaces, including USB, Bluetooth, and Ethernet, allowing seamless integration with existing systems. This flexibility ensures that businesses can adapt to evolving technological requirements without significant overhauls.

Moreover, the XR-1000 and XR-1500 printers are compatible with various point-of-sale (POS) systems and software applications, providing reliable performance across different platforms. Their resilience is notable as well, featuring durable casing and components designed to withstand the rigors of daily use.

The models also incorporate advanced power-saving features, crucial for businesses looking to reduce energy costs without sacrificing performance. Their intuitive LED indicators provide real-time feedback, allowing users to quickly assess the status of the printer.

In summary, the Star Micronics XR-1000 and XR-1500 deliver a high-quality printing experience, characterized by speed, reliability, and flexibility. With their advanced technologies and thoughtful design, these printers stand out as optimal choices for businesses seeking efficiency and quality in their printing solutions. Whether in a bustling retail environment or a busy restaurant, it is clear that these printers offer the solutions that modern businesses need.