Xerox 4213 manuel d'utilisation

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
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Xerox 4213. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Xerox 4213 ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Xerox 4213 décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation Xerox 4213 devrait contenir:
- informations sur les caractéristiques techniques du dispositif Xerox 4213
- nom du fabricant et année de fabrication Xerox 4213
- instructions d'utilisation, de réglage et d’entretien de l'équipement Xerox 4213
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Xerox 4213 ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Xerox 4213 et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Xerox en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Xerox 4213, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Xerox 4213, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Xerox 4213. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    Xerox 4213 Laser Printer Programmer Reference May 1992 720P40020[...]

  • Page 2

    Rank Xerox Limited. Parkway Marlow Buckinghamshire S17 1YL England © 1992 by Rank Xerox Limited. All rights reserved. Copyright protection claimed includes all forms and matters of copyrightable material and information now allowed by statutory or judicial law or hereinafter granted, including without limitation, material generated from the softwa[...]

  • Page 3

    European EME regulations The Xerox 4213 laser printer meets the requirements of EN55022 Class B. WARNING: Use of controls, adjustments, or performance of procedures other than those specified herein may result in a hazardous radiation exposure. This product will produce ozone during normal operation. The ozone produced is dependent on copy volume a[...]

  • Page 4

    Operational safety Your Xerox equipment and supplies were designed and tested to meet strict safety requirements. These include safety agency examination, approval, and compliance with established environmental standards. WARNING: Improper connection of the equipment grounding conductor can result in electrical shock. Attention to the following not[...]

  • Page 5

    Related publications Title Xerox 4213 Laser Printer User Guide Xerox 4213 Laser Printer Programmer Reference Xerox Coax/Twinax Option (XCTO) Programmer Reference Xerox 4213 Laser Printer Quick Reference Guide Helpful Facts About Paper Xerox 4213 XES Quick Reference Card PostScript Language Reference Manual, 1985, Adobe Systems Incorporated, Addison[...]

  • Page 6

    [...]

  • Page 7

    Table of contents European EME regulations iii Laser safety iii Operational safety iii Notice iv Related publications iv Introduction xix Purpose of this manual xx What this manual contains xx Variances xxi Conventions used in this manual xxi 1. Interfaces 1 - 1 Parallel interface 1-1 Parallel interface cable 1-1 Centronics interface 1-2 Select the[...]

  • Page 8

    TABLE OF CONTENTS Serial interface 1-11 Select the serial interface 1-11 Set baud rate 1-12 Set parity 1-12 Set flow control 1-13 Return to printer operation 1-13 RS232 (serial) connector 1-13 Serial interface features supported 1-14 Serial signals and pin assignments 1-14 Null modem 1-15 2. XES command language mode 2-1 Configuring the 4213 for th[...]

  • Page 9

    TABLE OF CONTENTS How the printer defines a page 2-9 Page orientation 2-9 Font orientation 2-9 Coordinates, units of measure, and paper feed direction 2-10 Determining the paper feed edge 2-11 Page capacity 2-12 Setting job boundaries 2-13 Examples 2-14 Print Job 2-15 Print Job (Mixed Orientation) 2-16 Reset 2-17 Formatting the printed output 2-18 [...]

  • Page 10

    TABLE OF CONTENTS Font Delete 2-33 Font Unload 2-34 Using fonts in a document 2-34 Font ID Assignment 2-35 Font Select 2-37 Setting units of measure 2-37 Units—1/60 2-38 Units—1/300 2-38 About margins 2-39 More about page and font orientations 2-39 More about page boundaries 2-39 Text placement restrictions on the 4213 printer 2-40 Margins 2-40[...]

  • Page 11

    TABLE OF CONTENTS About the page formatting features 2-55 Line Spacing 2-55 Line Spacing Absolute 2-56 Text Placement Absolute 2-57 Text Placement Relative 2-60 Line Draw X 2-62 Line Draw Y 2-64 About character formatting 2-68 Italics 2-68 Bold Start/Bold Stop 2-68 Underline Start/Underline Stop 2-69 Overstrike Start/Overstrike Stop 2-70 Subscript [...]

  • Page 12

    TABLE OF CONTENTS What is a graphic window? 2-79 Origin and page orientation 2-80 Placement on the page 2-80 Other characteristics 2-81 Scan direction for raster graphics 2-81 Graphic Window 2-81 More about graphic windows 2-84 Page capacity for graphic windows 2-84 More about magnification 2-85 Magnification and resolution 2-85 Magnification and w[...]

  • Page 13

    TABLE OF CONTENTS Data Monitor 2-106 Character codes on the Xerox 4213 2-107 Supported coding schemes 2-108 Control codes 2-108 7-bit coding schemes 2-108 The Special Table 2-109 User defined translation tables 2-109 Translation table structure 2-109 More about the table data record 2-110 1. The start-of record 2-110 2. The record-type indicator 2-[...]

  • Page 14

    TABLE OF CONTENTS Pitch 3-4 Height 3-4 Style 3-4 Stroke weight 3-5 Typeface 3-5 Font selection 3-5 Font selection by characteristics 3-5 Font selection by ID 3-6 Resident fonts 3-6 Cartridge fonts 3-9 PCL4 command structure 3-9 Control codes 3-9 Escape sequences 3-10 Escape sequences with parameters 3-10 Escape sequences without parameters 3-10 Var[...]

  • Page 15

    TABLE OF CONTENTS Page control commands 3-17 Paper Source 3-17 Page Size 3-18 Page Length 3-19 Orientation 3-21 Left Margin 3-21 Right Margin 3-22 Clear Horizontal Margins 3-23 Top Margin 3-23 Text Length 3-23 Perforation Region 3-24 Horizontal Motion Index 3-25 Vertical Motion Index 3-25 Line Spacing 3-26 Cursor positioning commands 3-26 Horizonta[...]

  • Page 16

    TABLE OF CONTENTS Control codes for cursor positioning 3-34 Carriage Return (CR) 3-34 Space (SP) 3-34 Backspace (BS) 3-35 Horizontal Tab (HT) 3-35 Line Feed (LF) 3-35 Form Feed (FF) 3-35 Font commands 3-35 Symbol Set 3-36 Spacing 3-38 Pitch 3-38 Height 3-39 Style 3-40 Stroke Weight 3-41 Typeface 3-42 Default Font 3-44 Transparent Data 3-45 Underlin[...]

  • Page 17

    TABLE OF CONTENTS Graphics commands 3-51 Raster Graphics Resolution 3-51 Raster Graphics Presentation Mode 3-52 Start Graphics 3-52 Transfer Raster Data 3-53 End Graphics 3-54 Horizontal Rectangle Size (Decipoints) 3-54 Horizontal Rectangle Size (Spots) 3-54 Vertical Rectangle Size (Decipoints) 3-55 Vertical Rectangle Size (Spots) 3-55 Area Fill ID[...]

  • Page 18

    TABLE OF CONTENTS Appendices A. Character code tables A-1 B. Conversion tables for units of measure B-1 C. Sixel encoding C-1 The purpose of sixel encoding C-1 How sixel encoding works C-1 Sample programme in C for sixel encoding C-4 Run-length packing C-7 Sample programme in BASIC for run-length packing C-9 D. Reference tables D-1 E. XES compatibi[...]

  • Page 19

    Introduction This manual is for anyone who wants to access and control the printer with commands instead of, or in conjunction with, application software. When you load and configure your software application package you are asked to identify the type of printer that you will be using. This is generally known as selecting a printer driver. A printe[...]

  • Page 20

    USING THIS MANUAL Purpose of this manual This reference manual provides information on such tasks for which you might use these printer commands including: • Changing default settings • Loading or changing character tables • Accessing a feature on the printer that is not supported by an application software package • Loading new fonts or ac[...]

  • Page 21

    INTRODUCTION Appendix D: Reference tables includes listings of control codes, character code assignments. Appendix E: XES compatibility lists which commands on the Xerox 4235 printer are not supported on the 4213 printer. Appendix F: Default format parameters contains margin and tab default values in the XES emulation. Appendix G: XES summary sheet[...]

  • Page 22

    USING THIS MANUAL Warning: Warnings are associated with the safety of people. Caution: Cautions are associated with equipment safety. Note: A comment or explanation set off from from the text as a separate paragraph. MB This is the representation for megabyte. KB This is the representation for kilobyte. K The character “K“ in conjunction with a[...]

  • Page 23

    1. Interfaces This chapter describes the interfaces supported by the 4213 Laser Printer, the Centronics and Dataproducts parallel, and the serial asynchronous. Parallel interface The 4213 Laser Printer supports two parallel interfaces: Centronics and Dataproducts. Each is described on the following pages. The parallel interface cable You must suppl[...]

  • Page 24

    INTERFACES Centronics interface Select the Centronics parallel interface Centronics parallel interface is selected through the User Interface. 1. Press the Online H button. 2. Press the Menu A button. 3. Press the Last Page C button until HOST INTERFACE appears 4. Press theTest B button. 5. Press the Last Page C button until PARALLEL CENT appears. [...]

  • Page 25

    INTERFACES Centronics connector The Centronics interface uses an Amphenol 36-pin connector, #57-40360 or equivalent. This connector mates with an Amphenol #57-30360 or equivalent connector and is illustrated in figure 1-1. Centronics compatible Epson type interfaces for personal computers can also be used on the 4213. A standard female Centronics c[...]

  • Page 26

    INTERFACES Centronics signals and pin assignments Table 1-2 describes Centronics 100 signals and pin assignments. Table 1-2. Centronics signals and pin assignments Pin Direction Signal Description 1 To printer STROBE L STROBE pulse low to read data. A strobe low signal raises BUSY line to high. 2 To printer DATA BIT 1 1 3 To printer DATA BIT 2 1 4 [...]

  • Page 27

    INTERFACES Table 1-2. Centronics signals and pin assignments (continued) Pin Direction Signal Description 17 Chassis ground 18 From printer +5V (standard Centronics) 19- 29 0 volts TWP returns All at Logic ground. 30 0 volts INIT ground 31 To printer INIT L The 4213 ignores this signal. 32 From printer ERROR L This signal is low when the printer is[...]

  • Page 28

    INTERFACES Centronics interface timing Figure 1-2 diagrams signal timing for the Centronics interface. Figure 1-2. Centronics interface timing 1-6 XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE[...]

  • Page 29

    INTERFACES Table 1-3 describes Centronics interface voltage and current requirements Table 1-3. Centronics interface voltage and current requirements Voltage levels 0 (zero) and +5 VDC (nominal), TTl (SN 74LS00 series Logic levels Positive logic is assumed. A logic one (high) signal is defined as a voltage in the range of +2.4V to +5V, not to excee[...]

  • Page 30

    INTERFACES 4. Press the Test B button. 5. Press the Last Page C button until PARALLEL DPROD appears. 6. Press the Select D button to select Dataproducts parallel. Dataproducts connector The use of a pigtail conversion cable provides compatibility with the Dataproducts 2260 line printer controllers. The Dataproducts interface uses a 50-pin Wincheste[...]

  • Page 31

    INTERFACES Dataproducts signals and pin assignments Table 1-4 describes the signals and pin assignments for the Dataproducts 2260 interface. Table 1-4. Dataproducts signals and pin assignments Pin Signal Source B Data 1 Host (LSB) D return F Data 2 Host J return L Data 3 Host N return R Data 4 Host T return V Data 5 Host X return Z Data 6 Host b re[...]

  • Page 32

    INTERFACES Table 1-4. Dataproducts signals and pin assignments (continued) Pin Signal Source y ON LINE Printer AA return x Interface Connect Verify Printer v Interface Connect Verify Printer W, H &P, M Spare Printer Dataproducts interface timing Figure 1-4 describes the Dataproducts interface timing when measured at the printer connector. Figur[...]

  • Page 33

    INTERFACES Table 1-5. Dataproducts voltage and current requirements Voltage levels 0 (zero) and +5 VDC (nominal), TTl (SN 74LS00 series Logic levels Positive logic is assumed. A logic one (or high) signal is defined as a voltage in the range of +2.4V to +5V, not to exceed a peak of +5.5V. A logic zero (or low) signal is defined as a voltage in the [...]

  • Page 34

    INTERFACES 4. Press the Test B button. 5. Press the Last Page button C until SERIAL appears. 4. Press the Select D button to select SERIAL. Set baud rate Once SERIAL is selected, baud rate, parity and flow control can be set. With SERIAL appearing on the User Interface: 1. Press the Test B button. 2. Press the Last Page C button until BAUD RATE app[...]

  • Page 35

    INTERFACES Set flow control With parity options appearing on the User Interface, follow these steps: 1. Press the Menu A button. 2. Press the Last Page C button until FLOW CONTROL appears. 3. Press the Test B button. 4. Press the Last Page C button to scroll through the two flow control choices: XON/OFF, DTR . 4. Press the Select D button to enter [...]

  • Page 36

    INTERFACES Serial interface features supported The 4213 supports the following serial interface features: • Bit rate within a character may be up to 19.2K baud • Baud rates of 1,200, 2,400, 4,800, 9,600, 19,200 • Character format: bit serial • Character asynchronous • Start bit (space) • 7 or 8 data bits (1=mark, 0=space) • Optional p[...]

  • Page 37

    INTERFACES Table 1-6. Asynchronous serial signals and pin assignments Pin Signal Telephone Co. designation CCITT designation 1 Protective Ground AA 101 2 Transmitted Data BA 103 3 Received Data BB 104 4 Request to Send CA 105 5 Clear to Send CB 106 6 Data Set Ready CC 107 7 Signal Ground (common return) AB 102 8 Carrier Detect CF 109 11 Printer Rea[...]

  • Page 38

    INTERFACES Figure 1-6. Null modem wiring 1-16 XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE[...]

  • Page 39

    2. XES command language mode This chapter is for anyone using the Xerox Escape Sequence (XES) emulation on the Xerox 4213 laser printer. Configuring the 4213 for the XES command language mode Please refer to the Xerox 4213 Laser Printer User Guide for instructions on how to configure the 4213 printer to operate in XES mode. Automatic mode switching[...]

  • Page 40

    XES COMMAND LANGUAGE MODE The mode change command The mode change command resets your 4213, enabling it to accept printing commands in the desired emulation mode. Note: Unpredictable results such as loss of data may occur if the mode change command is not entered with valid parameters. Send the following commands to your printer, preferably in the [...]

  • Page 41

    XES COMMAND LANGUAGE MODE Definition of a printer command The commands covered in this chapter are classified as escape sequences. The escape sequence is a type of printer command that gets its name from its initial character, the escape character. (This is not the same as the escape key on your keyboard.) Escape is a non- printable control code wi[...]

  • Page 42

    XES COMMAND LANGUAGE MODE Job control commands All jobs should begin and end with one or more job control commands. A job control command serves one of two functions. It either sets job boundaries (telling the printer where your job starts and ends and what type of data it contains) or it formats the printed output in some way. When the printer rec[...]

  • Page 43

    XES COMMAND LANGUAGE MODE Simple commands Simple commands are made up of the escape character and one or two other lower case characters. They do not require any line end command for completion. Example The command for centreing a line of text: E q q The instruction for centreing (lowercase q). Commands with user-entered variables Commands with use[...]

  • Page 44

    XES COMMAND LANGUAGE MODE Thereafter, until the end of the job (or until you specify otherwise), the printer recognises the selected character as your escape character. Example To select the asterisk (*) as your escape character, enter: =UDK= * Thereafter, For: Enter: E +B, L *+B, L E d* d Showing commands in printed output For most jobs, if the Us[...]

  • Page 45

    XES COMMAND LANGUAGE MODE Example The percent symbol (%) is your current User-Defined Key and you want to print the sentence: “The test is 85% accurate.” Enter: =UDK=*The test is 85% accurate.=UDK=% At the end of the sentence, the User-Defined Key is changed back to the percent symbol (%). Printing the sequence =UDK= as text To print =UDK= with[...]

  • Page 46

    XES COMMAND LANGUAGE MODE Tips on selecting a UDK When selecting a UDK, remember: • =UDK= must be entered exactly as shown, in uppercase. • You can select any printable character except: — Uppercase U, D, or K — The comma (,) — The equal sign (=) — The multinational umlaut accent character ( .. ) combined with either U, D, or K. • Do [...]

  • Page 47

    XES COMMAND LANGUAGE MODE How the printer defines a page Page orientation There are two types of page orientations: • Portrait • Landscape. A portrait page is taller than it is wide; a landscape page is wider than it is tall. Page orientation is determined by the orientation of the first font to appear on the page. Font orientation As shown bel[...]

  • Page 48

    XES COMMAND LANGUAGE MODE Figure 2-1. Font and page orientation Coordinates, units of measure, and paper feed direction The page on the 4213 is like a grid, with an origin, an x-axis, and a y-axis. Data can be placed virtually anywhere on the grid of the page. The basic unit of printable data is the pixel or dot , which is also the basic unit of me[...]

  • Page 49

    XES COMMAND LANGUAGE MODE Figure 2-2. Specifications for short-edge feed paper Determining the paper feed edge The paper feed edge is the edge that is fed first into the printer. The paper trailing edge is the edge fed last into the printer. Figure 2-3 shows the trailing edge and the feed edge. Figure 2-3. Paper feed edge and trailing edge PRINTER [...]

  • Page 50

    XES COMMAND LANGUAGE MODE Page capacity The page on the 4213 is 100% addressable when paper is fed from trays 1, 2, or the high-capacity feeder. There is a 6 mm wide lead edge deletion when feeding from the bypass tray. (The bypass tray accommodates special papers such as card stock, envelopes, and transparencies.) Page imaging capabilities are det[...]

  • Page 51

    XES COMMAND LANGUAGE MODE Setting job boundaries There are two commands for starting a document: • Print Job ( E +P L ), which is used to start a document that will have one font orientation (either portrait or landscape) per page. • Print Job (Mixed Orientation) ( E +Q L ), which is used to start a document that will have both landscape and po[...]

  • Page 52

    XES COMMAND LANGUAGE MODE Command Where to place it What it does E +P L E +Q L At beginning of job At beginning of job Separates your job from last job printed. Separates your job from last job printed. (Mixed orientation.) E +P L At end of job Separates your job from next job printed without resetting job parameters. E +X L At end of job Separates[...]

  • Page 53

    XES COMMAND LANGUAGE MODE • For a series of three documents, all of which are to have the same settings, you might enter E +P L (Fonts assigned) (Margin settings) (All other contents of job 1) E +P L (All other contents of job 2) E +P L (All other contents of job 3) E +X L Then send them to the printer. Print Job Purpose Sets the starting boundar[...]

  • Page 54

    XES COMMAND LANGUAGE MODE More Font selections are entered after Print Job (more information about this in the next chapter, “Using fonts”). In the example below, notice the “P” in each font name, which indicates that all fonts are of portrait orientation. E +P,This page is of single font orientation L E +1Helvetica14i2-P L (Font name is He[...]

  • Page 55

    XES COMMAND LANGUAGE MODE Where to place it At the start of the document data. Example To begin a job having mixed font orientations, with a Summary Sheet having the comment “This page has two font orientations”, enter: E +Q,This page has two font orientations L More Font selections are entered after Print Job (more about this in the next chapt[...]

  • Page 56

    XES COMMAND LANGUAGE MODE More Once the printer receives the Reset command, all parameters set by the other commands are cancelled, including font indexes and the UDK. Using a Print Job rather than a Reset command to end one document and start the next instructs the printer to continue using all parameters entered during previous jobs. Formatting t[...]

  • Page 57

    XES COMMAND LANGUAGE MODE Multiple Copies Purpose Determines the number of uncollated copies when more than one copy is desired. Syntax E +C n,comment L +C Instruction to print multiple copies. n Indicates the number of copies to be printed, up to 999 copies. , Optional request for a Summary Sheet comment Optional comment on a Summary Sheet. L Line[...]

  • Page 58

    XES COMMAND LANGUAGE MODE Multiple Copies (Non-Collated) Purpose Determines the number of uncollated copies printed when more than one is desired. Syntax E +E n , comment L +E Instruction to print multiple copies. n Indicates the number of copies to be printed, up to 999 copies. , Optional request for a Summary Sheet, if enabled through the printer[...]

  • Page 59

    XES COMMAND LANGUAGE MODE Paper Tray Purpose Selects a paper source other than the default. Syntax E c n c Instruction for tray selection. n Indicates tray selection in table 2-2: Where to place it Before any printable data on the page. If Paper Tray is entered within the printable contents of the page, it will take effect on the next page. Example[...]

  • Page 60

    XES COMMAND LANGUAGE MODE The command remains in effect until either a Reset command or another Paper Tray command is received. Thus, it is possible to change paper trays within a document as many times as you wish. If more than one Paper Tray command is entered on a page, the printer recognises only the last one. Notes: If Tray sequence mode is en[...]

  • Page 61

    XES COMMAND LANGUAGE MODE The 4213 printer defaults only to letter size and A4 margins with this command. Undesirable results may occur when the default margins do not match the actual paper size. Use margin commands to ensure correct formatting. Adjustable sizes set for the bypass at the printer control panel are overriden by this command. Table 2[...]

  • Page 62

    XES COMMAND LANGUAGE MODE More This command takes effect whenever the bypass slot is chosen, either through the Emulation Menu, or the paper source selection command ( E c9 ). The command remains in effect until either a Reset command or another paper tray or bypass slot paper size command is received. The default value is restored after a reset. I[...]

  • Page 63

    XES COMMAND LANGUAGE MODE To offset a mixed orientation job, use an E +P followed by an E +Q at the beginning of the job. Note: This command is ignored if the Output Offset feature is disabled at the printer control panel. 2-sided (book) Purpose Enables 2-sided printing “head-to-head “ (see 2-sided Inverted for “head-to-toe“). It also inclu[...]

  • Page 64

    XES COMMAND LANGUAGE MODE 2-sided Inverted (pad) Purpose Enables 2-sided printing “head-to-toe “ (see 2-sided (book) for “head-to-head“). It also includes the option of shifting the margins of the second page. Head-to-toe 2-sided printing means that the top of the front page is printed in the same position as the bottom of the back page. Sy[...]

  • Page 65

    XES COMMAND LANGUAGE MODE 2-sided Stop Purpose Stops 2-sided printing and returns to 1-sided printing. Syntax E zye L zye Instruction to stop 2-sided printing. L Line end. Where to place it Any place on the last page to be printed in 2-sided format. More Switching to and from 2-sided printing within a document can slow the printer’s performance. [...]

  • Page 66

    XES COMMAND LANGUAGE MODE Where to place it Any place within the contents of the preceding page. Example Entering: E zyi0 within the current side of a page causes printing to continue on the next page (or next side of the page). No blank page is inserted. Entering: E zyi1 within the current side of a page causes printing to continue on the next fro[...]

  • Page 67

    XES COMMAND LANGUAGE MODE Where to place it Any place in the job. Example The following shows part of a coded document as it appears on screen, with comments inserted into the coding: E +X L E zya Clear settings with the Reset command L E +Q, L E zya Start a new document L E +1Helvetica8Bi2-P L E +2Helvetica14Bi2-P L E 1 E zya Select fonts before s[...]

  • Page 68

    XES COMMAND LANGUAGE MODE Besides letters, numbers, and special characters, fonts can also include logos, signatures, or other images that are scanned, then digitised into font characters. These font characters are then assembled on a page to make a graphic image. Unlike other types of graphics, they do not require a graphic window. Graphic windows[...]

  • Page 69

    XES COMMAND LANGUAGE MODE How to download fonts from the host computer The example below demonstrates how to download fonts from a host computer running on MS-DOS in parallel. You create and transmit three files: • File 1 defines the UDK (if the escape character cannot be used) and initiates the command Font Load (or Font Add) to the printer. •[...]

  • Page 70

    XES COMMAND LANGUAGE MODE The batch file has been created to load fonts to the printer. 3. Now create File 3, which resets the printer. At the C:> prompt enter: copy con:stop.doc ( Press Return .) =UDK=@@+X,Font Load Complete ( Press Return .) <CTRL>z ( Press Return .) 4. All the necessary files have been created. At the C:> enter: down[...]

  • Page 71

    XES COMMAND LANGUAGE MODE Font Add Purpose Adds fonts to previously downloaded fonts. The additional fonts come to the printer from storage media at the host computer. Syntax E +A ,comment L +A Instruction to load font data. , Optional request for a Summary Sheet to report errors upon execution of the next job command. comment Optional comment to b[...]

  • Page 72

    XES COMMAND LANGUAGE MODE Example To delete two fonts, “Classic8iso-L “and “Classic6iso-L,“ and to request a Summary Sheet with the command “These two fonts are now deleted” enter: E +B,These two fonts are now deleted L Classic8iso-L,Classic6iso-L L File names must be entered exactly as they are named, including upper and lower case let[...]

  • Page 73

    XES COMMAND LANGUAGE MODE The most common place to enter Font ID Assignment is immediately after Print Job and any job formatting commands (such as Paper Tray). However, you can set up an index anywhere in the document. The advantage of this is that, while you can index up to 10 fonts (using 10 different font ID numbers) with a single Font ID Assig[...]

  • Page 74

    XES COMMAND LANGUAGE MODE Example To create an index of five fonts, enter: E +0Classic8iso-L L E +1Classic8Biso-L L E +2Classic6iso-L L E +3Classic12iso-L L E +4Classic10iso-L L Once the files have been assigned identification numbers, they are selected by number with the Font Change command. For example, to select Classic8Biso-L within a document,[...]

  • Page 75

    XES COMMAND LANGUAGE MODE Font Select Purpose Selects a font from those listed in the index created with Font ID Assignment. Syntax E n n The ID number for the font, from 0 to 9. Where to place it Anywhere in the document at which you want to use this font. Example From the following index: E +0Classic8iso-L L E +1Classic8Biso-L L E +2Classic6iso-L[...]

  • Page 76

    XES COMMAND LANGUAGE MODE When the printer is powered on, units of measure are set at 1/60th inches automatically. The Reset command, which clears all settings, also returns the units to 1/60 inches. Thus, at the start of a job, if you want to use 1/60 inch for your unit of measure, you need not use the Units command. If your job requires calculati[...]

  • Page 77

    XES COMMAND LANGUAGE MODE About margins The most common place in the job to enter the margin settings is after the Font ID Assignment or Font Change commands. This is because the font determines the orientation of the page. Refer to “How the printer defines a page,“ for additional information on page and font orientations. You can set: • All [...]

  • Page 78

    XES COMMAND LANGUAGE MODE If you enter a change of setting within the printable contents of a page and the new setting for the bottom margin is below the current text position, the bottom margin goes into effect for the next page. Setting illogical margins, (such as a top margin below a bottom one), or setting margins out of page boundaries causes [...]

  • Page 79

    XES COMMAND LANGUAGE MODE L Left margin. The distance from the left edge of the page to the left side of the first character where each line is to be printed. R Right margin. The distance from the left edge of the page to where the right side of the last character in each line is to be printed. L Line end. Where to place it After the Units command,[...]

  • Page 80

    XES COMMAND LANGUAGE MODE Figure 2-6. Measuring a landscape page Setting independent margins The Margin Top, Margin Bottom, Margin Left, and Margin Right commands allow you to set or change one or more margins on a page without affecting other margins selected using the default margins or the regular margin commands. If margins have been defined wi[...]

  • Page 81

    XES COMMAND LANGUAGE MODE Margin Top Purpose Sets the top margin without affecting the other margins. Syntax E zn T L zn Instruction to set top margin. T The distance (in units of 1/60 or 1/300 inch) from the top edge of the page to the baseline of the characters in the first line of text to be printed. L Line end. Where to place it After the Units[...]

  • Page 82

    XES COMMAND LANGUAGE MODE Margin Left Purpose Sets the left margin without affecting other margin settings. Syntax E zk L L zk Instruction to set left margin. L The distance (in units of 1/60 or 1/300 inch) from the left edge of the page to where the left side of the first character in each line is to be printed. L Line end. Where to place it After[...]

  • Page 83

    XES COMMAND LANGUAGE MODE More about job boundaries The tabs you enter with commands remain in effect until the printer receives either a Tab Clear or a Reset command. A Tabs Clear Horizontal command clears all horizontal tabs, including defaults, until the end of the job or until a new Tabs Horizontal is entered. A Tabs Clear Vertical command clea[...]

  • Page 84

    XES COMMAND LANGUAGE MODE Syntax E t n1,n2,...,n160 L t Instruction to set horizontal tabs. n 1,n2,..,n160 Tab settings across the page starting from the left edge. Up to 160 tabs can be set in one command. Commas separate values. See table 2-4 for default horizontal tab values for portrait and landscape pages. L Line end. Where to place it At the [...]

  • Page 85

    XES COMMAND LANGUAGE MODE Figure 2-7. 1/60 inch units. E t 90,150,160,210,255,270,330,345,390,420 L Figure 2-8. 1/300 inch units. E t 450,750,800,1050,1275,1350,1650,1725,1950,2100 L Tabs Clear Horizontal Purpose Clears all horizontal tab settings in a job, including the default settings. S yntax E d d Instruction to clear all horizontal tab settin[...]

  • Page 86

    XES COMMAND LANGUAGE MODE Tabs Vertical Purpose Defines tabs down the page, measuring from the top edge of the page. Once vertical tabs are set, whenever you press the vertical tab key on the host computer, the printer skips from the current text position to the next vertical tab position. Syntax E v n1,n2,.....,n125 L v Instruction to set vertical[...]

  • Page 87

    XES COMMAND LANGUAGE MODE Table 2-5. Initial vertical tab positions and tab intervals Position U.S. portrait U.S. landscape International portrait International landscape 1st tab 1.1 inch 28 mm 330 dots 1.1 inch 28 mm 330 dots 1.0 inch 25.4 mm 300 dots 0.95 inches 23.1 mm 287 dots Intervals 1.0 inch 17.8 mm 210 dots 0.7 inches 17.8 mm 210 dots 1.0 [...]

  • Page 88

    XES COMMAND LANGUAGE MODE Figure 2-9. Vertical tabs in 1/60 inch units. E V 90,120,150,160,210,255,270,330,345,390,420,450 L 2-50 XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE[...]

  • Page 89

    XES COMMAND LANGUAGE MODE Figure 2-10. Vertical tabs in 1/300 inch units. E V 450, 600, 750, 800, 1050, 1275, 1350, 1650, 1725,1959, 2100, 2250 L XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE 2-51[...]

  • Page 90

    XES COMMAND LANGUAGE MODE Tabs Clear Vertical Purpose Clears all vertical tab settings in a job. Syntax E e e Instruction to clear all vertical tab settings. Where to place it Anywhere before the place in the job at which the current tab settings are to be cleared. More If vertical tabs are cleared and no new ones are set, the printer considers any[...]

  • Page 91

    XES COMMAND LANGUAGE MODE Justification Start/Stop Purpose Justifies text between right and left margins. Syntax E j j Instruction to start justification. Syntax E k k Instruction to stop justification. Where to place it Anywhere justification is desired, with the start command placed immediately before the first character in the line to be affecte[...]

  • Page 92

    XES COMMAND LANGUAGE MODE Centre Purpose Centres a line of text between the left and right margins. Syntax E q q Instruction to centre a line of text. Where to place it Anywhere within the line to be centred. Example To produce: To centre text between the left and right margins, use this command. Enter: E q To centre text L E q between the left and[...]

  • Page 93

    XES COMMAND LANGUAGE MODE About the page formatting features This section covers commands that enable you to: • Select line spacing other than regular, single line spacing with either the Line Spacing command (for spacing that is font based) or the Line Spacing Absolute command (for spacing set pixel by pixel) • Place text (or any digitised fon[...]

  • Page 94

    XES COMMAND LANGUAGE MODE Where to place it Immediately before the beginning of the line for which the new spacing is intended (preferably, at the end of the previous line). Example To produce: Text printed in this font with normal, single spacing looks like this. Entering a Line Spacing command with a parameter of 2 will cause text to double space[...]

  • Page 95

    XES COMMAND LANGUAGE MODE Where to place it Immediately before the beginning of the line for which the new spacing is intended (preferably, at the end of the previous line). Example Enter: These lines of text have normal, single line L spacing until you enter a Line Spacing Absolute L command with a parameter of 75. E ip75 L At this point,the basel[...]

  • Page 96

    XES COMMAND LANGUAGE MODE Syntax E a X , Y L a Instruction for absolute placement. X The distance in pixels from the origin of the page, along the x-axis, to the starting point of the text line. Y The distance in pixels from the origin of the page, along the y-axis, to the starting point of the text line. , A comma separates these variables. L Line[...]

  • Page 97

    XES COMMAND LANGUAGE MODE Figure 2-11. Absolute placement of a portrait font on a short edge feed portrait page. E a 1500 , 3000 L He who laughs He who laughs Origin X 1500 X 3000 XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE 2-59[...]

  • Page 98

    XES COMMAND LANGUAGE MODE Figure 2-12. Absolute placement of a landscape font on a short edge feed landscape page. E a 1800 , 600 L The game is not over until it’s over. The game is not over until it’s over. Origin Y 600 X1800 Text Placement Relative Purpose Places text in any specified location on the page, starting from the current text posit[...]

  • Page 99

    XES COMMAND LANGUAGE MODE Syntax E r Dnc r The instruction for relative placement D A character indicating the direction from the current text position in which the text is to be placed: u Up d Down l Left r Right n The distance in pixels (or 1/300th inch) from the current text position to the new text position. c Any non-numeric character can be u[...]

  • Page 100

    XES COMMAND LANGUAGE MODE Figure 2-13. Relative placement 1500 pixels down To produce: Enter: He who laughs E rd 1500 e last. Line Draw X Purpose Draws a line along the x-axis of the page. On short edge feed paper, this line runs horizontally across a portrait page, vertically down a landscape page Syntax E x X , Y , L , T , S L x The instruction f[...]

  • Page 101

    XES COMMAND LANGUAGE MODE Y The y-coordinate of the starting point of the line; the distance in pixels from the page origin, along the y-axis to the starting point. L The length of the line; the distance in pixels from the starting point to the end point. T The thickness of the line, in pixels. S The degree of ink shading on a scale of 0 to 15. If [...]

  • Page 102

    XES COMMAND LANGUAGE MODE Figure 2-14. Line Draw X command To produce: Enter: E x 1200 , 1800 , 600 , 80 L Line Draw Y Purpose Draws a line along the y-axis of the page. On short edge feed paper, this line runs vertically up a portrait page, horizontally across a landscape page.. Syntax E y X , Y , L , T , S L y The instruction for a line to be dra[...]

  • Page 103

    XES COMMAND LANGUAGE MODE Y The y-coordinate of the starting point of the line; the distance in pixels from the page origin, along the y-axis, to the starting point. L The length of the line; the distance in pixels from the starting point to the end point. T The thickness of the line, in pixels. S The degree of ink shading on a scale of 0 to 15. If[...]

  • Page 104

    XES COMMAND LANGUAGE MODE Figure 2-15. Line Draw Y command To produce: Enter: E y 900 , 1800 , 1200 , 20 L 2-66 XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE[...]

  • Page 105

    XES COMMAND LANGUAGE MODE Figure 2-16. Fifteen degrees of shading for the Line Draw commands XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE 2-67[...]

  • Page 106

    XES COMMAND LANGUAGE MODE About character formatting The character formatting commands provide some character control without a change of fonts. You can do the following: • Bold (although a bold font may be preferable) • Underline • Overstrike with any printable character • Create subscripts or superscripts. Note: These commands increase pa[...]

  • Page 107

    XES COMMAND LANGUAGE MODE Where to place it Anywhere bolding is desired, enter the Bold Start command immediately before the first character to be bolded and the Bold Stop command immediately after the last character to be bolded. Example To produce: It is possible to bold text without using a bold font; simply insert the appropriate commands. Ente[...]

  • Page 108

    XES COMMAND LANGUAGE MODE Overstrike Start/Overstrike Stop Purpose Overstrikes text with any selected printable character. Syntax E zo x Syntax E zp zo Instruction to start overstriking. x Whatever character you choose to act as the overstrike character. zp Instruction to stop overstriking. Where to place it Anywhere in the text where overstriking [...]

  • Page 109

    XES COMMAND LANGUAGE MODE Syntax E s l Instruction to start subscripting. s Instruction to stop subscripting. Where to place it Anywhere subscripting is desired, with the start command immediately before the first character to be subscripted, the stop command immediately after the last character to be subscripted. Example To produce: C 2 H 5 OH Ent[...]

  • Page 110

    XES COMMAND LANGUAGE MODE Superscript Start/Superscript Stop Purpose Superscripts characters. Syntax E h Syntax E s h Instruction to start superscripting. s Instruction to stop superscripting. Where to place it Anywhere superscripting is desired, with the Superscript Start command immediately before the first character to be affected, and the Stop [...]

  • Page 111

    XES COMMAND LANGUAGE MODE What is a constant page? A constant page is a document created especially for merging with other documents. A document to be merged with a constant page is referred to as a variable page (figure 2-17). You can only merge one constant page with a variable page. The constant page and variable page do not need to be of the sa[...]

  • Page 112

    XES COMMAND LANGUAGE MODE Creating constant pages Note that you start creating the document with Merge Page Load, not with Print Job, which is used to start most other documents. A constant page is ended with either: • a form feed (<FF>) • a Print Job command ( E + P) • a Print Job (Mixed Orientation) command ( E + Q), or • a Reset co[...]

  • Page 113

    XES COMMAND LANGUAGE MODE Where to place it At the beginning of the constant page data. Example E +M ,This begins a constant page L More End the constant page with a Reset command ( E +X ). Notes: Using Font Load or Font Add commands within the Merge Page Load command deletes the newly defined constant page. The Graphic Window Repeat command is not[...]

  • Page 114

    XES COMMAND LANGUAGE MODE For example, entering commands in the following order will cancel the request for three copies: E +P L (Print Job) E +C 3 L (Multiple Copies) E +V L (Merge Page Unload) (Printable contents of job) E +X L (Reset) To prevent this, switch the order of Merge Page Unload and Multiple Copies: E +P L E +V L E +C 3 L (Printable co[...]

  • Page 115

    XES COMMAND LANGUAGE MODE Syntax E ze ze Instruction for constant page merging. Where to place it Anywhere on the variable page after Print Job. More The printer continues merging the page with subsequent pages until it receives a Merge Stop or a Reset command. If no merge page is in memory when the command is received, the printer ignores the comm[...]

  • Page 116

    XES COMMAND LANGUAGE MODE These three types of graphics must be created within the boundaries of a graphic window . (Graphic images that have been digitised into font characters, such as logos or signatures, do not require a graphic window.) Note: There may be a minor difference in appearance of complex graphics on the 4045 laser printer and the 42[...]

  • Page 117

    XES COMMAND LANGUAGE MODE Complex raster graphic Setting the page buffer to “FULL” (full page imaging) in the XES emulation submenu means that the 4213’s memory dedicated to this imaging is no longer available for user downloaded fonts or graphics or any other temporary use. This means that a full page graphic that prints completely in “PAR[...]

  • Page 118

    XES COMMAND LANGUAGE MODE If a graphic window has been stored in the printer’s memory, it remains until you power off the printer, switch emulations, or perform a reset. Note: If the printer receives graphic data that is incomplete, e.g. the data has fewer bytes than the window size, the next Form Feed command may be ignored, causing unpredictabl[...]

  • Page 119

    XES COMMAND LANGUAGE MODE Other characteristics With the Graphic Window command, you determine: • Whether or not the window will be magnified to appear larger on the printed output than its actual size; and, if so, by how much. You can select magnification for a window when you want a graphic to cover a larger area on the page but do not want to [...]

  • Page 120

    XES COMMAND LANGUAGE MODE Syntax E gw M(or Mx/My) , I , R ; X , Y , Sx , Sy L gw The instruction for graphic window. Commas separate the variables. M or Mx/My The degree of magnification. M x represents magnification in the horizontal or x-direction; M y represents magnification in the vertical or y- direction. If only one value for M is entered, t[...]

  • Page 121

    XES COMMAND LANGUAGE MODE X , Y The origin of the graphic window. X is the distance along the page’s x-axis from the page’s origin to the graphic window’s origin. Y is the distance along the page’s y-axis from the page origin to the graphic window origin. Sx,Sy The size of the graphic window, in the horizontal and vertical directions, respe[...]

  • Page 122

    XES COMMAND LANGUAGE MODE Figure 2-20. A graphic window on a page Note: A 4046 laser printer requires an XGRAPH cartridge to match the rotated image on the 4213 laser printer. More about graphic windows Page capacity for graphic windows The size of a graphic window depends on the amount of memory installed in the printer. The largest graphic window[...]

  • Page 123

    XES COMMAND LANGUAGE MODE More about magnification Graphic images can be magnified in two ways: • Proportionally • Anamorphically. An image magnified proportionally looks the same as its original, except that it is larger and has lower resolution. The image has been magnified by the same amount in both the x- and y- directions. An image magnifi[...]

  • Page 124

    XES COMMAND LANGUAGE MODE Magnification and window placement When a graphic window is magnified, it is expanded downward and to the right from the graphic window origin. To keep the magnified window from expanding off the page, place the window origin so that it is near the upper left hand corner of the page. You can also determine placement of the[...]

  • Page 125

    XES COMMAND LANGUAGE MODE Reversing images Figure 2-23 illustrates how the printer reverses a graphic image when instructed within the Graphic Window command. Figure 2-23. Normal printing and reversed printing. Rotating images Figure 2-24 illustrates how the printer rotates a graphic window and its contents if so instructed within the Graphic Windo[...]

  • Page 126

    XES COMMAND LANGUAGE MODE Figure 2-24. Graphic window rotation Graphic commands and the current text position If you do not specify coordinates for a graphic window origin within the graphic window command, the printer will use the current text position , that is, wherever the next character of text would be, as a default point for the graphic wind[...]

  • Page 127

    XES COMMAND LANGUAGE MODE Figure 2-25. Current text position Text before graphic window. Text after. Note: You may want to use the Text Placement Absolute and Text Placement Relative commands (see “About page formatting features“) for placing text on a page with a large number of graphics. Graphic commands and the current graphic position The c[...]

  • Page 128

    XES COMMAND LANGUAGE MODE Note: On the 4213 laser printer, the number of copied windows is limited by memory unless you are operating in full bit map mode. Graphic Window Repeat Purpose Copies a graphic window and places it on the page. Syntax E gr M(or Mx/My),I ; X1,Y1,Xn,Yn L gr Instruction to copy a graphic window. M or Mx/My The degree of magni[...]

  • Page 129

    XES COMMAND LANGUAGE MODE Xn,Yn Origins of other duplicate windows if more than one is to be made on the page. X n is the distance along the x-axis of the page to the duplicate window origin. Y n is the distance along the y-axis of the page to the duplicate window origin. L Line end. Where to place it Wherever you want a duplicate of a window. Exam[...]

  • Page 130

    XES COMMAND LANGUAGE MODE Figure 2-26. A graphic window copied at another location on the page Creating graphic images The commands for creating graphic images are: • Graphic Line • Graphic Arc • Graphic Box • Graphic Fill • Graphic Pie Chart. All must be created within a graphic window, which means a Graphic Window command must precede t[...]

  • Page 131

    XES COMMAND LANGUAGE MODE For the X and Y variables in the commands, any number from minus 16,000 to 16,000 may be specified. Negative and positive numbers outside window boundaries are acceptable, but only the segment of the image within the window will print. When a number for X is missing in a command, the printer uses the x-coordinate from the [...]

  • Page 132

    XES COMMAND LANGUAGE MODE More You can have as many sets of coordinates for a line as desired. If the value for X 1 is omitted, the printer uses the x-coordinate from the current graphic position. If this line is the first graphic image drawn in the window, the x-coordinate of the window origin is substituted for the x-value. If the value for Y 1 i[...]

  • Page 133

    XES COMMAND LANGUAGE MODE Figure 2-27. A graphic line drawn inside a graphic window Graphic Arc Purpose Draws arcs and circles within the graphic window (figure 2-28). Syntax E ga T ; X,Y,r,S1,E1,Sn,En L ga The instruction for a graphic arc. T Line thickness of the figure. This number can not exceed one half the radius. ; The semicolon is required.[...]

  • Page 134

    XES COMMAND LANGUAGE MODE r The radius of the arc. S1 The starting point of the arc, expressed in degrees on a circle. The printer draws in a counterclockwise direction. E1 The ending point of the arc, expressed in degrees. Sn,En Additional pairs of starting and ending angle degrees, as many as desired. If either point is missing from the pair, the[...]

  • Page 135

    XES COMMAND LANGUAGE MODE Example To create the four arcs in figure 2-29 with the following specifications: • Drawn with a line 13 pixels thick • Having the same centre point, at coordinates 375, 375 in the graphic window • With a radius of 225 pixels • Drawn as follows: — Arc 1 from 45 degrees to 135 degrees — Arc 2 from 155 degrees to[...]

  • Page 136

    XES COMMAND LANGUAGE MODE Graphic Box Purpose Draws a rectangle by defining two sets of right angles. Two coordinates define the diagonal corners. The printer then fills in the vertical and horizontal lines for the top, bottom, and sides. Syntax E gb T ; X1,Y1,X2,Y2 L gb Instruction to create a graphic box. T Line thickness of the figure. The maxim[...]

  • Page 137

    XES COMMAND LANGUAGE MODE • The diagonal opposite coordinates set at 525,675 within the graphic window Enter: E gb 7 ; 75,225, 525,625 L Figure 2-30. A graphic box within a window Graphic Fill Purpose Fills a closed graphic figure with a pattern. The pattern can be one of the predefined patterns in figure 2-31, or can be created by the user. Synt[...]

  • Page 138

    XES COMMAND LANGUAGE MODE X,Y Indicates the starting point or seed point of the fill patterns. X is the horizontal distance in pixels from the window’s origin to the seed point. Y is the vertical distance in pixels from the window origin to the seed point. Xn,Yn Indicates the next seed point for this fill pattern. If you are using a predefined pa[...]

  • Page 139

    XES COMMAND LANGUAGE MODE • The last command, Graphic Fill, selects pattern 7 and defines one seed point in the closed figure made by the line and two sides of the rectangle. Shown in the figure is the seed point location, at coordinates 170,250. E gw 1,2 ; ,,300,300 L E gb 5 ; 3,3,297,297 L E gl; 3,3,100,250,150,200,200,200,250,150,297,297 L E g[...]

  • Page 140

    XES COMMAND LANGUAGE MODE Nongraphic line commands (Line Draw X and Line Draw Y) cannot contain fill patterns even when defined within the boundaries of a graphic window. Notice in figure 2-33 that the pattern is contained only at the boundaries of the closed graphic images. Example Figure 2-33 is created in the following manner: • A graphic wind[...]

  • Page 141

    XES COMMAND LANGUAGE MODE Figure 2-33. A fill pattern between the boundaries of two graphic images, a circle and a rectangle Graphic Pie Chart Purpose Creates a complete pie chart, including fill patterns. You can also offset single “slices“ from the rest of the pie chart. Syntax E gp T ; X,Y,r,%1/F1/O1,%n/Fn/On L gp The instruction for a pie c[...]

  • Page 142

    XES COMMAND LANGUAGE MODE %1 The percent of the pie to be taken up by the first pie slice. The total of all percentages must add up to 100. / A slash separates this percentage from the fill pattern number and offset value. Both the fill pattern and offset value are optional. F1 The number of the fill pattern selection (refer to Graphic Fill). O1 Th[...]

  • Page 143

    XES COMMAND LANGUAGE MODE — Slice 4 is 15 % and is filled with pattern 12; it is offset by 10 pixels. — Slice 5 is 25% and is filled with pattern 17; it is offset by 10 pixels. Enter: E gp 5 ; 450,450,285,20/10,30/13/10,10/2/50,15/12/ 10,25/17/10 L Figure 2-34. Creating a pie chart More about Graphic Pie Chart When creating a pie slice, the pri[...]

  • Page 144

    XES COMMAND LANGUAGE MODE The purpose of the data monitor The data monitor is a data analysing tool used by the system manager or Xerox representative. It prints the hexadecimal values of incoming character codes and is invoked either by the Data Monitor command or through the Diagnostics menu. The data monitor may be used to: • Check for correct[...]

  • Page 145

    XES COMMAND LANGUAGE MODE Figure 2-36. Close up of data monitor printout Note the following about the data monitor printout: • The characters printed on the right half of the printout are either ISO or EBCDIC characters. The data monitor always uses the translation table for EBCDIC data, regardless of the language selected. If ASCII encoding is s[...]

  • Page 146

    XES COMMAND LANGUAGE MODE This section discusses the data encoding systems, or coding schemes, supported on the 4213 printer, how to load a table of characters using the Character Reassignment command, and how to switch from one table to another using the Language command. The actual language code mappings are found in Appendix A. Other tables need[...]

  • Page 147

    XES COMMAND LANGUAGE MODE The Special Table The Special Table is a translation table that has been designed especially for users operating in an IBM 3274 coaxial connection environment. It can be selected using the Language command (selecting language G). Note : The Special Table does not recognise control codes (i.e., hexadecimal values less than [...]

  • Page 148

    XES COMMAND LANGUAGE MODE • The table load terminator, which is the X L part of the command. It signals to the printer that all data records have been sent. More about the table data record The data record tells the printer how a new table is to translate incoming data. The format of the table data is very specific and must be followed carefully.[...]

  • Page 149

    XES COMMAND LANGUAGE MODE 3. Byte count This is one half the number of bytes (characters) in the remainder of the record, including the load address and the two “F”s at the end. Each character in the record represents a four bit hexadecimal value and is always two bytes long. 4. Load address This is the first hex location to be altered, multipl[...]

  • Page 150

    XES COMMAND LANGUAGE MODE • The second two characters of each entry are the hex location of a floating accent character to be printed along with the character specified by the first two bytes. Only the value from column C should be included. The printer automatically selects an accent from column 8 or C, depending on the height of the character w[...]

  • Page 151

    XES COMMAND LANGUAGE MODE Where to place it At the start of the job. Example To move the % symbol from its current hex location of 25H to a new location at 7EH, enter: E +T, L E S40500FC2500FFX L The data record in this example is summarised below. S A data record always begins with the letter “S”. 4 4 is used here. The use of other numbers exc[...]

  • Page 152

    XES COMMAND LANGUAGE MODE Language Purpose Switches the printer from the current character table to another character table. Syntax E zl c zl Instruction to change character table. c The table selected: 0 U.S. English 1 U.K. English 2 French 3 Dutch 4 Spanish 5 Italian 6 Danish 7 Norwegian 8 Finnish 9 German A Swedish B Belgian C French Canadian D [...]

  • Page 153

    XES COMMAND LANGUAGE MODE Sample job Suppose that a site does most of its business with firms in the United States, so that the U.S. English code mapping, illustrated in table 2-7, is suitable for most applications, but that it is also necessary to print the following: Pound sterling Yen sign International currency symbol Suppose also that the prin[...]

  • Page 154

    XES COMMAND LANGUAGE MODE A custom translation table might be built as follows. Table 2-7. U.S. English code mapping 2-116 XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE[...]

  • Page 155

    XES COMMAND LANGUAGE MODE Building the file First determine the load address of the entry to be included in the table. The lowest value to be changed is 5CH. Therefore, as shown in the double hex values listed in table D-8, the load address for this table is B8. Since the load address must always be four characters in length, the value to be includ[...]

  • Page 156

    XES COMMAND LANGUAGE MODE The last determination to be made is the record type. Since ISO characters are to be used in this table, either “3” or “4” is appropriate. The entire file then becomes: E +T L S40D00B8A3005D00A5005F00A800FF L The components of this table record are shown in figure 2-37. Figure 2-37. Completed table download record [...]

  • Page 157

    XES COMMAND LANGUAGE MODE Figure 2-38. New character assignments over original table XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE 2-119[...]

  • Page 158

    XES COMMAND LANGUAGE MODE Table 2-8. Customised mapping table (U.S. English code) 2-120 XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE[...]

  • Page 159

    XES COMMAND LANGUAGE MODE More about creating tables The following are important points to remember about creating tables: • New tables are created by overlaying other tables; always invoke the base table before transmitting new table data to the printer. • The table data may consist of one or more records. • The record-type indicator must be[...]

  • Page 160

    XES COMMAND LANGUAGE MODE 2-122 XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE[...]

  • Page 161

    3. LJ series 2D emulation The LJ2D emulation can accept fonts from a variety of sources. Some fonts are built into the 4213 printer. Others may be accessed from a cartridge or downloaded from a file. This chapter describes fonts and the font handling capabilities of the LJ2D emulation and covers the following topics: • Font compatibility • Prim[...]

  • Page 162

    LJ SERIES 2D EMULATION Most font commands have two versions, one for the primary font and another for the secondary font. Once selected, it is possible to switch between them using the single-byte control codes Shift In (SI) (hexadecimal 0F, decimal 15) and Shift Out (SO) (hexadecimal 0E, decimal 14). The primary font is the default font. Font char[...]

  • Page 163

    LJ SERIES 2D EMULATION Figure 3-1. Portrait orientation page layout (y,x) Figure 3-2. Landscape orientation page layout (x,y) XEROX 4213 LASER PRINTER PROGRAMMER REFERENCEE 3-3[...]

  • Page 164

    LJ SERIES 2D EMULATION Symbol set The symbol set defines the characters available in a font and the numeric values with which they are associated. Symbol sets are designed for different languages and applications where special characters are required. Each font matches a specific symbol set. Therefore, for a font to be available in more than one sy[...]

  • Page 165

    LJ SERIES 2D EMULATION Stroke weight The stroke weight determines the degree of darkness of the font. This can vary from ultra thin to ultra black, with seven grades of shading, medium being the normal stroke weight. Most applications use two stroke weights: medium and bold. Typeface A typeface can be defined as the specific design of a set of font[...]

  • Page 166

    LJ SERIES 2D EMULATION If more than one font matches the request after the printer compares all characteristics, it chooses the font based on its source: Downloaded fonts are chosen first, with lower font ID numbers superseding the higher ones. If no downloaded font matches, the printer examines the cartridge fonts and, finally, the internal fonts.[...]

  • Page 167

    LJ SERIES 2D EMULATION Table 3-1. Resident LJII fonts Typeface Weight Style Point Pitch Symbols Courier Medium (0) Upright 10 12 Roman 8 Courier Medium (0) Upright 10 12 ECMA-94 Courier Medium (0) Upright 10 12 PC-8 Courier Medium (0) Upright 10 12 PC-8 (D/N) Courier Medium (0) Upright 10 12 PC-850 Courier Medium (0) Upright 10 12 Legal Courier Med[...]

  • Page 168

    LJ SERIES 2D EMULATION Table 3-1. Resident LJII fonts (continued) Typeface Weight Style Point Pitch Symbols Courier Medium (0) Italic 12 10 PC-850 Courier Medium (0) Italic 12 10 Legal Courier Bold (3) Upright 10 12 Roman 8 Courier Bold (3) Upright 10 12 ECMA-9 Courier Bold (3) Upright 10 12 PC-8 Courier Bold (3) Upright 10 12 PC-8 (D/N) Courier Bo[...]

  • Page 169

    LJ SERIES 2D EMULATION Cartridge fonts Please refer to the Xerox 4213 Laser Printer User Guide for the cartridges that can be used by the LJ 2D emulation. Cartridges are listed by part number. Font cartridges must be installed while the 4213 is powered off. Font cartridges installed while the printer is on are not recognised, and may lock up the pr[...]

  • Page 170

    LJ SERIES 2D EMULATION Escape sequences Escape sequences are multi-character commands preceded by the escape character. Escape sequences may or may not have parameters. Escape sequences with parameters Escape sequences with parameters either access a specific feature of the printer, such as a font, or transmit variable data such as margin settings.[...]

  • Page 171

    LJ SERIES 2D EMULATION Numeric variable The numeric variable is a decimal number represented as an ASCII string. Some commands allow the string to be preceded by a plus (+) or minus (-) sign, and others allow the number to include a fractional part after a decimal point represented by the full stop (.) character. If the numeric variable is not prov[...]

  • Page 172

    LJ SERIES 2D EMULATION Table 3-2. Using parameter and final parameter characters Upper case Lower case Sequence XA final parameter in a combination of escape sequences. XA single escape sequence. xA non-final parameter linking a series of escape sequences. Binary data The binary data is optional eight-bit data which is downloaded immediately after [...]

  • Page 173

    LJ SERIES 2D EMULATION • All alphabetic characters in the combined sequence must be lowercase except for the last final parameter character which is uppercase. The characters which would be final parameter characters in uncombined escape characters are converted to lowercase and referred to as parameter characters. • The commands are interprete[...]

  • Page 174

    LJ SERIES 2D EMULATION Job control commands The job control commands affect an entire print job. Printer Reset Purpose The Printer Reset command restores the printer to its default settings. This command deletes any temporary fonts and macros from memory and prints any data remaining in the printer buffer. It is recommended to use the Printer Reset[...]

  • Page 175

    LJ SERIES 2D EMULATION 1-sided/2-sided Purpose The 4213 can print on one side (1-sided) or both sides (2-sided) of a page. Syntax E &l#S Hex 1B 26 6C # 53 Dec 27 38 108 # 83 where # = 0 is 1-sided # = 1 is 2-sided, long-edge binding # = 2 is 2-sided, short-edge binding. 2-sided printing is not supported in the LJ Series 2D emulation when the ma[...]

  • Page 176

    LJ SERIES 2D EMULATION Top Offset Registration Purpose This command designates the position of the logical page across the length (long side) of the physical page. Syntax E &l#Z Hex 1B 26 6C # 5A Dec 27 38 108 # 90 where # is a positive or negative number expressed in decipoints (1/720th inch) and valid up to four decimal places. A positive val[...]

  • Page 177

    LJ SERIES 2D EMULATION Example To start printing the first chapter of a document on the front side of a page, enter the following command: E &a1G Hex 1B 26 61 31 47 Dec 27 38 97 49 71 Page control commands The page control commands define the shape and size of the page. Paper Source Purpose The Paper Source command specifies one of four locatio[...]

  • Page 178

    LJ SERIES 2D EMULATION Example To feed from the lower tray (2) enter: E &l4H Hex 1B 26 6C 34 48 Dec 27 38 108 52 72 Page Size Purpose The Page Size command determines the physical size of paper, which sets the limits of the logical page. The top, left, and right margins are set to the defaults for the size of paper chosen, as is the text length[...]

  • Page 179

    LJ SERIES 2D EMULATION Table 3-4. Paper size values # Paper Size 1 Executive (184 x 267mm) (7.25 x 10.5 inches) 2 Letter (216 x 279 mm) (8.5 x 11 inches) 3 Legal (216 x 356 mm) (8.5 x 14 inches) 26 A4 (210 mm x 297 mm) 80 Monarch 7 (98 x 191 mm) (3 7/8 x 7 1/2 inches) 81 Commercial 10 - Business (105 x 241 mm) (4 1/8 x 9 1/2 inches) 90 Internationa[...]

  • Page 180

    LJ SERIES 2D EMULATION Note: The physical size of paper required to accommodate a given number of lines on a page will vary depending on the line spacing. Table 3-5. Portrait paper length values Page size At 6 lines per inch At 8 lines per inch Letter 66 88 Legal 84 112 A4 70 90 Executive 63 84 Table 3-6. Landscape paper length values Page size At [...]

  • Page 181

    LJ SERIES 2D EMULATION Orientation Purpose The Orientation command defines the position of the logical page and the direction in which the 4213 will print in relation to the physical page. Syntax E &l#O Hex 1B 26 6C # Dec 27 38 108 # where # = 0 is portrait # = 1 is landscape. The default orientation is portrait (0). Left Margin Purpose The Lef[...]

  • Page 182

    LJ SERIES 2D EMULATION Example To set the left margin at column 8, enter: E & a8L Hex 1B 26 61 38 4C Dec 27 38 97 56 76 Right Margin Purpose The Right Margin command sets the distance between the right edge of the text and the left edge of the printable area regardless of paper orientation. The printable area begins 50 pixels (1/6th inch) from [...]

  • Page 183

    LJ SERIES 2D EMULATION Clear Horizontal Margins Purpose The Clear Horizontal Margins command causes the left and right margins to be reset to their default values at the left and right edges of the printable area. Syntax E 9 Hex 1B 67 39 Dec 27 103 57 Top Margin Purpose The Top Margin command sets the distance between the top of the printable area [...]

  • Page 184

    LJ SERIES 2D EMULATION The text length is set to the user default whenever the page orientation, length, size, or top margin is changed. The user default is calculated as the quotient (integer) of the following equation: (Printable Area Length-TopMargin- )48 ÷ VMI where Printable Area Length and Top Margin are measured in inches. Syntax E &l#F[...]

  • Page 185

    LJ SERIES 2D EMULATION Example To enable Perforation Region, enter: E &l1L Hex 1B 26 6C 31 4C Dec 27 38 108 49 76 Horizontal Motion Index Purpose The Horizontal Motion Index (HMI) command determines the distance between columns. When proportional spaced fonts are selected, the HMI command affects only the space character. When fixed-space fonts[...]

  • Page 186

    LJ SERIES 2D EMULATION Syntax E &l#C where # is the distance between rows in 48ths of an inch. # must be between 0 and 336. The # is valid to four places to the right of the decimal point. Use the following formula to calculate the VMI: VMI = 48 ÷ lines per inch Example To print four lines per inch, set the VMI to 12: E &l12C Hex 1B 26 6C [...]

  • Page 187

    LJ SERIES 2D EMULATION Horizontal Cursor Position (Columns) Purpose The Horizontal Cursor Position (Columns) defines the absolute or relative position of the horizontal cursor in units of columns on the current line. The width of a column is defined by the current Horizontal Motion Index (HMI) setting. Syntax E &a#C where # is the number of col[...]

  • Page 188

    LJ SERIES 2D EMULATION Syntax E &a#H where # is the number of decipoints to move or the absolute position to move to. The # is valid to two decimal places to the right of the decimal point. Absolute move: If the # value has no sign, the cursor is moved # decipoints to the right of the left edge of the printable area. Relative move, positive: If[...]

  • Page 189

    LJ SERIES 2D EMULATION Syntax E *p#X where # is an integer representing the number of spots to move or the absolute position to move to. Absolute move: If the # value has no sign, the cursor is moved # spots to the right of the left edge of the printable area. Relative move, positive: If the # value is preceded by a plus (+) sign, the cursor is mov[...]

  • Page 190

    LJ SERIES 2D EMULATION Absolute move: If the # value has no sign, the cursor is moved down # rows from the top margin. Relative move, positive: If the # value is preceded by a plus (+) sign, the cursor is moved # rows down from the current cursor position. Relative move, negative: If the # value is preceded by a minus (-) sign, the cursor is moved [...]

  • Page 191

    LJ SERIES 2D EMULATION Absolute move: If the # value has no sign, the cursor is moved # decipoints down from the top margin. Relative move, positive: If the # value is preceded by a plus (+) sign, the cursor is moved # decipoints down from the current cursor position. Relative move, negative: If the # value is preceded by a minus (-) sign, the curs[...]

  • Page 192

    LJ SERIES 2D EMULATION Half-line Feed Purpose The Half-line Feed command moves the cursor half a row down the page without changing columns. The distance moved is half the current Vertical Motion Index (VMI) setting, which may have been defined by a VMI or Line Spacing command. Syntax E = Hex 1B 3D Dec 27 61 Line Termination Purpose The Line Termin[...]

  • Page 193

    LJ SERIES 2D EMULATION Table 3-7. Line ending options # Line endings Host Printer 0C R LF FF CR LF FF 1C R LF FF CR+LF LF FF 2C R LF FF CR CR+LF CR+FF 3C R LF FF CR+LF CR+LF CR+FF The default setting is zero (no translation). End-of-Line Wrap Purpose The End-of-Line Wrap command causes the printer to generate a carriage return and line feed, when t[...]

  • Page 194

    LJ SERIES 2D EMULATION Syntax E &s#C Hex 1B 26 73 # 43 Dec 27 38 115 # 67 where # = 0 enables End-of-Line Wrap # = 1 disables End-of-Line Wrap. Push/Pop Cursor Position Purpose The Push/Pop Cursor Position command enables the current cursor position to be stored and recalled at a later time. Up to twenty cursor positions may be stored in a last[...]

  • Page 195

    LJ SERIES 2D EMULATION Backspace (BS) BS (hexadecimal 08, decimal 8) moves the cursor left by the width of the last printed character or space. With fixed-pitch fonts, the backspace distance is the current Horizontal Motion Index (HMI). With proportionally-spaced fonts, a single backspace centres the new character over the character to the left. Wh[...]

  • Page 196

    LJ SERIES 2D EMULATION • Stroke weight • Typeface • Soft font with the lowest ID number • Left cartridge • Right cartridge • Internal font orientation. Font selection can only be guaranteed if the total set of font commands shown on the following pages is used. Failure to specify any of the font characteristics may result in selection o[...]

  • Page 197

    LJ SERIES 2D EMULATION Table 3-8. LJ2D symbol sets with ID numbers ID Symbol Set ID Symbol Set 0A Math-7 3Q OCR-B Extended 0B Tax Linedraw 11Q ECMA-94 0D ISO 60: Norwegian version 1* 0S ISO 11: Swedish: Names 1D ISO 61: Norwegian version 2* 1S HP Spanish 0E Roman Extension 2S ISO 17: Spanish 1E ISO 4: United Kingdom 3S ISO 10: Swedish/Finnish 0F IS[...]

  • Page 198

    LJ SERIES 2D EMULATION Spacing Purpose The Spacing command instructs the printer to accept proportionally-spaced or fixed-pitch fonts. If proportional spacing is selected but no proportionally-spaced font is available, the printer will designate a fixed-pitch font instead. Separate commands exist for selecting the spacing mode of the primary and se[...]

  • Page 199

    LJ SERIES 2D EMULATION Syntax E (s#H where # is a real number valid up to two decimal places. The Pitch command for the secondary font is: E )s#H Example To set the primary font as 12-pitch and the secondary font as 10- pitch, enter: E (s12H Hex 1B 28 73 31 32 48 Dec 27 40 115 49 50 72 The Pitch command for the secondary font is as follows: Syntax [...]

  • Page 200

    LJ SERIES 2D EMULATION Example To select a primary font of 8 points and a secondary font of 14.6 points, enter: and E )s8V Hex 1B 29 73 38 56 Dec 27 41 115 56 86 E (s14.6V Hex 1B 28 73 31 34 2E 36 56 Dec 27 40 115 49 52 46 54 86 Style Purpose The Style command selects upright or italic characters. Two Style commands exist for the primary and second[...]

  • Page 201

    LJ SERIES 2D EMULATION Stroke Weight Purpose The Stroke Weight command selects the degree of bolding. There is a separate command for the primary and secondary fonts. Medium weight fonts have a stroke weight of zero, light weight fonts have a negative stroke weight, and heavy weight fonts have a positive stroke weight. If the requested stroke weigh[...]

  • Page 202

    LJ SERIES 2D EMULATION Table 3-9. Gradations of Stroke weight # Stroke Weight -7 Ultra Thin -5 Thin -3 Light 0 Medium +3 Bold +5 Black +7 Ultra Black Typeface Purpose The Typeface command selects the typeface used by the primary and secondary fonts. Syntax E (s#T The Typeface command for the secondary font is: E )s#T where # is a code number from t[...]

  • Page 203

    LJ SERIES 2D EMULATION Table 3-10. Typefaces and code numbers # Typeface 0 LinePr 3 Courier 4 Swiss721 5 Dutch801 (Times Roman) 6 LetterGothic 8 PElite 11 Presentations 17 Optima 18 Garamond 19 Cooper Black 20 Coronet Bold 21 Broadway 22 Bauer Bodoni Black Condensed 23 Century Schoolbook 24 University Roman 100 Times New Roman 101 Garamond 102 Bodi[...]

  • Page 204

    LJ SERIES 2D EMULATION Table 3-10. Typefaces and code numbers (continued) # Typeface 111 Century School Book 113 Gillsans 200 Signatures 201 Logos 202 Forms 203 Macros Note: Names of typefaces are registered trademarks. Use of typefaces may be subject to licensing agreements. Default Font Purpose The Default Font command restores all font character[...]

  • Page 205

    LJ SERIES 2D EMULATION Transparent Data Purpose The Transparent Data command allows the 4213 printer to literally print any data sent, including unprintable control codes (e.g., escape or form feed). This is particularly useful when accessing graphic characters in the IBM PC symbol set which fall in the lower ASCII range. Syntax E &p#X[transpar[...]

  • Page 206

    LJ SERIES 2D EMULATION Syntax E &d#D Hex 1B 26 64 # 44 Dec 27 38 100 # 68 where # = 0 is fixed underline # = 3 is floating underline. Disable Underline Purpose Disable Underline cancels the Underline command. Syntax E &d@ Hex 1B 26 64 40 Dec 27 38 100 64 Primary and secondary fonts The control codes Shift In (SI) with the hexadecimal value [...]

  • Page 207

    LJ SERIES 2D EMULATION Example To specify a font ID number of 2 enter: E *c2D Hex 1B 2A 63 32 44 Dec 27 42 99 50 68 Font Control Purpose The Font Control is the main command for managing downloaded fonts. It deletes downloaded fonts and determines whether a Soft Font is automatically removed at a printer reset. Syntax E *c#F where # is one of the v[...]

  • Page 208

    LJ SERIES 2D EMULATION Notes • Temporary downloaded fonts are removed each time the printer is reset. Permanent downloaded fonts are retained through resets but are lost when the printer is turned off. • If the primary or secondary font is deleted, the font most closely resembling the deleted font is chosen from the remaining fonts to be the ne[...]

  • Page 209

    LJ SERIES 2D EMULATION Syntax E )s#W[font descriptor + data] Hex 1B 29 73 # 57 Dec 27 41 115 # 87 where # is the number of bytes in the font descriptor that follows. (The brackets are not to be entered.) The font descriptor is normally 64 bytes long. The font descriptor contains values for the following font characteristics: • font type • basel[...]

  • Page 210

    LJ SERIES 2D EMULATION Example To specify a character code for the letter “J,” enter: E *c74E Hex 1B 2A 63 4A 45 Dec 27 42 99 74 69 Character Descriptor and Data Purpose The Character Descriptor and Data command is used for downloading a character to the printer. The downloaded character has the ASCII character code previously assigned through [...]

  • Page 211

    LJ SERIES 2D EMULATION Graphics commands Graphics commands are used to download raster data to form bit map images. Expressed in dots corresponding to bits, images can be created in rectangular shapes with a variety of fill and shading patterns. When the printer receives graphic data that is incomplete, e.g. the data has fewer bytes than the window[...]

  • Page 212

    LJ SERIES 2D EMULATION Table 3-12. Values for graphics resolution # Graphics Resolution 75 75 spots per inch 100 100 spots per inch 150 150 spots per inch 300 300 spots per inch Raster Graphics Presentation Mode Purpose This command designates how the raster image will appear on the logical page. Syntax E *r#F where # = 0 - Raster graphics are prin[...]

  • Page 213

    LJ SERIES 2D EMULATION Syntax E *r#A H ex 1B 2A 72 # 41 Dec 27 42 114 # 65 where # one of the two values in table 3-13. Table 3-13. Graphics margin settings # Left graphics margin 0 Left edge of printable area 1 Current cursor position Transfer Raster Data Purpose The Transfer Raster Data command precedes a single row of raster graphics data. The r[...]

  • Page 214

    LJ SERIES 2D EMULATION Hex 1B 2A 62 # 57 Dec 27 42 98 # 87 where # is the number of bytes in this row. (The brackets are not to be entered.) End Graphics Purpose The End Graphics command tells the printer that the transfer of raster graphics is complete. Syntax E *rB Hex 1B 2A 72 42 Dec 27 42 114 66 Horizontal Rectangle Size (Decipoints) Purpose Th[...]

  • Page 215

    LJ SERIES 2D EMULATION Vertical Rectangle Size (Decipoints) Purpose The Vertical Rectangle Size (Decipoints) command defines in decipoints (720ths of an inch) the height of the next rectangle to be drawn Syntax E *c#V Hex 1B 2A 63 # 56 Dec 27 42 99 # 86 where # is a number up to four decimal places representing the height of the rectangle in decipo[...]

  • Page 216

    LJ SERIES 2D EMULATION Figure 3-5. Area Fill patterns 1-6 3-56 XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE[...]

  • Page 217

    LJ SERIES 2D EMULATION Figure 3-6. Area Fill shading density Note : A Fill Rectangular Area command must follow an Area Fill ID command. The Fill Rectangular Area command specifies whether the rectangle is to be filled with shading or one of the fill patterns. XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE 3-57[...]

  • Page 218

    LJ SERIES 2D EMULATION Fill Rectangular Area Purpose The Fill Rectangular Area command prints the rectangle defined by the Vertical and Horizontal Rectangle Size commands and specifies whether it is to be filled with shading, one of the fill patterns, or solid black. For solid black fill, the Area Fill ID command is not required. For shading or a f[...]

  • Page 219

    LJ SERIES 2D EMULATION 2. E *c600A (Sets rectangle width at 2 inches.) 3. E *c900B (Sets rectangle height at 3 inches.) 4. E *c0P (Prints the rectangle as a black area.) Example 2 To print a 2- by 3- inch rectangle with 50% shading, enter the following commands: 1. E *p300x300Y (Moves cursor one inch down and one inch across) 2. E *c600A (Sets rect[...]

  • Page 220

    LJ SERIES 2D EMULATION Macro commands Macros are single commands that execute a series of commands in sequence. The two Macro commands are: • Macro ID • Macro Control. Macro ID Purpose The Macro ID command provides an ID number for the following macro commands. The ID number may be in the range 0 through 32767. Syntax E &f#Y Hex 1B 26 66 # [...]

  • Page 221

    LJ SERIES 2D EMULATION • An automatic-overlay macro is the final operation in printing a page. Before the macro is executed, an overlay print environment replaces the current modified print environment. After execution of the macro, the former print environment is restored. • Macros can be nested only two levels deep. • The only control opera[...]

  • Page 222

    LJ SERIES 2D EMULATION 1. E &f1Y (Assign 1 to Macro ID.) 2. E &f0X (Start macro definition of ID 1.) 3. E &a10c4R (Sets starting column for X and row for Y position.) 4. E &lO E 8U E (s1p10h14v0s+7b23T (Selects a primary font with the following characteristics: • Portrait orientation • HP Roman-8 symbol set • Proportional spac[...]

  • Page 223

    4. PostScript emulation This chapter highlights certain programming features specific to the 4213’s emulation of the Postscript Page Description Language (PDL) and describes how this PDL differs from other implementations of the PostScript language. Because this chapter serves as a supplement, we have omitted the standard information already desc[...]

  • Page 224

    POSTSCRIPT EMULATION Table 4-1. Paper and envelope sizes Paper/envelope name Paper/envelope size Imageable area LETTER 216 x 279 mm (8.5" x 11") 206 x 273 mm (8.1" x 10.75") A4 210 x 297 mm (8.27" x 11.69") 199 x 290.5 mm EXECUTIVE 184 x 267 mm (7.25" x 10.5") 176 x 260 mm (6.93" x 10.25") B5 182 x [...]

  • Page 225

    POSTSCRIPT EMULATION System parameters The PDL in the 4213 uses a variety of programming parameters which fall into two categories: • Non-volatile, or persistent, parameters stored in Non-Volatile memory (NVRAM). • Volatile parameters which remain in memory only until the end of the current job or the printer is powered off. These parameters ar[...]

  • Page 226

    POSTSCRIPT EMULATION After the server has acknowledged the exit request, you are permitted to run a programme using statusdict operators that change persistent parameters. Operators that set persistent parameters are marked with an asterisk. To change these parameters, you must first exit the normal server mode. You can inquire about the current st[...]

  • Page 227

    POSTSCRIPT EMULATION setdojamrecovery — boolean setdojamrecovery Sets the state of jam recovery on ( true ) or off ( false ). dojamrecovery — dojamrecovery boolean Tells if jam recovery is on ( true ) or off ( false ). product —product string This operator returns the string Xerox 4213. revision —revision intege r Returns the revision numbe[...]

  • Page 228

    POSTSCRIPT EMULATION waittimeout — waittimeout integer Indicates how many seconds the printer will wait to receive more characters before it cancels the job. Output positioning operators maxoutputposition — maxoutputposition integer This operator returns the value 1. outputposition — outputposition integer This operator returns the value 0 or[...]

  • Page 229

    POSTSCRIPT EMULATION 2-sided operators setdefault2-sidedmode* — boolean setdefault2-sidedmode Sets the value of default2-sidedmode . When true , the default printing mode is 2-sided. When false , it is 1-sided. default2-sidedmode — default2-sidedmode boolean This operator returns a boolean indicating the current default mode. True indicates 2-s[...]

  • Page 230

    POSTSCRIPT EMULATION firstside — firstside boolean Returns a boolean indicating whether the image being created will be printed on the first side of a logical page. For the first page of a job, this value is always true . Tray selection operators setdefaultpapertray* — intege r setdefaultpapertray Four selections are available with the multiple[...]

  • Page 231

    POSTSCRIPT EMULATION setdefaulttrayswitch* — boolean setdefaulttrayswitch Sets automatic tray switching on or off. If this feature is turned on, and the specified trays runs out of paper, the printer will search other trays for the same size paper and continue printing. If no paper of the same size is found, then the User Interface indicates out [...]

  • Page 232

    POSTSCRIPT EMULATION legaltray — legaltray This causes the 4213 to look for a tray with legal size paper. If such a tray is found, the page type is set to legal and papertray is set to that tray. If a tray with legal size paper is not found, a rangecheck error occurs and the page type and papertray values are not changed. executivetray — execut[...]

  • Page 233

    POSTSCRIPT EMULATION dlenvelopetray — dlenvelopetray This causes the 4213 to look for an envelope tray. If such a tray is found, and dl was selected from the User Interface, the page type is set to dlenvelope and papertray is set to that tray. If a proper tray is not found, a rangecheck error occurs and page type and papertray values are not chan[...]

  • Page 234

    POSTSCRIPT EMULATION Table 4-2. Letter paper throughput (images/minute) Memory in MB Jam recovery on Simplex Duplex Jam recovery off Simplex Duplex 4.5 13.0 4.1 13.0 9.4 6.5 13.0 7.4 13.0 10.9 8.5 13.0 10.4 13.0 10.9 10.5 13.0 10.4 13.0 10.9 Table 4-3. Legal paper throughput (images/minute) Memory in MB Jam recovery on Simplex Duplex Jam recovery o[...]

  • Page 235

    POSTSCRIPT EMULATION Table 4-5. VM and font cache allocation Memory in MB VM (Bytes) Font cache (Bytes) 4.5 530K 260K 6.5 530K 700K 8.5 640K 700K 10.5 1000K 1000K XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE 4-13[...]

  • Page 236

    POSTSCRIPT EMULATION 4-14 XEROX 4213 LASER PRINTER PROGRAMMER REFERENCE[...]

  • Page 237

    Index 1 1-sided/2-sided, 3-15 2 2-sided (book), 2-25 Inverted (pad), 2-26 operators, 4-7 to 4-8 Page Side Selection, 3-16 Stop, 2-17 Side Select, 2-27 to 2-28 2-sided/1-sided, 3-15 3270 3270 EBCDIC code mappings Belgium, A-10 Danish/Norwegian, A-18 Dutch, A-15 Finnish/Swedish, A-19 French, A-14 French Canadian, A-11 German, A-20 Italian, A-17 Spani[...]

  • Page 238

    INDEX f=FIGURE; t=TABLE C cable length, 1-1 t centreing, 2-52 character formatting, 2-68 commands ignored by the 4213, XES, E-1 t macro, 3-60 to 3-62 to avoid on the 4213, XES, E-2 t Canadian EME regulations, iii cancelling User-Defined Key, 2-7 Cannon connector, 1-13 capacity for graphic windows, 2-84 Carriage Return (CR), 3-34, D-1 cartridge font[...]

  • Page 239

    f=FIGURE; t=TABLE INDEX coordinates, 2-10 copying graphic windows, 2-89 to 2-90 creating constant pages, 2-74 graphic images, 2-92 pie chart, 2-105 f tables, 2-121 current requirements, 1-7 t, 1-11 t text position, 2-88 to 2-89 cursor positioning commands, 3-26 to 3-35 customised mapping table (U.S. English code), 2-116 t Cycle forms, E-1 t D Danis[...]

  • Page 240

    INDEX f=FIGURE; t=TABLE Font Add, 2-33 font and page orientation, 2-9 assignment numbers, 3-6 cache allocation, 4-13 t cartridges, 3-9 character as a digitised bitmap, 2-29 f characteristics, 3-1 to 3-5 commands, 3-35 to 3-50 compatibility, 3-1 orientation, 2-9 selection by characteristics, 3-5 to 3-6 by ID, 3-6, 3-48 source, 3-4 storage, 2-30 symb[...]

  • Page 241

    f=FIGURE; t=TABLE INDEX Hewlett Packard LJ2D commands (continued) Half-line Feed, 3-32 Height, 3-39 Horizontal Cursor Position (Columns), 3-27 Horizontal Cursor Position (Decipoints), 3-27 to 3-28 Horizontal Cursor Position (Spots), 3-28 to 3-29 Horizontal Motion Index, 3-25 Horizontal Rectangle Size (Decipoints), 3-54 Horizontal Rectangle Size (Sp[...]

  • Page 242

    INDEX f=FIGURE; t=TABLE L landscape font on short edge feed landscape page, absolute placement, 2-60 f default format parameters, F-1 t orientation page layout, 3-3 f paper length values, 3-20 t Language, 2-114 language G, special table code mappings, A-21 t Left Margin, 3-21 Left Offset Registration, 3-15 legal paper throughput, 4-12 t letter pape[...]

  • Page 243

    f=FIGURE; t=TABLE INDEX Orientation command, 3-21 origin and page orientation, 2-80 output positioning, 4-6 Output Tray, E-1 t Overstrike Start/Overstrike Stop, 2-70 P packing, run-length, C-9 to C-11 page capacity, 2-12 control commands, 3-17 to 3-26 definition, 2-9 to 2-10 formatting features, 2-55 to 2-56 graphic windows, 2-81 to 2-84 orientatio[...]

  • Page 244

    INDEX f=FIGURE; t=TABLE S safety approval, iv to v operational, iv precautions, iii radio frequency energy, iii to iv sample programme in C for sixel encoding, C-4 to C-7 in BASIC for run-length packing, C-9 to C-11 sample translation table job, 2-115 to 2-120 scan direction for raster graphics, 2-81 to 2-84 schemes, supported coding 7-bit, 2-108 s[...]

  • Page 245

    f=FIGURE; t=TABLE INDEX T table data record, 2-210 to 2-212 table of contents, vii to xviii Table, Special Translation, 2-109 tab position and intervals, 2-47, F-1 to F-4 tabs, 2-44 to 2-52 Tabs Clear Horizontal, 2-47 Tabs Clear Vertical, 2-48 to 2-49 Tabs Horizontal, 2-45 to 2-47, F-1 t to F-4 t Tabs Horizontal “B”, E-1 t Tabs Vertical, 2-48 t[...]

  • Page 246

    INDEX f=FIGURE; t=TABLE X XES commands Bold Start/Bold Stop, 2-68 to 2-69 Bypass Slot Paper Size, 2-22 to 2-24 Centre, 2-54 Comment, 2-28 to 2-29 Data Monitor, 2-106 to 2-107 2-sided (book), 2-25 2-sided Inverted (pad), 2-26 2-sided Side Select, 2-27 to 2-28 2-sided Stop, 2-27 Font Add, 2-33 Font Delete, 2-33 to 2-34 Font ID Assignment, 2-35 to 2-3[...]