Star Micronics 8 Series manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto Star Micronics 8 Series. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoStar Micronics 8 Series vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual Star Micronics 8 Series você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual Star Micronics 8 Series, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual Star Micronics 8 Series deve conte:
- dados técnicos do dispositivo Star Micronics 8 Series
- nome do fabricante e ano de fabricação do dispositivo Star Micronics 8 Series
- instruções de utilização, regulação e manutenção do dispositivo Star Micronics 8 Series
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque Star Micronics 8 Series não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos Star Micronics 8 Series e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço Star Micronics na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas Star Micronics 8 Series, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo Star Micronics 8 Series, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual Star Micronics 8 Series. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    L 8 Series A M[...]

  • Página 2

    8 Series Applications Manual[...]

  • Página 3

    Trademark Acknowledgements LaserPrinter 8: Star Micronics Co., Ltd. PageMaker: Aldus CqSOraticsr Apple II +, Applesoft: Apple Computer Inc. BitStream, ~apf Humanist: Bitstream Inc. Canon: Canon Inc. Centronics: Centronics Data Computer Corporation HP, LaserJet Series H: Hewlett-Packard Company LaserControl: Insight Development frrc. IBM PC, IBM Pro[...]

  • Página 4

    PREFACE About this manual This Srar LuserPrinter 8 Applications Manual gives you the information you need to program the Star Micronics LaserPrinter 8. Why would you read this book? Most people using a laser printer just run software packages with built-inprinter drivers, which look after everything theircomputers send their printers. Butmanyofus-s[...]

  • Página 5

    What’s in this manual? . . . . In “Getting to Know Your Star LaserPrinter 8“ we provide a list of the features that make this a splendid printer, to help you choose which features you want to exploit. There’s a bit on how laser printers work, inside and out. The chapter then explains software in general terms, in- cluding how to write contr[...]

  • Página 6

    ● The final “Technical Supplement” containing the command and charac- ter reference tables will probably get thumbed the most. Conventions Incidentally, one of those Technical Supplement tables suggests a couple of typographic conventions we’ll use. Base ten (decimal) numbers will gener- ally be used here; if we have to use base sixteen num[...]

  • Página 7

    TABLE OF CONTENTS CHAPTER 1 GETTING TO KNOW YOUR STAR LASERPRINTER 8 1 Star LaserPrinter 8 Hardware ... ... ..... .... ..... ..... ..... ...... ..... ..... ..... . .. .... . ......1 Star LaserPrinter 8 Software ... .. . .... ... .. ... .... ... .... . .... . .. .... ... ..... ..... ...... ..... . 5 CHAPTER 2 CONTROLLING YOUR PRINTER 13 Printer Para[...]

  • Página 8

    CHAPTER 6 IBM PROPRINTER COMMANDS 125 Proprinter Commands ... ..... ..... ..... ...... ..... ..... ..... ..... ..... ..... ...... ..... ..... . .. 125 Controlling the Printer ..... ... . . . .. ... .... .. .. ... ... .. .... ... ... .... . . ... ... . ... .. ... ... .... .. 126 Formatting Pages ... .. ... .... ... ... ...... .... ...... .. . . ... [...]

  • Página 9

    This chapter introduces both the hardware and software aspects of the Star LaserPrinter 8’s personality, from fonts and print engine to ASCII and Escape sequences. STAR LASERPRINTER 8 HARDWARE Versatility Your Star Micronics Star LaserPrinter 8 works with practically all commcr- cialsoftware programs and computers. With features that go beyond St[...]

  • Página 10

    The Star LaserPrinter 8 is ideal fordesktoppublishing. The pages it produces make perfect photocopy or instant-print masters. And all the main desktop publishing systems, including Aldus Corporation’s PageMaker and Xerox Ventura Pubisher, work splendidly with the Star LaserPrinter 8. With’ ’page makeup” programs like these you will be able?[...]

  • Página 11

    How your Iaserprinter communicates Your computer communicates with the Star LaserPrinter 8 through either a parallel cable or one of two kinds of serial cable. The printer’s interj2ace, the link or boundary it shares with your computer, defines whether the printer will accept characters and commands from your computer one byte or one bit at a tim[...]

  • Página 12

    The Print engine It’s tie print engine that forms the actual characters and graphics. The engine directs its laser, a pinpoint stream of light pulses, through mirrors and lenses onto the surface of a positively-charged rotating drum. r“’””’ Lens Laser beam Scanning mirror uctor laser diode Photosensitive drum As the laser scans, it “d[...]

  • Página 13

    STAR LASERPRINTER 8 SOFTWARE Binary and hexadecimal arithmetic If you already know what hexadecimal numbers are, you can skip this section and go ahead to read about ASCII. The decimal number system with which we’re all familiar is a positional counting system. There’s the “ones” position, the “tens” position, the “hundreds” positio[...]

  • Página 14

    The important thing to realize is that there’s more than one way to show the same numeric value. Computer programmers, for example, occasionally use the hexadecimal system because it’s so compact. (Programmers often just say “hex”.) This binary number: 1010010111111101001101 11111011010010110100001001 looks quite a bit tidier when it is wri[...]

  • Página 15

    o x 27 1 x 26 0 x 25 0 x 24 1 x 23 0 x 22 1 x 2’ o x 2° zone 0100 4 = o = 64 = o n o = 8 =0 = 2 = Q 74 Decimal digits 1010 Binary A Hexadecimal The ASCII table in the Technical Supplement shows all these equivalent representations for the symbols your laser printer understands. The table organizes them in ascending order. In fact, ASCII is organ[...]

  • Página 16

    I Control codes mostly handle communications between your computer and the pnnter.at the lowest level, at cable level. For example, a couple of control codes make sure the printer bufler (your printer’s storage memory) doesn’t overflow. In this book we’ll indicate control codes enclosed by angle brackets to their abbreviations in the table: &[...]

  • Página 17

    Printer drivers Most software packages already include the printer commands they need. The programs that send commands to the printer so you don’t have to enter them yourself are called printer drivers. Many programs ask you to install or configure your printer, which usually means keying into a menu the particular setup information describing yo[...]

  • Página 18

    A BASIC example Here’s an example you can typo in right now, to clarify what we’re saying. It’s written in Microsofl BASIC for a computer that uses the MS-DOS operating system, so if you have a different computer or BASIC you may have to translate a bit. We ’11 show commands the way they’re written for an Epson dot-matrix printer because [...]

  • Página 19

    Most programming languages, and some versions of BASIC, let you treat the printer as a file to which you can send data. When you write a program with one of these languages you “open” the printer file, print into it, and then “close” the file when you’re done. This programming jargon sounds funny if you ‘re not used to it— but it work[...]

  • Página 20

    12[...]

  • Página 21

    :-m - ,’ ,. .; . ; ,. ,: ,, .:.. ,. ,’ , ,’.: ~:,, ,. .., ,,.,,. ;,, $. ‘ ~~• ‘eotitroiling’r’ ‘ ● - -,,vd&fipfi3$6+;;:,i; ,. You can control your Star LaserPrinter 8 in two ways, either through front panel parameters or through software commands. In this chapter we will consider printer controls mostly from the perspectiv[...]

  • Página 22

    I printing the current page and then feeds in and prints a status sheet. Some buttons on the panel let you perform two functions. Holding one of those buttons down, rather than quickly pressing it, selects a different operation. For example, holding down the TEST/PREVIOUS button for over five seconds makes the Star LaserPrinter 8 print its test pat[...]

  • Página 23

    Factory settings arc programmed into the Star LascrPnntcr 8 when it is built at the factory. Your printer keeps the factory settings for iLs parameters in ROM; they ncvcrchangc. You can copy thcm iruo the current settings or any other settings as needed. But the only way you can return to the factory dcfaulLs is from the front panel; no commands do[...]

  • Página 24

    and scroll through a lower menu level. And you also press ENTER when you want to save a particular menu itcm as the value for a current parameter setting. The three last menu headings let you load one version of the parameters into another version. Two move the current parameter values into either the initial or power-up parameters. The final menu [...]

  • Página 25

    The Rate parameter specifies how fast data will be arriving, measured in baud (named after the French communications engineer Jean Baudot). pick any of the following data transfer rates: 300 baud 600 baud 1200 baud 2400 baud 4800 baud 9600 baud (the default) 19200 baud. Roughly, one character a second works out to 11 baud. 1f you ‘re not sure how[...]

  • Página 26

    I DTR (Data Terminal Ready) protocol does the same thing slightly differ- ently. The, printer sends a continuous high-voltage signal over the cable as long as it can accept data, but drops the voltage to say “whoa” to the computer. Conversely, it’s the computer that holds the reins with the ETX/ACK (End- of-text/Acknowledge) protocol. The com[...]

  • Página 27

    Printer emulations OK, you’ve got your pnntcr and computer conncctcd properly. Now Ict’s focus on how your pnntcr works. Your Star LaserPrintcr 8 understands and uscs the same commands as several earlier kinds of pnntcrs. Your printer works by emulating onc of these: ● Hewlett-Packard LaserJet series H ● Xerox Diablo 630 ● Epson EX-800 c [...]

  • Página 28

    I The Command parameter The Star LaserPrinter 8’s Emulation setting defines which printer it is imitating: Hewlett-Packard LaserJet series II, Xerox Diablo 630, Epson EX–800 or IBM Propnnter. Most of the other COMMAND values below can be changed with Escape codes as well as from the panel. As the Number of Copies setting suggests, the Star Lase[...]

  • Página 29

    I Hints: The hex dump ● To make your Star LaserPrinter 8 print in hexadecimal rather than the usual ASCII symbols, press the front panel buttons that put the pnntcr offline and in PROGRAM mode. Move to the COMMAND parameter’s HEX DUMP setting and select ON. ● Somccontrol orEscape codes can beproblemson afewcomputcrs; those computers change ce[...]

  • Página 30

    With the Star LaserPrinter 8 you can print on a variety of ordinary cut sheet pages. For the Feeder value of this PAPER FEED parameter, you first enter either cassette or manual feed to indicate where you want paper fed from. The cassette tray automatically feeds single sheets, much like sheet fecdem on other types of printers. Manual feed means yo[...]

  • Página 31

    Hints: Paper, labels and transparencies . . ● ✎ ✎ The best paper for the Star LaserPrinter 8 has a smooth finish and is of 20 to 24 pound weight. Any paper designed for photocopiers should do the trick though; Xerox 4024 and Canon NP print nicely. High quality cotton bond paper, which contains up to 25 percent cotton tibres, works passably we[...]

  • Página 32

    . . . — When printing starts fading because the toner is low, remove the cartridge and gently rock it back and forth half a dozen times. Don’t tip it up or the toner may spill out. Redistributing the toner powder this way can keep the cartridge going for another tray of paper. No question, working with single label sheets is more convenient tha[...]

  • Página 33

    The LA YOUTparameter The layout orformat or setup of a page refers to how text is positioned on the page. Layout includes page orientation, margins and the spacing of characters across and lines down the page. You can control these with the LAYOUT parameter. You probably won’t use the LAYOUT parameter on the front panel’s program menu very much[...]

  • Página 34

    Margins, columns and lines You can change margin settings for all four edges of a page. The left and right side margins can have values from O to 132, defining the margin columns between which words and images carI be printed. And the top and bottom margins can be set at anywhere from O to 112 lines. Top Margin @19 Side Margins Text Length { / { ?[...]

  • Página 35

    P Moving the print position: a preview Wlthdot-matnx and daisywheel printers, you pick whereto print on the page either by moving the pnnthead back and forth or by moving the paper itself. Laser pnntem don’t have printheads, buttheprinciple remains the same: you have to say exactly whereon the page each picture and string of text is to go, so eac[...]

  • Página 36

    CONTROLLING THE PRINTING The EMULATE ATT../BUTES parameter The EMULATE ATTRIBUTES parameter defines font attributes and setup values (if any) for each of the Star LaserPrinter 8’s four emulation modes. A font’s attributes or characteristics determine what that font will look like when it is printed. The next chapter, “Fonts,” explores the d[...]

  • Página 37

    THE STAR LASERPRINTER 8 SUPERSET Do you need to send commands? Here’s an important fact: you can set nearly every one of the above pararnctcrs by sending your printer a corresponding Escape sequence command. Those Escape sequence commands will override any setting you make from the front panel. The main thing to realize about most printer command[...]

  • Página 38

    The Change Emulation command You can think of the supcrset Change Emulation command as the key to your Star LaserPrinter 8. The Change Emulation superset command lets you switch from one set of printer commands to another “on the fly,” through software. This is the command that defines what other commands the Star LaserPrinter 8 will accept. Wi[...]

  • Página 39

    The Select Orientation command The Select Orientation superset command lets you change the “attitude” in which the Star LaserPrinter 8 prints. To change from one orientation to the other you send this Select Orientation Escape sequence: <ESC> [ O n For the value n you put O (zero) for portrait orientation, or 1 (one) for landscape orienta[...]

  • Página 40

    The Paper Size command The Paper Size superset command lets you change the paper size in which the Star LascrPrinter 8 prints. This is the command that defines what size the Star LaserPrintcr 8 will accept. You issue the Paper Size command with the sequence: <ESC> [ S n For the value of n you enter a number from this table: n SIZE 1 Letter si[...]

  • Página 41

    The Paper Feeder command The Paper Feeder supersct command lets you change the paper feeder from which the dual-cassette type printer feeds paper. To change the paper feeder you send the Paper Feeder Escape sequence: <ESC> [ C n For the value of n you enter a number from this table: n PAPER FEEDER 1 Upper cassette 2 Upper cassette for one she[...]

  • Página 42

    I Select Simplex/duplex mode (DX type only) You can change between simplex and duplex mode using software com- mands in any emulation mode. The command to do this is: <ESC> [ D n where n is an ASCII value of either “1” or “2”. If n is set to”1”, then the printer will enter simplex mode, and if n is “2”, the printer will enter [...]

  • Página 43

    The fonts you use determine what your pages will look like. In this chapter we’ll first clarify the meanings of words people use when they talk about fonts. Next we’ll examine the three kinds of fonts (internal, cartridge and down- loaded) that you can use on your Star LaserPrinter 8. We’ll cover the particular sets of symbols you can choose [...]

  • Página 44

    Narrow condensed faces used to be called “compressed”. They cram about five charactem in the space where three usually go-ideal for spreadsheets. An extended face, particularly on a dot-matrix printer, goes by several names: “expanded, ““enlarged” or’’double-width’ ’printing. No matter what it’s called, extended print is wider[...]

  • Página 45

    The o has been kerned The font height (24 points) is measured closer to the f. from ● scender to descender. I 4 A font is a complete set of ~ characters in a particular ~~~~~~~ t size and type~ace. B.ss@line Uu Proportional Serif spacing L;ading is the baseline to bas-line measurement. Font spacing and pitch You probably first heard the word pitc[...]

  • Página 46

    HOW THE STAR LASEI?PRINTER 8 Bit-mapped fonts STORES FONTS Star Micmnics has earned a reputation for attractive, well-designed fonts on its printers, and this laser printer continues the tradition. The Star LaserPrinter 8 uses bit-mapped fonts. Each character is made up of a pattern or “map” of dots, just like characters on a dot-matrix printer[...]

  • Página 47

    Cartridge and downloaded fonts Your Star LaserPrinter 8 can use two other kinds of fonts, along with those built into the printer. Cartridge fonts, like the internal ones, are permanently stored on ROM chips. The difference is that those ROMs am in removable cartridges. Your Star LaserPrinter 8 has slots for two font cartridges. Each cartridge may [...]

  • Página 48

    I Hints: Where to get fonts ● You cati print anydownloadable font thatworks on the HP LascrJctseries II. Several other companies sell downloadable fonts which are compat- ible with your Star LaserPrinter 8. The Bitstream Corporation in Boston is one of the more popular; Conographic is another. Xerox includes a set of fonts with its Ventura Publis[...]

  • Página 49

    SYMBOL SETS Let’s summarize briefly, to put the subject of symbol sets in context. The attributes of a font determine what that font will look like when it is printed. We covered all but orientation at the start of this chapter, and orientation in the last chapter. A font’s attributes include: . . . . . . ● ✎ orientation (portrait or landsc[...]

  • Página 50

    You probably won’t change symbol sets very often, unless you need speciaI symbols for your trade or regularly write in a language other than English. When you do need them, though; inone oranotheremulation mode your Star Laserl%intcr 8 supports symbol sets for all these countries: U.S. (ASCII) United Kingdom France Germany Sweden Finland Italy De[...]

  • Página 51

    I The Epson EX-800 emulation is really versatile. It lets you have both of those IBM symbol sets plus Epson’s own standard symbol set. This Epson symbol set is unusual: it contains both upright and italic characters in the same set. You may also choose from symbol sets for all the countries mentioned above, plus a second unique set for each of De[...]

  • Página 52

    MANAGING FONTS You can scc which fonts are cuncntly selected on your Star LaserPrinter 8 by printing a status sheet in offline mode, as mentioned at the beginning of this chapter. Another TEST mode menu item, described in the Star Luser- Printer 8 Operations Manual, also lets you print out a list of all the fonts available on the printer at any giv[...]

  • Página 53

    systems, such as Xerox’s Ventura Publisher, are document-oriented. That makes them better suited to technical manuals and long proposals or reports that go through many drafts. Other ways in which such systems differ include whether they show on your screen what you will get on paper (code-based programs don’t), how well they handle pictures, a[...]

  • Página 54

    I Optional fonts Many optional fonts available for your Star LaserPrinter 8 complement its internal fonts. These can give you more variety in symbol sets, spacing, font height, style and stroke weight. To your Courier or Tms Romn fonts, for example, you might add italics and bold, legal or math symbol sets, and sizes ranging from 7 to 14 points. Op[...]

  • Página 55

    How to download fonts To download fonts from computer disk you’ll need mom than a small 64K microcomputer. We recommend at least a 512K computer with a couple of disk drives (a hard disk is better). Many commercial font-management programs are now on the market, including Insight Development’s L.userControl, Blaha Software’s Hot Lead, SoftCra[...]

  • Página 56

    I You then do the same for the italics and boldface files, for example typing for the italics font: DOWNLOAD CN1OOIPN.R8P The prompts will be the same, but you have to remcmberto usc different font ID numbers for the upright, italic and boldface fonts. Downloading a font: example two Example two is for a computer running Aldus Corporation’s PageM[...]

  • Página 57

    Hints: Managing memory . . . . ● ✎ Piinting fancy stuff can be quite cumbersome for your printer. You trade off fanciness against speed: if you opt for fewer flourishes, you give your printer breathing room in memory. And that rewards you with faster output. Any of the following will slow down your laser printer: - text over 20 points, - lots o[...]

  • Página 58

    I To see how much memory is available for extra fonts, put the printer offline and press the TEST button to print a status sheet. Your printer will beep and show a front-panel message if you try to overload its memory by downloading too many fonts. It then will continue printing with the closest available font to that requested. As a general rule, [...]

  • Página 59

    The Hewlett-Packard LaserJet series II is an earlier kind of laser printer than your Star LaserPrinter 8. You should have no trouble running most popular software packages in HP LaserJet II mode, as those programs likely can send LaserJet 11 commands. Because the LaserJet II is a laser printer, though, its commands can give you more control over yo[...]

  • Página 60

    I Two important details make LaserJet II commands different from the other printer emulations. First, all Escape sequences end with a capital letter. If you don’t make the last character uppercase, your printer won’t know when the Escape sequence ends and will treat following characters as part of the same command. Second, in LaserJet II comman[...]

  • Página 61

    Here’s a way you can save yourself a few keystrokes: type in those commands that have the same command-category prefix as just one long Escape scquencc. To combine commands this way, type the <ESC> and command-category prefix just once, and capitalize only the last command character. For example, to define the style, weight and character fa[...]

  • Página 62

    Set number of copies You can print up to 99 copies of each of the pages you send to the printer. You may send this command anywhere within the text on a page; it will stay in effect for that and all subsequent pages until you send another such command: <ESC> &!n X All you have to do is change the n sign in this command to the number of pa[...]

  • Página 63

    When you want to set all your laser printer’s parameters back to their initial default values (some people call this “initializing” the printer), send this command: <ESC> E The printer will finish printing any pages left in its memory before resetting the parametem. Resetting clears unneeded temporary fonts from your printer’s memory.[...]

  • Página 64

    I You can now send your letter from your word processing program to the printer and feed in those pages. When you’re done, you may want to send the <ESC> E command one more time. PAGE ORIENTATION You might reasonably think of page orientation as a page formatting issue. To print words widthwise on a page, however, each letter in effect has [...]

  • Página 65

    1 ORIENTATION PAPER SIZE @ 6 LINESilNCH n @ 8 LINES/tNCH Portrait Portrait Portrait Portrait Landscape Landscape Landscape Landscape Executive Letter A4 Legat Executive Letter A4 Legat 60 66 70 84 43 51 49 * 80 88 93 112 58 68 66 58 * Printing landscapes on legal paper is trickier. First set on portrait mode and send the command <ESC> &t?[...]

  • Página 66

    You cannot set the left margin further over than the right margin. Use the following command to set the left margin, setting n to be the column number where you want the left margin to start: <ESC> & a n L Similarly, to set the right margin, you send Ihis command with your desired column nurnbcr: <ESC> &a n M If you want to put [...]

  • Página 67

    <ESC> &t’tz F The Page Length, Top Margin and Text Length commands therefore work together to set the bottom margin: bottom margin = page length - (top margin+ text length). The bottom margin is called the “perforation region” with printem that use continuous forms. You normally want to skip the perforations between the continuous p[...]

  • Página 68

    Page Side Selection (DX type only) The following command allows you to select on what side of a page the following data will be printed-when the printer is in duplex mode: <ESC> & a n G where n is an ASCII value from “O” to “3”. If n is “O”, the following data will be printed on the next side after the current side (if the cur[...]

  • Página 69

    Here are the commands that will produce this format for us: <ESC> &tl 12P <ESC> &a IOt’70M <ESC> &t’8e IOOf OL (We’ll send our page here.) <ESC> 9 MOVING THE PRINT POSITION Many ways to move The LaserPrinter 8 provides excellent control over the print position— where you poise your laser “pen”. Horizo[...]

  • Página 70

    For n you enter the number of lines per inch you want— any of: 1,2,3,4, 6,8, 12, 16,24 or48. If you enter a number other than these the printer will ignore the command. Defining the space and column Before you use print positioning commands, you first may want to change the definitions of thelineorspace (sometimes called “vertical and horizonta[...]

  • Página 71

    changing the actual meaning of a “line”. When you increase the line depth you effectively decrease the number of lines per inch, and increase the page length. The command you send to set the line depth looks like this: <ESC> &?n C (note that the character after the “&” is a lower-case “L”) in which for n you can enter a nu[...]

  • Página 72

    To move the print position horizontally a certain numbcrof decipoints, send the command: <ESC> &a n H in which for n you enter the number of decipoints you wish to move the print position (preceded by a + or– sign if you want to move away from the current position). You can move the print position horizontally by dots both ways too. You[...]

  • Página 73

    The important difference about moving vertically up or down is what the printer does when the print position hits the page top or bottom. If you try to move above the top margin, the print position stays right at the margin. And if you move the print position down off the page, the page is ejected and printing continues on the next page. Vertical m[...]

  • Página 74

    I And to move 20 dots up you send: <ESC> *p –20Y Combining move commands One thing about moving the print position with the above commands is that they let you think of your page in terms of Cartesian coordinates. All we mean is that you can combine horizontal and vertical movements that use the same units. If you send this command, <ESC[...]

  • Página 75

    Line feeds me Line Feed command advances the print position one line down the page. The meaning of a line is set by the Line Depth command. To send a line feed just send this control code: <LF> The Half Line Feed command is the one you want for subscripts. This command moves the print position down the page one half the current line depth: &l[...]

  • Página 76

    For n enter one of the numbers from this table: n AUTOMATIC COMMAND O (zero) cCR>, cLF> and <FF> work according to their basic definitions, 1 (one) <CR> will also generate a cLF> (but cLF> and <FF> stay the same), 2 cLF> or <FF> will produce a <CR> too (<CR> by itself won’t change), 3 <CR> [...]

  • Página 77

    Also, note that Autowrap doesn’t move the whole word down to the next line— that’s a job for a word processor, not your laser printer. Pushing and popping the print position This provides a wonderful way to keep track of the print position. it works by letting you keep a list of up to 20 print positions. You can “push” the current print p[...]

  • Página 78

    I CONTROLLING FONTS Font selection The LaserJet II emulation lets you define and select fonts three ways: as primary and secondary fonts, or by font identification number, or by description. We’ll look at the first two ways now, and explain selecting a font by its attributes a little further on. However you choose to refer to fonts, remember that[...]

  • Página 79

    After your primary font is selected, you can choose it for printing by sending this Shift In control code: <S1> All tic text you send after that command will print in the primary font. Your laser printer shifts to the secondary font when you send this Shift Out code: <so> Assigning font ID numbers The second way to dctine and select fon[...]

  • Página 80

    I secondary fonts? You want to select a downloaded font ID as your secondary font. This is the command to send: <ESC> ) n X Font attributes The third way to select a font is to simply describe what font attributes you want. (Remember, selecting a font does not modify a font. You can’t get bold or 14-point characters if you don’t have a bo[...]

  • Página 81

    default settings. When you want to select the opposite orientation, send this command: <ESC> &tn O in which for n you put O to get portrait orientation, or 1 to get landscape orientation. (Notice: the /character after the &is a lowercase L.) Symbol sets: a review Each font can have many symbol sets, each being a subset of all the poss[...]

  • Página 82

    01 OK ON 00 OQ 0s Ou OY ID IE IF IG 10 IQ 1s IU 2K 2Q 2s 2U 3Q 3s 4s 5s , 6S 8M ‘8Q 8U 8Y 9Q 10U 1lQ 1 IU 12U 15U 1S0 15: Italian JIS ASCII ECMA~94 Latin 1 OCR-A Math-8A symbols 1S0 11: Swedish US-ASCII Bar Code 3 of 9 1S0 61: Norwegian 1S0 UK 1S0 69: French 1S0 21: German OCR-B Math-8B symbols HP Spanish Legal 1S0 57: Chinese Pi font-A symbols 1[...]

  • Página 83

    I Selecting the current or default symbol set Your printer can use either the primary or the secondary font as its current font. And that current font has its current symbol set. Your printer also remembem its default font and symbol set, which are Courier with Roman- 8 (unless you’ve changed their initial parameter values through the front panel[...]

  • Página 84

    I Then in the report you decide to use a proprietary product name, so want to nip out to grab the@ symbol on a legal cartridge font you’ve already loaded, then return to your German set. When your report’s all done, you want to return the printer to its Roman-8 default. Here arc the commands that will do the job for us: <ESC> ( OG (you st[...]

  • Página 85

    To define spacing for your secondary font, use the same numbers and just flip lhe parenthesis: <ESC> )S ~ P Pitch Pitch defines how many characters per inch you want for a monospaced- pitch font. Your Star LascrPrinter 8‘s internal monospaccd-pitch fonts have settings of 10, 12 or 16.66 characters per inch. Cartridge or downloaded fonts wit[...]

  • Página 86

    I To select font height for the secondary font, send this command: <ESC> )S /z V Style Style defines whether your text is printed in italics or upright, the way these words are. Send this command to select the style you want for the primary font: <ESC> (S rz S in which for n you enter O if you want normal upright text, or 1 if you want [...]

  • Página 87

    So you can use the command <ESC> &a n H to back up, you just need to know the width in decipoints of what you want to overprint. In a mono- spaced-pitch font like Courier that’s easy: just keep track of how many characters you print. In a proportional font you’d keeptrackof the decipoints by using a character-width table. After backin[...]

  • Página 88

    Example: Font attributes Let’s put the last half dozen font altnbutcs together in an example. Say we want to select a nice font— a small Line Printer- for the footnotes in a report we’ve finished. Let’s make it our secondary font, since the body of our report is done in the primary font. We’ll go with the defaults for orientation and symb[...]

  • Página 89

    feature this way, the printer will underline all subsequent printable charac- ters, including spaces. Send this command to turn on the underlining mode: <ESC> &d n D in which for n you put O (zero) to get fixed underline, or 3 to get floating underline. And send this command to turn off the underline mode: <ESC> &d @ How to prin[...]

  • Página 90

    I And to turn off Display Functions, send this command at the end of the displayed print data: <ESC> Z That Escape Z sequence itself prints as a blank followed by a Z. Font control The Font Control command has two main functions: defining a font’s status, and deleting fonts. You can make a font either permanent or temporary with the Font Co[...]

  • Página 91

    Here’s how to assign ID numbers to an internal or cartridge font. You first select the font, then send the Font ID command to give it an ID number, and finally copy the font into memory with Font Control function 6. If you want that copy to stay in RAM when you reset the printer, you conclude by sending Font Control function 5. Example: Controlli[...]

  • Página 92

    Example: Assigning font numbers Now let’s do a program in BASIC. First we’ll assign font numbers to the Courier and Presige resident fonts and to a cartridge font, IBM PC Courier. Then we’ll print samples of each font. 100 LPRINT CHR$ ( 27 ) ; “ (8U” ; 110 LPRINT CHR$ ( 27 ) ; “ ( sOp10h12vOs Ob3T” ; 120 LPRINT CHR$ ( 15) ; 130 LPRINT[...]

  • Página 93

    USIN G YOUR OWN FONTS Font design is tedious A warning: font design is an art. Don’t expect to turn out professional- looking fonts in a few hours. Sometimes, though, you have to build your own typeface, even if you don’t work with a company in the font-selling business. You may, for example, want to print your own customized company logo. It m[...]

  • Página 94

    I 1) Assigning a font ID to your font To assign an ID to your font, you send this command (described above under “Assigning font ID numbem”) with an ID number for n between O and 32767: <ESC> *C n D Before sending that command though, check whether the ID number is already allocated to another font. If it is, that existing font will be de[...]

  • Página 95

    BYTE o-1 2 3 4-5 6-7 8 9 10 11 12 13 14-15 16-17 18-19 20-22 23 24 25 MEANING header length blank font size blank baseline position for characters blank cell width blank cell height orientation spacing symbol set pitch line spacing blank style stroke weight typeface 3) Positioning each character in your font Before you download each character you h[...]

  • Página 96

    I to describe and map your character. Sixteen bytes are needed for the description; the bit-map takes as many bytes as you’ve put into each character cell— perhaps two or three hundred bytes. As with the font header, each byte in the character description is a number, sent as the symbol at that position in the ASCII table. Coding character desc[...]

  • Página 97

    GRAPHICS The Star LaserPrinter 8 offers two kinds of graphics. It prin~s raster graphics (sometimes called “bit-mapped graphics”), which specify each dot in a graphics pattern. And it prints pattern graphics, which prints Iincs and pattcmcd blocks. Bc aware, though, that adding graphic elements always slows up printing with laser printers. Star[...]

  • Página 98

    I Sending and ending raster graphics Graphics printing is independent of text margin boundaries, including the perforation skip region. It is bnly limited by the printable area and the page length. To transfer rasler graphics you send this command at the beginning of each line of raster data: <ESC> *b n W For n you enter the number of bytes o[...]

  • Página 99

    Defining rule or pattern dimensions Defining the dimensions of the area you want to fill just means indicating the horizontal and vertical size of the pattern, or the rule’s length and thickness. You can indicate dimensions in either dots or decipoints (tenths of a point). At 300 dots or720 decipoints to the inch, decipoint measurements arc mom a[...]

  • Página 100

    Alternatively, to show the vertical dimension in decipoints, you send this command: <ESC> *C n V in which n is the number of decipoints in the rule’s thickness or the pattcm’s vertical length. Choosing and printing a rule or pattern You need both of the next two commands to choose and print the particular pattern you want to fill your def[...]

  • Página 101

    36-55 0/0 56-80 0/0 81 -99 0/0 100 %0 .m m If you want a linear pattern, for n you enter here a pattern number between 1 and 6 inclusive, identifying one of the linear patterns below. #3 #4 #5 #6 93[...]

  • Página 102

    You always send the following Print Pattern command after a Specify Pattern command. This Print Pattern command identities whether the area you have defined is to be filled with a rule, dotted gray-scale pattern, or linear pattern: <ESC> *C n P For n enter a value from the following table. (If you select a linear pattern here, but a dotted pa[...]

  • Página 103

    define yourself, that does tic work of a whole long scnes of pnntcr commands. Any LaserJet 11 emulation command can go into a macro. Putting macros together to automatically repeat sequences of tasks is like using a real programming Ianguagc. Your Star Micronics dealer may know of some prc-written macros already available for the Star LaserPnntcr 8[...]

  • Página 104

    1 (one) Stop defining macro. 2’ Execute macro. This option makes the printer run the last specified macro, changing printer parametcm according to what its commands say. (The printer paramctem are those you might also set from the front panel.) When the macro is done, the print position will be just where it was before you ran the macro. 3 4 Call[...]

  • Página 105

    Example: Macros Tk following program loads and runs a macro. The macro moves an inch and a half right and down three inches from the top left comer of the page, where it prints a 25 percent gray-scale bar. It then ejects the paper. 100 LPRINT CHR$ ( 27 ) ; “ &f6X” 200 LPRINT CHR$ ( 27 ) ; “&f IY” 300 LPRINT CHR$ (27) ; “&f OX?[...]

  • Página 106

    NOTES 98[...]

  • Página 107

    The small-carriage EX-800 is one of Epson’s more recent dot-matrix printers. Because of the popularity of the IBM Personal Computer, which was marketed with a modified Epson printer, thousands of software pro- grams already work with Epson printer commands. If you have a program that doesn’t work with lascrprinter commands, you’ll almost ccrt[...]

  • Página 108

    I But some commands include two n variables, which are shown as n] and n2. These normally represent bytes to be added together to produce onc sum, in which n] represents single units and n2 represents 256-unit groups. Finally, a few commands can have many n variables (such as tab stops), which are listed the same way. And one or two include a secon[...]

  • Página 109

    ● left-to-right (unidirectional) printing control <ESC> U c print quiet (half speed) <ESC> S ● print immediate (“incremental” or “typewriter” mode) cESC> i CONTROLLING THE PRINTER Putting the printer online or offline You can send <XOFF> and <XON> control codes (described in Chapter 2 under “Serial Interface[...]

  • Página 110

    FORMATTING PAGES Page length You can define page length in either inches or lines-a matter of personal prefcmmce. When you first start EX-800 emulation your printerscts the page length to 11 inches and 66 lines. The dctinition of a “line” depends on the lines-per-inch spacing. If you change line spacing after you set the page length, the page l[...]

  • Página 111

    For example, say you have set the page length to 84 lines (legal size paper at 6 lines per inch), with the top-of-page 8 lines down. You then send: <ESC> N16 This will give you 8 lines of top margin (implied by your top-of-page setting) and 8 lines of bottom margin. The printer knows you want 84-16=68 lines of text, so it prints those, skips [...]

  • Página 112

    I Side margins To set the left margin to a particular column you send this command: in which n is the column number for the left margin. (Note that the character /is a lowercase L.) Column width is determined by the current pitch (for example 1/12 inch for 12-pitch), or is set at 1/10 inch for proportional spaced text. Once margins are set, changin[...]

  • Página 113

    DESIRED LINE SPACING COMMAND EXPLANATION 1/8 inch <ESC> O (zero) 7/’72 inch <ESC> 1 (one) 1/6 inch <ESC> 2 (the default) increments of 1/216 inch <ESC> 3 n (in which n is the number of increments, maximum 255) increments of 1/72 inch <ESC> A n (in which n is the number of increments, maximum 85) MOVING THE PRINT POSI[...]

  • Página 114

    Carriage return The printer moves the print po:ition back to the left margin when you send a carriage rctum control code. The print position will not move down to the next line (unless on the front panel’s menu you have set the Auto Line Feed parameter ON): <CR> Line feed commands The line spacing commands define what a “line” means for[...]

  • Página 115

    Left-to-right printing The EX-800 normally prints bidirectionally, with the print position moving alternately left-to-right and right-to-left. Cutting down printhead motion does speed up printing for those earlier styles of printer— though it hardly compares with laser printing. The problem with bidirectional printing is that the printhead can ge[...]

  • Página 116

    I To complete the command, forn2 youenterthenumberof full groups of256 increments you want to move. And for n] you enter the number of increments left over. Confused? Here’s an example. This command: <ESC> $141 moves 14+ (256 x 1)=270 increments from the left margin. That works out to 270/60 inches, which is four and a half inches. Moving h[...]

  • Página 117

    T c l t o a s n t s t s t S H o T com m < E D n n2 ... n64 c N T h co m n e a b o exp l T nl a n2 a s a t co l nu m w h y w t s t s t T t d ... j m y c l i m o co l a m a 6 i t o L t i a or d Ei t a f i c N (c o c O o a c n u t t h pre c i w i e t co m T re m a hor i t s t i s t S H o T c w i n n co l va l < E D < N T Hor i T M o c o a d t[...]

  • Página 118

    Vertical tabs in channels T h n e p a o com m w h l y s a u s d s e o ver t t a i r a u s T h m o f p d i prep r fo r o f un u r e t n d i t s o dif f pa g T b a i d i t h di f s o t g s t i w t E p c a cha n (t h o t h a se p c o o t s t Y c s u t e i dif f cha n s l a t t n m t 6 t s T s t s t f a g i ch a ( s h a c ) s t c c E b c nl n2 ... MM &[...]

  • Página 119

    Orientation The EX - emu l h n c o t c h o r s u t Se l Orie n su p c o i y n t p i l a m I t pr i do e h e n m e i w t r t f i dis p t h me s o t p a a u i n t c f i h i t orie n y o c h Symbol set T sta n E X s y s i A S a l f t f h o i 2 cha r s l F t s e h o t E X s s y h a ch o o ei t it a ( y d o h t s w t a s e f t g t h o cha r gr a ( y d h[...]

  • Página 120

    I t 6 S p I 7 J a 8 No r 9 De n I 1 S p I 1 L a Am e 1 T part i sy m t co m w g y a s i t c be l cD u 35 36 64 91 92 93 94 96 123 124 125 126 U (A S #$@[l A’{ ~}’” Fr a # $ a “ ~ g A ‘ e il e “ Ge r # A A B En g E$ @ { De n I # A O A “ Sw e # E A u I t # $ ” t S p I p. $ @ I ~ ~ A ‘ o fi } - J a #$@[*l A’{ j}- hkmay # @ Deh m #[...]

  • Página 121

    Most significant bit V e f co m s t s j s e b t t p r t w t A p 1 a T R d B i y f y o i t s a i n l o Y c s t g a a c t t s y i t u h o t E 8 sy m s (e i i t o ch a g r w t f t com m T h co m co n t s t o t e i b t h i o most significant bit, w h i t le f b i a b s N o t com m w i a f d s a gr a T m a t e i b a l o ( w l y p i o c gra p s e t h co [...]

  • Página 122

    Character spacing EX - emu l l e y c o t a m o s i n a char a som e c a t o f Y m w f e t ju s a l i o p r yo u W i t Cha r Sp a c o y c a t t d i e cha r adv a i inc r o l / i T c o d n af f t sel e p i T ad j t cha r sp a s t c o < E < S n < S i r A S S p cha r F n y e a f t s t nu m o l/1 2 inc r b w h s p i t i n Y o pr i ca n t h co m[...]

  • Página 123

    T s h i n con d p r s e i o t c o < S o < E < Con d p r w i s t o u n y s e a d i p m o s t fol l C a Co n p r c o c w r p t t 10 - de f < D Extended print Ext e p r i w i t i i h i E X o s o c i “doub l p r Ex t p r l g i h e S ext e p r m e se l a f w w c h Y c s ext e p r e i f o l o f s e W h y s h o t ex t p r f o l a c a r o a I[...]

  • Página 124

    I Style EX - emu l l e y u i t ch a w i d e i a a sep a f o s i i c s t i t i t u h o i s s T se l it a cha r s e t co m < E 4 A t re t t up r cha r s t c o < E 5 N o i ne i o t h co m d y s t a n 4 o Ins t u t A S s y f t h n u Stroke weight T S t Lase r 8 c c r b ch a b p r e c tw i sli g of f j u l i t E X d o T c o e t EX - y o prin t t h[...]

  • Página 125

    I Typeface T S t Lase r 8 u C o f a i d e E f Y u t S e Em u s u c o t s i a emu l t s e a ca r o do w f b y w b a t b r t h f o b a i n E X m o T h b e E e al w st a w i Co u a i d e f Underline T und e co m u n E X e m p u n u sp a a w e a cha r T t u n o o o y s t com m < E – n I n i a o nu m und e i t u o I n i a e v nu m und e i t u o Mas[...]

  • Página 126

    A exa m Prop o b o ex t l o g a a t T g i y a u t h va l f t h t h ( + 8 + 3 = 4 a s t c < E ! 4 Subscripts and superscripts Sub s m o p r cha r a h o t n o h e i t l p a o t l i sp a Sup e m p r ch a a h o t n he i b i t u p p a o t l s p Y m w s u a super s f fo o nu m o ma t f o T o rest r i t h y c a u su b a su p w d st r m o Y sw i t sub s[...]

  • Página 127

    User-defined characters Y c cr e a p r y o c u c h w E e t i b y pr o w o w t T S La s 8 p m conv e a c t s p s y s t t p a t Las e I emu l B i y h a u s a chara c p r d e f E p e r y c o n e t g a s y y h d e y o Y m h a st o y o cha r i p a o t 25 6 s s nor m re s f co n c o a w n “ s k t u t h no r unp r ch a s l H e a t h k e N o t n u i t f [...]

  • Página 128

    Printing dots EX - emu l p r gr a a l i e p i h Y j sp e w h o t e i d o t p r f e d o c o T h so u e a b i c b a l o w o I m s p a e b bi n nu m 6 t 2 t i p i n r a c t p T m a 2 0 calc u f e v l i A y c i m g so f u s pl e o pr o l o T fi g b e s h t v a o e d o t l T e x o t r i s h h y w o a u d o t t y p r w d t p r f a co u o co l ● ● ●[...]

  • Página 129

    I S t p r j u 1 co l o gr a y w s t c < E K 1 5 T h man s t 1 + ( x 2 = 1 c o B t p r 2 co l o gr a a t s d e y w s t com m < E K 4 1 T h o tra n t 4 + ( x 2 = 2 c o Rem e t p exactly t r i n u o c o i y c Oth e y o inad v u t a g r d o v v An o h i i B A t W I st a c h y k u ca r re t f r me s u y g r Other graphics densities L sum m W h pro[...]

  • Página 130

    M O # O M O # 1 M O # 2 M O # 3 M O # 4 M O # 5 M O # 6 M O # 7 Yo u al r s e a ex a o t f i c o < K nl n2. T n e t h com m w i L Y a Z fo l t < c w ex a t s a w a Ne i < E Y n < E Z a re c h o T E act u t u o ad j d o t a l i t p a h s o r a y o S t Lasc r 8 w e m t pr e S t s o do u de n i y w a t s a t d y a s e B h a b t l a f o op [...]

  • Página 131

    I t h ch a t de n f < E K i n T ch a a com m n o d e y s t c o c E ? c m F c y sub s wh i c o id e y w t c ( L Y o Z A f o y e n them o n d y w t h co m t h a f t t a a b Nine-pin graphics T StarLa s r e a c anot h c f nin e gra p A t gr a c o d i s f i eig h li n b t E X o f t c o b i p act u h n i p i T EX - u i t d a n l o d a s p u t pri n T[...]

  • Página 132

    I T p r nin e gra p s e t c o b e y g r d c E A d nl n2 T var i d i a n u in d d e I d is a e n t de n w i b 6 d o p i n b i d is a o n u t d w b 1 d o p i n T n i t h co m a w o t g r c o m t nu m o 256 - g r o d y a s e ( b O a 4 A n] i t nu m o le f c o ( t 2 W c n2 in d u t 4 g r w t l i 3 w e gra p Be c y s e t w a m d b w n gra p[...]

  • Página 133

    T I Pro p l i t E p E X i a d o p T Prop r a Pro p X h p r p o b e t c w I B pred i qu a T I Pro p i q u s i t t E E a t s m o o t s a co m I t c h t h w lt c co m t b o b de s i d e o t P r c t di f f r t EX - T u Pro p co m se n r t l c h f t c b a a r e t h o n Co m a d e i t s s h a i ea r cha p PROPRINTER COMMANDS Why use the Proprinter emulat[...]

  • Página 134

    Y m a l pr c u Prop r i y n t p t s char a f r I B s y s I f a th o y c u t I s y s w a o t o emul a Unsuppotied commands T S t Lase r 8 ig n t fo l c o b e t a mean i o a l a pr i ● se l d r o near-l e f < I n ● ig n o ob s p a e c 8 and c 9 ● unidir e pr i < U ● dow n cha r s < = CONTROLLING THE PRINTER Identical printer control [...]

  • Página 135

    FORMATTING PAGES Identical formatting commands T Pro p co m i t fo l l a i d t t o t EX - I y o n s h t w s “ F P i ch a 5 Set Page Length in Lines < C n Set Page Length in Inches < C < n Set Skip Over Peroration < N n Cancel Skip Over Pe~oration < O Set top of page Be f y s t p a t ( e f t t m a y f m t p pos i t w h y w t t o t p[...]

  • Página 136

    Set Vertical Tabs c E B nZn2...n64<NUL> Tab Vertically <v’r> Tab Horizontally <HI-> Define line spacing Y c s t l i sp a i in c o 1 i u t f o De f L i Sp a co m Ho w t v y d i o st o i me m u n y s e t h 2 c o t a c p i i ef f < E A n F n e n t nu m o inc r y w b c O ( a 2 Select line spacing Y c se l t I i sp a t y h pr e d [...]

  • Página 137

    Turning automatic line feed on or off Y c s t ca r r e t m t p p o j t t l ma r o t t l e m a a a d a l U t c < E 5 n I y m a n a o n u (m a 2 t p r w d a l f a f e a ca r re t I y m n e ( m 2 t p w i n pr o au t l f e T c o c o t se t o t A U C pa r o t f p a p m Setting horizontal tabs Y c s u t 2 t s t a a c o r a f 1 t 1 T s t st o s e t h c[...]

  • Página 138

    I CONTROLLING FONTS Selecting fonts T S t Lase r 8 u s C o f a i d e P r f I swi t t t L i Pr i f o f co n p r a t P r f 1 pi t Y c se l t h th r t f r p a p r m Orientation Por t a lan d ori e a av a t h t f p pr o m e o t S e Ori e s u c o I t p do e h a en o m c i w h t r o y c u f i d a me s o t p a a u i n t c l f t t o y b e us i Symbol sets [...]

  • Página 139

    Printing international characters Co n c o a n pr i B C h S 2 s a v char a a cu r s y i A p o n o o b co n co d A b o s y s s t p l c s ( c di a a s p i c o c po s Y h t g o o y w i I Pmp r m t p r t “p r c h T p r cha r s t i t c o c p o a I s s s e t h co m b e e o < E A I y h a t p r a l o ch a t w i c g p t S t p r a g r o pr o ch a y c u [...]

  • Página 140

    I Pitch Prop r pi t in c 5 6 1 1 a 1 c h p i a ava i f r t f r pa n p r m T e i t d sp a i Pro p m o T ch a t a p i o 1 ch a p i ( e y c s t com m < E : T tu r com p o 12 - pr i a s e 1 0 ( a s e t h co n c o < D auto m g i y t f h e t c Font height Pro p cmu l s p to - sp a y a u s T m e y au t g 1 p o t y w h y sp e t p i a 1 0 t w y s tw e[...]

  • Página 141

    Overscoring A ove r i a l i d r a b t ch a i a w S p u ove m t in d t t w t c o b i l t w o e a t r e I y w a a ove r u t c o < E – n T cha r a f t E s c i t u n c h I f n y e n 1 ( o t h y s e a ov e i n i O ( y t o overs c GRAPHICS Identical graphics commands I Pro p em u gr a a t s a t E m gra p ex c t h < E * ( g g r s e < ? ( s i gr[...]

  • Página 142

    [...]

  • Página 143

    T X e D i 6 p r w o b s t a h a t s or’’ p o a re v dai~wheel. E s h o o d char a T Di a i o o t m p o da i p r s m w proc e pr o in c p r d r f i I y u t X D 6 cmu l m o i w m o b t p w s o t w su p a o t L a P r 8 o t e m m Y o S t Lase r 8 w p r a d o y c w D 6 com m in c co m f c e o j u t T Di a is a dai s pr i t h n a l p r A t p m u de f[...]

  • Página 144

    I T h m e y c s e t h c o t c h t p l t s 4 li n < E < F 4 A imp o po i w i D i co m a n u y p a t c E c o i a A S c o n t pr i n u a i L 1 com m I Di a m o a n u y p a a < c m e y s e wh a ch a o c t position i t A ta b Unsupported commands Y o Laser P 8 be c i i a l a p r d n s t fol l Di a 6 co m . . . . . . . . re m dia g t e ( p s p a[...]

  • Página 145

    Reset commands Di a emu l pr o t co m t r t p t i d in i par a O co m r e t p r a s a i i r T o t co m r e t p r o a a p r c h a b e a c u p T co m t imm e r e t p r a w o a t f o a ma c a a un p p a i t p r m T r t pr i t h w a s e t c o ( f l i a c “ < E < S I T o t r e co m w h y c s a t e o p j w wor r a b cu t o a pr i l e t e f a m in[...]

  • Página 146

    How to set the depth of a line The L i D e co m (so m c a t “ v m i de f w h a “l i m e i l f a p l e c o L d e i al w s o mu l o l / o a i T S L a 8 def a 8/ 4 o a i n w o o t s l p i T ch a t I i d e s e t co m < E < R n F t v a o n y c e n a d e n u b e 1 ( a 1 2 T pnntcr s o f t n u y e t s t n o l/ 4 o a i n i t l i d e Page length W[...]

  • Página 147

    < E T Simi l t de f b o m a i a t v b o t p W t p r po s m o p t b o m a t S L a 8 pr i t p a a m o i p r p o t t t m a T s a n b o ma r u l f o v e t c t p t p r po s o t l y w a T s t c o < E L I y w a t c l t t a b o m a s e t b t t p ed g s e a o t h co m < E C < E < S I < < n Side margins T de f l e m a i s a c o 1 T s t l[...]

  • Página 148

    How to justify text Justified t e i an o Las e 8 f e i D m F jus t t e ex t t t m a o b t r a l s o t p a Y t u o aut o jus t w t f o c w h m u b s e b e t f i l y w t j u < E M Y sh o m a s u t h m o co m e m i j u t g a t begi n o l i Ot h t l s p m n w p T o n com m y c s a p w i l a h a f hori z t a o bac k spa c s e u n b o a t t Sp e Cha r[...]

  • Página 149

    1 Backspace commands W h y s e t S t Las e 8 a b a c h i m t p r po s l e o s p < B B i yo u g i t p r a b a p r c o t c m o t p r po s right o s p Som e e l t k e i m a b t b a c h i l y p r dir e o v t l a ch a y o p n B d t y c cr e sy m n ord i av a s a b w a s / t i t rep r a b l s p B I y n e t m o t p r po s b a s m i n t a w bac k cha r [...]

  • Página 150

    Line feed commands L i f e com m m o t p r p o e i d o u t p b ei t a f u o a h a l i T L De f c o d w a “l i m e f t fol l f co m U n y c i o t f r pa n t de f ve r s p i s l p i Y u t h L i F e co m t m t p p o d t p o l i < L Y m o t p r po s up t p o l w t c o < E < L T hal f f e a u s f sub s a su p Y m t p r pos i d o t p o ha l w [...]

  • Página 151

    Dais y pr i p r bidi r t o p p r s T i n nec e o a l a pr i b f c o s o c o y o S t Lase r 8 in c t n t c o W h t p r po s i m o r i t l a b a c m t p r po s t t r i i n o t l H o c r a t m o a n af f I pr i e a t r m w a c re t t p r po s m o b t t l m ( w p s o t r a ca r r e a a n pa r T t u o ba c pr i s t c o < E 6 T t u o ba c pr i a g s t[...]

  • Página 152

    I T Hori z T M o co m a d t p p o t t n hori z t pos i T m t w s t c o < H T t a o a hor i t s t f i m t p p o t t c cont a t h t s t T h i s t C l H o T S c m a < E 8 Vertical tabs Ver t t a w o m u t s w W y s t V T M o com m t p r po s m o d t t n v e t s I t h a n m o t s t o t p t p r w b t l y k n N t a a s w h y f i t t p r o T s a ver[...]

  • Página 153

    Vertical line move T Ve r L i M o c o l y m e u o d T co m s e t p r po s t a p a l n ( prog r c a i a “a b v e t t t i d i a t set t Y j u p i n t co m t pa r l n t w y w t g ( l 1 i a t t e o t p a < E < V n F n y c e n a l n u d t 1 CONTROLLING FONTS Font selection Dais y pr i c n c h t s o f a u t i y w a t c h f o i D i m p t p o a u t[...]

  • Página 154

    I S ( l y St a emu l o t Di a Ex t C h di v a sy m s e cha r i a p r s t 1 c h i sta n AS C a a sup p s t m c o i o sp e gra p sy m Y h t i n a o p E f c be f y c s h t t s e s T i m f a t suppl e s i t h i o n a c o c o c t o t p t pr i b a i n t pr i s Y sw i be t t pr i a sup p s w t c ma n S h I a S h O u T S h O c o w g y ac c t t suppl e s y [...]

  • Página 155

    S When you combine proportional spacing with automatic justification you can get text that looks like that in professionally typeset books. A note, though: the proportional spacing command can not change a monospaced-pitch font into a proportionally spaced one. You should always have a proportionally spaced font selected when you send this command.[...]

  • Página 156

    Pitch The monospaccd pitches available with intcmal fonts include 10, 12 and 16.66 characters per inch. However, with the front panel’s program menu you can select more the compact 6.5 and 8.1 pitches appropriate for a small font like Line Printer. Font height The normal font sizes in Diablo mode are 8.5, 10 and 12 points high. Style To select it[...]

  • Página 157

    You can turn off the underlining with either of these commands: <ESC> R <ESC> X Suppress printing By sending the command to suppress printing you can make the LaserPrinter 8 print spaces inplaceof any printable characters youlaterscnd— in effect, just move the print position. On the Diablo itself you might suppress printing to skip ov[...]

  • Página 158

    I Think of the normal Cartesian coordinate system in geometry, with its horizontal x-axis and vertical y-axis. In this system a poinl 30 units right of the y-axis and 12 units above the x-axis is shown as (30,12). And a point 30 units right of the y-axis but 12 units below the x-axis is shown as (30, –12). The minus sign shows its position relati[...]

  • Página 159

    HYPLOT STEP COMMAND 1) Enter HyPlot mode <ESC> 3 2) Select plotting style <ESC> G (absolute) or <ESC> V (rela- tive) 3 Ch o plotting symbol cESC>. 4) Set plotting precision <ESC> , x y (horizontal and vertical) 5) Describe plot vectors x ~ Y (horizontal, v 6 Leave HyPlot mode <ESC> 4 151[...]

  • Página 160

    NOTES 152[...]

  • Página 161

    This final chapter in your Star LaserPrinter 8 Applications Manual holds two main sections. The first on will help you with your programming job, while the last provides the symbol set tables. We’ve summarized all commands in ASCII order here. You’ll find Ihcm or- ganized by function in chapters 4 through 7. The Star LaserPrinter’s symbol set[...]

  • Página 162

    COMMAND SUMMARY HP LaserJet II Emulation Printer Commands Command Function <BS> Backspace <HT> Horizontrd tab <LF> Line feed <FF> Form feed <CR> Carriage return <so> Select secondary font <s1> Select primary font <ESC> &a n C Position horizontal cursor in columns <ESC> &a n G Select page[...]

  • Página 163

    Command <ESC> ( n @ <ESC> ( n X <ESC> (S n B <ESC> (S n H <ESC> (S rI P <ESC> (S n S <ESC> (S n T <ESC> (S n V <ESC> (S n W <ESC> ) n <ESC> ) n @ <ESC> ) n X <ESC> )S n B <ESC> )S n H <ESC> )S n P <ESC> )S n S <ESC> )S rz T <ESC> )S rz V <[...]

  • Página 164

    I Command Function Page cESC> [ C n Select paper feeder 33 <ESC> [ D n Seldct simplex/duplex mode (DX type only)34 cESC> [ E n Change emulation mode 30 <ESC> [ O n Select orientation 31 <ESC> [ S n Select paper size 32 <ESC> Z Self test 53 Epson EX-800 Emulation Printer Commands Command <BEL> <BS> <HT>[...]

  • Página 165

    Command Function Page <ESC> 6 Expand printable code area 119 <ESC> 7 Cancel expansion of printable code area 119 <ESC> < One-line unidirectional printing 107 <ESC> = Set MSB of received codes to be O 113 <ESC> > Set MSB of received codes to be 1 113 <ESC> ? C m Assign graphics mode 123 <ESC> @ Reset t[...]

  • Página 166

    Command Function Page cESC> b c nl n2.. .<NUL>Set vertical tab stops in charnel 110 cESC> j n Perform one n/216-inch reverse line feed 106 <ESC> /n Set left margin 104 <ESC> p n Select/cancel proportional spacing 113 <ESC> t n Select character set 111 IBM Proprinter Emulation Printer Commands Command Function Page <[...]

  • Página 167

    Command <ESC> G <ESC> H <ESC> J n <ESC> K nl n2 <ESC> L rd n2 <ESC> N n <ESC> O <ESC> Q <ETX> <ESC> R <ESC> S n <ESC> T <ESC> W n <ESC> Y n] n2 <ESC> Z nl n2 <ESC> [ C n <ESC> [ D n <ESC> [ E n <ESC> [ O n <ESC> [ S n <ESC> [...]

  • Página 168

    I Command <ESC> <CR> P <ESC> <DC1 > n <ESC> <SUB> I <ESC> <EM> n <ESC> <RS> n <ESC> <US> n <ESC> ! <ESC> & <ESC> , x y <ESC> – <ESC> . <ESC> O <ESC> 1 <ESC> 2 <ESC> 3 <ESC> 4. <ESC> 5 <ESC> 6 <ESC&[...]

  • Página 169

    Command <ESC> V <ESC> W <ESC> X <ESC> Y <ESC> Z <ESC> [ C n <ESC> [ D n <ESC> [ E n <ESC> [ O n <ESC> [ S n Function Page Select relative Hyplot mode 151 Select shadow print 148 C 2 Print the character under ASCII code 7F hex 146 Select paper feeder 33 Select simplex/duplex mode (DX type o[...]

  • Página 170

    I SYMBOL SETS This section gives tables of the symbol sets for the Star LaserPnntcr 8. The decimal character code of each character is shown in an inset to the lower right of the character. The hexadecimal code can be found by reading the entries at the top and left edges of the table. For example, the character “A” is in column 4 and row 1, so[...]

  • Página 171

    I Number Symbol Name OA Math-7 t 1 I 1 L 1 < I i I I 1 I l J 1 l I 6 I I 1 , . . -- t I 7 I 1 1 1 1 . . , -. i k 8 9 A I B I 1 1 . . . 1 - , . 1 1 1 , . . , 1 - 1[...]

  • Página 172

    I Number Symbol Name O Line Draw 164[...]

  • Página 173

    I I Number Symbol Name O 60: Norwegian I — I I 21 1 181 I 341 50[ I I I 31 I 191 “ I 351 I 511 I 1 I 61 I 221 1 381 I 541 a e u fv I I 1 , , . . , , - , - . - --- --- i I I I 81 241 ‘ I 401 I 561 I 72] a i 105 Y 121 j z 122 106 ka 107 123 10 108 124 1[...]

  • Página 174

    I Number Symbol Name O Roman Extension 166[...]

  • Página 175

    I Number Symbol Name OF 1S0 25: French[...]

  • Página 176

    I Number Symbol Name OG HP German 1[...]

  • Página 177

    I Number Symbol Name 01 1S0 15: Italian I 5 I 1 1 . , , - , - + I 6 I 1 I “ I . . , t I 7 I 1 1 1 1 . . 1 , } ~ ! ‘ -“! ‘ --: ‘ “-} I I I 1 I J I I F I 1 1 ., 1 . . 1 , . . I 1[...]

  • Página 178

    I Number Symbol Name OK JIS ASCII o 1 234 5 6 7 0 <NUL> I 1 - ! : : I I — / I 11 I 171 I 331 I 491 651 - I 811 971 - I 1131 1 I 41 1 20] I 361 I 521 681 1 841 I 100 I 11161 1 — I 131 I 291 I 451 61I I 77 1[...]

  • Página 179

    I Number S y Name ON ECMA-94 Latin 1 0 1 2 3 4 5 6 7 1[...]

  • Página 180

    I Number Symbol Name ON ECMA-94 Latin 1 (cont.) 172[...]

  • Página 181

    00 OCR-A I Number Symbol Name[...]

  • Página 182

    I Number Symbol Name O Math-8A o 1 2 3 4 5 6 7 ..,,,,. I 01 I 161 I 321 I 481 I 641 I 801 I 961 1112 ,nr=l. 3= 65 81 BZ 66 82 2= rT 67 8: AT 68 sl 4 E@ 69 85 70 86 HW 71 87 72 8E * I ‘v 73 89 74 90 z MS 76 92 N 77 93 a ? 94 78 0 79 — 95 a= 97 ‘ 112 Pa 98 114 * * * C$ 110 126 0 # 111 127 174[...]

  • Página 183

    0 ISO 11: Swedish I Number Symbol Name 1[...]

  • Página 184

    I Number Symbol Name 176[...]

  • Página 185

    I Number Symbol Name OY Bar Code 3 of 9[...]

  • Página 186

    I Number Symbol Name I 6 Norwegian 1 I I I I Ill [ 331 I 2 I . J ! 1- A~ Q: a m “ ‘R ‘m bi--GF plT>J<Et4>J A B F! -1 > — I I 141 m-m m F / — A 47 1[...]

  • Página 187

    I Number Symbol Name IE UK 1[...]

  • Página 188

    I Number Symbol Name I ISO 69: French 1 8[...]

  • Página 189

    I — Number Symbol Name IG 1S0 21: German I I I El I 241 ‘ I 4 1[...]

  • Página 190

    I Number Symbol Name 10 OCR-B I A <S1> F <us> 0 D pi 182[...]

  • Página 191

    I Number Symbol Name 1 OCR-B (cont.) 1[...]

  • Página 192

    ID Number Symbol Name IQ Math-8B 1 I I 21 I 181 341 I sol I 6( I i I —. I I 141 I 301 I 461 I 62 r F’ I I I 151 I 311 I 471 I 631 I 7 a + 109 125 * 110 126 111 127 1[...]

  • Página 193

    I Number Symbol Name 1[...]

  • Página 194

    I Number Symbol Name Legal IU o 1 2 3 4 5 6 7 8 9 A B c D E F[...]

  • Página 195

    I Number Symbol Name 2 Ill I ! I 1 I 1 I 5 1 1[...]

  • Página 196

    2Q Pi Font–A I Number Symbol Name 1[...]

  • Página 197

    I Number Symbol Name 2s 1S0 17: Spanish 415 67 I 4 * M br 98 114 c s 99 115 4 a e u 101 117 fv 102 1lB a i Y 105 121 j z ~zz 106 k“ 107 123 lii 108 124 M 1[...]

  • Página 198

    I Number Symbol Name 2U 1S0 IRV[...]

  • Página 199

    ID Number Symbol Name 3Q OCR-B Extension 1[...]

  • Página 200

    ID Number Symbol Name 3s 1S0 10: Swedish 23456 7 192[...]

  • Página 201

    ID Number Symbol Name 4s 1S0 16: Portuguese 8 9 A 193[...]

  • Página 202

    ID Number Symbol Name 5s 1S0 84: Portuguese 194[...]

  • Página 203

    ID Number Symbol Name 6S ISO 85: Spanish c) 1 2 3 4567 <S1> <us> F o # 195[...]

  • Página 204

    ID Number SymbolName 8M Math-8[...]

  • Página 205

    ID Number SymbolName 8M Math-8 (cont.) 197[...]

  • Página 206

    ID Number SymbolName 8Q IBM-PC Set o 1 2 3 4 5 6 7 8 9 A B c D E F o 12345 67 I 1 198[...]

  • Página 207

    ID Number SymbolName 8Q IBM-PCSet (cont.) — 199[...]

  • Página 208

    ID Number SymbolName 8U Roman-8 o 1234567 ..,,,,. E 7 8 9 A B c 200[...]

  • Página 209

    ID Number SymbolName 8U Roman-8 (cont.) o 1 2 3 4 5 6 7 8 9 A B c D E F 201[...]

  • Página 210

    ID Number SymbolName 8Y Bar Code EAN/UPC m ml ml [ 73] I 891 I105I 1121 I — I Ill I 271 I 43! I 591 I 751 I 911 I107I I c [<FF’L.I “-”11 d -1 -l -l -1 3 202[...]

  • Página 211

    ID Number SymbolName 9Q IBM-PCExtension 203[...]

  • Página 212

    ID 204[...]

  • Página 213

    ID Number Symbol Name 10U IBM-PC(US) E- 0 1 21314151617 I ‘t 9 A 1- C D k E F 205[...]

  • Página 214

    I ID Number SymbolName 10U IBM-PC(US) (cont.) o 1 2 3 4 5 6 7 8 9 A B c D E F 8 9 A T z 02 ■ 220 236 I @ 237 221 I E 23, 222 ■ fl 223 23S 1 F -+ * 241 4 J 245 4 ● 249 -d 250 4 . 254 d 255 206[...]

  • Página 215

    ID Number SymbolName 1lQ ECMA-947-bit 207[...]

  • Página 216

    ID Number SymbolName 1lU IBM-PC (Denmark/Norway) 208[...]

  • Página 217

    ID Number SymbolName 1lU IBM-PC (Denmark/Norway) (cont.) 209[...]

  • Página 218

    ID Number Symbol Name 12U PC-850 I o 123 d--b= # 4 ! 1 17 33 49 t II 2 18 34 SC !! #3 19 35 51 7$4 20 36 52 e a’ 7 23 39 55 t 24 ( a 56 40 d-d= =la= < 28 ‘ 44 60 w = 29 45 61 45 67 z a 97 q 113 br 98 114 c s 99 115 dt 100 116[...]

  • Página 219

    ID Number SymbolName 211[...]

  • Página 220

    I ID Number SymbolName 15U Pi Font t 2 H-a- I I I 21 I 18[ I 341 I 501 m “m ‘b I 3 I I 5 t -- -. , 1 .“ 1 , “. 1 1 “d, , .“ 1 I I I 1 I 6 I 7 I I< B’’L-.I L 9 ‘<HT> <EM> I 1 I 101 I 261 I 421 I 581 I 741 [q “ m “ m I B l<vT’LJ<Escd “ --1. -1 J ,rJ II –j ,, ~ I I I 13] m m“~ I I I 151 I 311 I 471 ?[...]

  • Página 221

    EC ASCII, 6-11 ASCII symbol set, 41,111 attributes. See font attributes Auto Carriage Return command Diablo 630 mode, 141 auto line feed Proprinter mode, 129 Auto Line F&d parameter, 22,141 auto parameters, 22 auto wrap, 22 Autowrap command HP LaserJet 11 mode, 68-69 ~] backspace commands Diablo 630 mode, 141 EX-800 mode, 105 HP LaserJet II mod[...]

  • Página 222

    compressed print EX-800 mode, 114-115 Proprinter mode, 131 condensed print, 36 EX-800 mode, 114-115 Proprinter mode, 131 configuration, 15 configuration settings, 16 continuous-form paper, 21 control codes, 7-8,51-52 printing, 79 corona wire, 4 Courier font, 38,43,117,130,145 current settings, 15 m DC1/DC3 protocol, 17,101 default settings, 15 Defi[...]

  • Página 223

    [IL factory settings, 15 Feed Select command, 33 Diablo 630 mode, 136 HP LaserJet 11 mode, 54 font attributes, 28,35-37,41 default, 43 See also font orientation; pitch; point size; spacing; stroke weight; style; symbol set; typeface font control commands Diablo 630 mode, 145-149 EX-800 mode, 110-119 HP LaserJet 11 mode, 70-84 Proprintcr mode, 130-1[...]

  • Página 224

    horizontal motion commands EX-800 mode, 107-109 horizontal motion index. See HMI horizontal print position, 61,63-64 horizontal tab commands EX-800 mode, 108-109 Proprinter mode, 128,129 HP LaserJet II emulation mode, 19,51- 97 font control commands, 69-88 graphics commands, 88-94 page formatting commands, 56-61 printer control commands, 53-56 prin[...]

  • Página 225

    m networks, 50 NEXT button, 15 nine-pin graphics, 123-124 number of copies command HP LaserJet II mode, 54 Number of Copies setting, 20 m offset commands EX-800 mode, IZ6 ON LINE button, 13 optioml fonts, 46 orientation. See font orientation outline fonts, 40 overscoring Proprinter mode, 133 m page design, 44-45 page formatting commands, 22-27 Diab[...]

  • Página 226

    print position commands, 22,27 Diablo 630 mode, 140-145 EX-800 mode, 105-110 HP LaserJet II mode, 61-69 Proprinter mode, 127-129 print spoolers, 49 PROGRAM button, 15 pro~rtional spacing, 28,38,39 Diablo 630 mode, 147 HP LaserJet II mode, 76 proportional spacing offset, 147 Proprinter emulation mode, 19, Z25- 133 fonts control commands, 130-133 gra[...]

  • Página 227

    spacing, 28,37, 72 Diablo 630 mode, 147 EX-800 mode, 113 HP LaserJet II mode, 76 See also line spacing commands; monospacing; proportional spacing Spacing Offset command, 147 Diablo 630 mode, 140 Specify Macro ID command HP LaserJet II mode, 94-95 Specify Pattern command HP LaserJet H mode, 92,93 stop bit, 17 stroke weight, 28,35,41, 72 Diablo 630 [...]

  • Página 228

    I L!Ll Veflical Line Move command Diablo 630 mode, 145 vertical motion index. See VMI vertical print position, 61-63 vertical tab commands Diablo 630 mode, 144 EX-800 mode, 209 VMI, 26 HP LaserJet II mode, 62 ml Warning Alarm, 20 WYSIWYG, 45 12u Xerox Diablo 630emulation mode. See Diablo 630 emulation mode XON/XOFF protocol, 18 220[...]

  • Página 229

    Consumer Response Star Micronics Co., Ltd. invites your suggestions and comments on your printer and this manual. Please address your correspondence to: Worlch’ide Headquarters: STAR MICRONICS CO., LTD. 194 Nakayoshida Shkuoka JAPAN 422-91 Attn: Product Manager American Market: STAR MICRONICS AMERICA, INC 420 Lexington Avenue, Suite 2702-25 New Y[...]

  • Página 230

    P in Japan ’89[...]