SATO D512 PCL manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of SATO D512 PCL, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of SATO D512 PCL one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of SATO D512 PCL. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of SATO D512 PCL should contain:
- informations concerning technical data of SATO D512 PCL
- name of the manufacturer and a year of construction of the SATO D512 PCL item
- rules of operation, control and maintenance of the SATO D512 PCL item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of SATO D512 PCL alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of SATO D512 PCL, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the SATO service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of SATO D512 PCL.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the SATO D512 PCL item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    D512 PCL PROGRAMMING MANUAL PN: 9001 180B[...]

  • Page 2

    SA T O America, Inc. 10350A Nations Ford Road Charlotte, NC 28273 Main Phone: (7 04) 644.1650 T echnical Support: (704) 644.1660 T echn ical Support Fax: (704) 64 4.1661 E-Mail: sato sales@satoamerica.com techsupport@sato america.com www .satoamerica.com Copyright 2008 SA TO America, Inc. All right s reserved W ARNING THE EQUIPMENT REFERENCED IN TH[...]

  • Page 3

    SATO D512 PCL PROGRAMMING MANUAL PN: 9001180B Table of Contents PCL Emulation PCL Emulation ........... ................................. .......................................... ............................ ...... 1-2 Selecting PCL Emulation ................................................... .....................................................[...]

  • Page 4

    PN: 9001180B SATO D512 PCL PROGRAMMING MANUAL[...]

  • Page 5

    SATO D512 PC L Programmin g Manual Page 1-1 1 PCL EMULATION • Selecting PCL Emulation • Page Formatting • Font and Symbol Set Support • Command Structure • PCL Emulation Commands • GL/2 Commands • Raster Image Graphics •M a c r o s[...]

  • Page 6

    Unit 1: PCL Emulation Page 1-2 SATO D512 PCL Programming Manua l PCL EMULATION The D512 printer supports the Hewlett-Packard Compa ny’s LaserJet Printer Command Language. This chapter discusses PCL emu lat ion commands, along with resident PCL emulation font and symbol se t support. To determine which comman ds your printer supports, see Section,[...]

  • Page 7

    Unit 1: PCL Emulation SATO D512 PCL Programming Man ual Page 1-3 PAGE FORMATTING The printable areas and logical pages for PC L emula tion (both portrait and landscape orientation) are illustrated below. See the Legend th at follo ws for definitions of areas A thro ugh I. P RINTABLE A REAS Legend: A Portrait physical page width and landscape physic[...]

  • Page 8

    Unit 1: PCL Emulation Page 1-4 SATO D512 PCL Programming Manua l FONT AND SYMB OL SET SUPPORT Your printer has 10 resident scalable PCL fo nts. Several parameters are used to select a font from the data stream. These include symbol set, spacing, point, or pitch, style, weig ht, and typeface number. For scalable fonts, you can vary the size of a fon[...]

  • Page 9

    Unit 1: PCL Emulation SATO D512 PCL Programming Man ual Page 1-5 S ELECTING S YMBOL S ET S FOR THE S ATO D512 To determine if a font or typeface suppor ts a sy mbol set, see the complete listing of PCL emulation fonts and symbol sets in the table below. T able 1-2: PCL Emulation Symbol Sets T ypeface / Symbol Set US Ascii (0U) Windows Latin 1 (19U)[...]

  • Page 10

    Unit 1: PCL Emulation Page 1-6 SATO D512 PCL Programming Manua l COMMAND STRUCTURE This section introduces the differen t types of PCL emulation co mmands and their structure, or syntax. It also demonstrates how you can link commands to abbreviate th em. C ONTROL C ODES Control Codes are single-character instructio ns. C OMMANDS PCL commands are mu[...]

  • Page 11

    Unit 1: PCL Emulation SATO D512 PCL Programming Man ual Page 1-7 COMMAND STRUCTURE Most PCL emulation commands have t he following structure: ESC & a # C Spaces have been added to this example fo r readability. The command parameter variable s are indicated by a number sign (#). C OMMAND P ARAMETERS A command parameter sets the value fo r a com[...]

  • Page 12

    Unit 1: PCL Emulation Page 1-8 SATO D512 PCL Programming Manua l Use the plus symbol (+) or the mi nus symbol (-) to select a position relative to the current cursor position. For example: ESC &a6C Move to horizontal cursor position, column six ESC &a+6C Move six columns to the right of the cu rrent position ESC &a-6C Move six column s [...]

  • Page 13

    Unit 1: PCL Emulation SATO D512 PCL Programming Man ual Page 1-9 PCL EMULATION COMMANDS See the following tables for a listi ng of the commands group ed by function. To determine which comman ds your printer supports, see “Table 3-1: PCL Emulation Commands” in the PCL Support section. PCL E MULATION C OMMANDS BY F UNCT ION T able 1-5: Job Contr[...]

  • Page 14

    Unit 1: PCL Emulation Page 1-10 SATO D512 PCL Programming Manua l ESC &u#D Range = 300 Unit of Measure Sets the size for the PCL Unit (units per inch). The Unit of Measure defines the uni t used in the following commands: • Horizontal Cursor Position by PCL Unit ( ESC *p#X) • V ertical Cursor Position by PCL Unit ( ESC *p#Y) • Horizontal [...]

  • Page 15

    Unit 1: PCL Emulation SATO D512 PCL Programming Man ual Page 1-11 ESC &c#T 0 Horizontal Pri nting -1 V er tical Rotated Pr inting Character T ext Path Direction V ertically rotates text for use in vertical writing, such as printing Japanese text. ESC &a#L # = Column Default = 0 Set Left Margin Sets the left margin to the left edge of the de[...]

  • Page 16

    Unit 1: PCL Emulation Page 1-12 SATO D512 PCL Programming Manua l ESC & l #D 1 1 line/inch 22 l i n e s / i n c h 33 l i n e s / i n c h 44 l i n e s / i n c h 6 6 lines/inch (De fault) 88 l i n e s / i n c h 12 12 lines/inch 16 16 lines/inch 24 24 lines/inch 48 48 lines/inch Set Line Spacing (Alternative Method) Specifies VMI in lines per inch[...]

  • Page 17

    Unit 1: PCL Emulation SATO D512 PCL Programming Man ual Page 1-13 T able 1-7: Cursor Positioning Command / Parameters Function / Result ESC &a#C # = number of Columns 1 Horizontal Curs or Position (in Col umns) Moves the cursor to a new pos ition along the horizontal axis. Note: The column width is determined by the space cha racter width of th[...]

  • Page 18

    Unit 1: PCL Emulation Page 1-14 SATO D512 PCL Programming Manua l Note: For the comm ands listed in the following table, font selection is based on all parameters set following th e best fit selection rules. T able 1-8: Font Selection Command / Parameters Function / Resu lt ESC (# (primary) ESC )# (secondary) # = symbol set ID Select Symbol Set See[...]

  • Page 19

    Unit 1: PCL Emulation SATO D512 PCL Programming Man ual Page 1-15 ESC (s#B (primary) ESC )s#B (seco ndary) -7 Ultra Thin -6 Extra Thin -5 Thin -4 Extra Light -3 Light -2 Demi Light -1 Semi Light 0 Medium (Default) 1 S e m i B o l d 2 D e m i B o l d 3 B o l d 4 E x t r a B o l d 5 Black 6 E x t r a B l a c k 7 Ultra Black Select S troke W eight Sel[...]

  • Page 20

    Unit 1: PCL Emulation Page 1-16 SATO D512 PCL Programming Manua l ESC &t#P 0, 1 1 byte characters 21 1 or 2 byte characters 31 1 or 2 byte characters 38 1 or 2 byte characters 1008 1, 2, or 3 byte characters (UTF-8) T ext Parsing Method Communicates to the PCL parser whet her characte r code s are interpreted as 1-byte or 2-byte character code [...]

  • Page 21

    Unit 1: PCL Emulation SATO D512 PCL Programming Man ual Page 1-17 T able 1-10: Font Creation Command / Parameters Function / Result ESC *c#D # = Font ID # (0 - 32767) Default = 0 Set Font ID Sets the identif ication number fo r the font being downloaded. ESC )s#W[data] # = number of data bytes Load Font Header Downloads soft font header information[...]

  • Page 22

    Unit 1: PCL Emulation Page 1-18 SATO D512 PCL Programming Manua l T able 1-12: Print Model Command / Parameters Function / Resu lt ESC *c#G Gray Scale Fi lls 0 White (default) 1-2 2% gray 3-10 10% gray 11 - 2 0 15 % g r a y 21-35 30% gray 36-55 45% gray 56-80 70% gray 81-99 90% gray 100 100% gray (Black) Cross-H atch Fills 1 Horizontal line 2 V ert[...]

  • Page 23

    Unit 1: PCL Emulation SATO D512 PCL Programming Man ual Page 1-19 T able 1-13: User-Defined Pattern Command / Parameters Function / Result ESC *c#W[data] # = number of data bytes User-Defined Pattern Downloads binary pattern data. ESC *p#R 0 Rotate with print (Defa ult) 1F i x e d Set Pattern Reference Point Sets the pattern referenc e point to the[...]

  • Page 24

    Unit 1: PCL Emulation Page 1-20 SATO D512 PCL Programming Manua l ESC *c#G Gray Scale Fi lls 0 White (default) 1-2 2% Gray 3-10 10% Gray 11 - 2 0 15 % G r a y 21-35 30% Gray 36-55 45% Gray 56-80 70% Gray 81-99 90% Gray 100 100% Gray (Black) Cross-H atch Fills 1 Horizontal Line 2 V ertical Line 3 Diagonal Line 4 Diagonal Line 5 Square Grid 6 Diagona[...]

  • Page 25

    Unit 1: PCL Emulation SATO D512 PCL Programming Man ual Page 1-21 T able 1-15: Ras ter Graphics Command / Parameters Function / Result ESC *t#R 300 300 dpi Raster Resolution Note: Only 300 dpi is supported. All other values are parsed and ignored. ESC *r#F 0 Rotate with print 3 Fixed (Default) Raster Graphics Presenta tion Sets the Raster Image Ori[...]

  • Page 26

    Unit 1: PCL Emulation Page 1-22 SATO D512 PCL Programming Manua l ESC *rB End Raster Graphics (V ersi on B) Signals the end of the rast er graphics transfer . If a Raster Height is specified, the cursor is moved to the first raster row pas t the Raster Height. ESC *rC End Raster Graphics (V er sion C) Same as V ersion B, but: • Resets the compres[...]

  • Page 27

    Unit 1: PCL Emulation SATO D512 PCL Programming Man ual Page 1-23 ESC *t#V Raster Height (Destination) Sets the height of th e destination raster . ESC *g#W[data] # - 8 (K-only) or 26 (KCMY) Data Byte 0 - 0x02 (constant) Byte 1 - number of colors 0x01 - K only 0x04 - CMYK Byte 2,3 - X res for K plane 0x012C (300) or 0x0258 (600) Byte 4,5 - Y res fo[...]

  • Page 28

    Unit 1: PCL Emulation Page 1-24 SATO D512 PCL Programming Manua l T able 1-16: Status Readback Command / Parameters Function / Resu lt ESC *s#T 0 Invalid location (Default) 1 Use currently selected locat ion 2 All locations 3 Internal (resident) 4 Downloaded entity 5 Cartridge 7 User-installable flash 200 Disk Set S tatus Readback Location T ype Se[...]

  • Page 29

    Unit 1: PCL Emulation SATO D512 PCL Programming Man ual Page 1-25 T able 1-17: Pictur e Frame Command / Parameters Function / Result ESC *c#X # of Decipoints: 0 to 32767 (1 Decipoint = 1/720 inch) Picture Frame Horizontal Size (in Dec ipoints) Specifies the hor izontal dimension of the picture frame used when printing a GL/2 plot. ESC *c#Y # of Dec[...]

  • Page 30

    Unit 1: PCL Emulation Page 1-26 SATO D512 PCL Programming Manua l ESC *o#M(b) Print Quality This command is pa rsed and ignored. ESC & l #M(b) Paper T ype This command is pa rsed and ignored. T able 1-18: Miscellaneous Comma nds (continued) Command / Parameters Function / Resu lt[...]

  • Page 31

    Unit 1: PCL Emulation SATO D512 PCL Programming Man ual Page 1-27 GL/2 COMMANDS Note: GL/2 is not a stand-alone plotter em ulation. It can only be entered from within PCL emulation and cannot be u sed with software wi thout a unique printer driver written explicitly for GL/2. T able 1-19: Configuration Group Escape Sequ ence Function Support CO GL/[...]

  • Page 32

    Unit 1: PCL Emulation Page 1-28 SATO D512 PCL Programming Manua l T able 1-21: Polygon Group Escape Sequ ence Function Support EA GL/2: Edge Recta ngle Absolute Limited EP GL/2: Edge Polygon Not supported ER GL/2: Edge Rectangle Relative Limited EW GL/2: Edge W edge Not supported FP GL/2: Fill Polygon Not supported PM GL/2: Polygon Mode Not support[...]

  • Page 33

    Unit 1: PCL Emulation SATO D512 PCL Programming Man ual Page 1-29 SS GL/2: Select Standard Font TD GL/2: T ransparent Data Not supported T able 1-23: Line and Fill Attributes Group Escape Sequ ence Function Support AC GL/2: Anchor Corner FT GL/2: Fill T ype Not supported LA GL/2: Line Attr ibutes Not supported L T GL/2: Line T ype Not supported PW [...]

  • Page 34

    Unit 1: PCL Emulation Page 1-30 SATO D512 PCL Programming Manua l RASTER IMAGE GRAPHICS These commands utilize the raster area. Before sending data, set the presen tation mode, the resolution, the compression mode, the raster he ight and width, and start raste r graphics. These parameters are in effect until you overwrite them with a different comm[...]

  • Page 35

    Unit 1: PCL Emulation SATO D512 PCL Programming Man ual Page 1-31 U NCODED D ATA Uncoded Data is not compressed. Only those bytes n eeded to form the image are sent. Each bit represents a single dot. In the first byte, bit 7 corresponds to the first dot in the raster row, bit 5 to the th ird dot, and so forth. Example: ESC *p300x300Y |Move the curs[...]

  • Page 36

    Unit 1: PCL Emulation Page 1-32 SATO D512 PCL Programming Manua l R UN -L ENGTH E NCODED D ATA Run-Length Encoded Data is interprete d in pairs of bytes. The first byte: • Acts as a counter , or control byte. • Indicates how many times to repe at the data in the secon d byte. • Can be from 0 (no repetition) to 255. • The second byte is the [...]

  • Page 37

    Unit 1: PCL Emulation SATO D512 PCL Programming Man ual Page 1-33 T AGGED I MAGE F ILE F ORMAT TIFF “Packbits” contain a control b yte (a signed number) that indicates whether the raster data bytes are to be repe ated (up to 127 times) or printed as encoded data. • For control values of 0 through 127, the next (Control+1) byte(s) uncoded. •[...]

  • Page 38

    Unit 1: PCL Emulation Page 1-34 SATO D512 PCL Programming Manua l D ELTA R OW Delta Row is a compression mode that ide ntifies and transmits only those bytes different from the ones in a precedi ng row. The control byte consists of two parts: • High 3 bits: Numbe r of bytes to replace +1 (1 to 8). • Low 5 bit s: Offset fro m last unmodified byt[...]

  • Page 39

    Unit 1: PCL Emulation SATO D512 PCL Programming Man ual Page 1-35 A DAPTIVE C OMPRESSI ON Adaptive compression allows the co mbined use of compression methods 0 through 3 (Uncoded, Run-Length Encoded, TIFF, and Delta Row). It also allows the printing of empty rows (all zeros) or duplicate rows. • The T ransfer Raster Data comman d size includes a[...]

  • Page 40

    Unit 1: PCL Emulation Page 1-36 SATO D512 PCL Programming Manua l Z LIB Zlib is a generic compression method. It refe rs to a standard for compression as well as the library that implements the standard. The zlib compression method uses the deflate algorithm. This same algo rithm is used by more widely known compressio n utilities such as PKZIP and[...]

  • Page 41

    Unit 1: PCL Emulation SATO D512 PCL Programming Man ual Page 1-37 G ROUP 3 AND G ROUP 4 R ASTER C OMPRESSION Since Group 4 images do not use line endings, the wid th of the image must be specified using the Raster Width command ( ESC *r#S). The compressed image data is sen t to the printer using the Transfer Raster Data command ( ESC *b#W). The max[...]

  • Page 42

    Unit 1: PCL Emulation Page 1-38 SATO D512 PCL Programming Manua l MACROS When creating a macro, first assign it an ID number. If th is number is identical to a n existing macro ID in RAM, the old macro is deleted when you specify the Macro Control Start Definition. Next, start the macro definition, send the contents of the macro, an d stop the macr[...]

  • Page 43

    SATO D512 PCL Programming Man ual Page 2-1 1 PRINTER JOB LANGUAGE • PJL Command Not ation • Kernel Commands • Job Sep aration Commands • Environment Commands and Va r i a b l e s • S t atus Readback Commands • S t atus Message Format[...]

  • Page 44

    Unit 2: Printer Job Language Page 2-2 SATO D512 PCL Programming Manua l PRINTER JOB LANGUAGE Your printer supports complet e Printer Job Language (PJL) comma nds, including certain commands that cause the printer to enter PCL emulation. To determine which comman ds your printer supports, see Section, “PCL Support.” PJL COMMAND NOTATION The synt[...]

  • Page 45

    Unit 2: Printer Job Language SATO D512 PCL Programming Man ual Page 2-3 KERNEL COMMANDS UNIVERSAL EXIT LANGUAGE Command The Universal Exit Language (UEL) command t erminates the current printer language and allows dynamic switch ing into PJL. Syntax: <ESC>%-12345X Notes: The PJL commands must immediately fo llow the UEL command (that is, the [...]

  • Page 46

    Unit 2: Printer Job Language Page 2-4 SATO D512 PCL Programming Manua l JOB SEPARATION COMMANDS You printer supports the PJL JOB and EOJ commands. JOB Command The host computer can use the JOB co mmand to separate print data into various parts or jobs. Specifically, th e JOB command signif ies to the printer the start of a print job. Use the EOJ co[...]

  • Page 47

    Unit 2: Printer Job Language SATO D512 PCL Programming Man ual Page 2-5 Parameters: NAME = " job name " Use the NAME parameter to assign a character string name to a pa rticular job. The name may be any combination of prin table characters, spaces or horizontal tabs up to a maximum of 80 characters, spaces, or tabs. The job name must be e[...]

  • Page 48

    Unit 2: Printer Job Language Page 2-6 SATO D512 PCL Programming Manua l EOJ Command The EOJ command signifies the end of a p rint job. Syntax: @PJL EOJ [NAME = " job name "][<CR>]<LF> Note: Only use the EOJ command in conjunction with t he JOB command. Parameter: NAME = " job name " Use the NAME parameter to assign a[...]

  • Page 49

    Unit 2: Printer Job Language SATO D512 PCL Programming Man ual Page 2-7 ENVIRONMENT COMMANDS AND VARIABLES This section describes the printer environment variab les and the PJL commands used to mod ify or query the variables. The following commands modify the environment variables, and are described in this section: • DEF AUL T • SET •I N I T[...]

  • Page 50

    Unit 2: Printer Job Language Page 2-8 SATO D512 PCL Programming Manua l DEF AUL T Command This command modifies the default setti ng for the specified environment variable and stores the se tting in the printer NVRAM. The new sett ing is activated with the occurrence of the next PJL reset cond ition. Syntax: @PJL DEF A UL T [command modifier: value[...]

  • Page 51

    Unit 2: Printer Job Language SATO D512 PCL Programming Man ual Page 2-9 SET Command This command modifies the current setting fo r the specified environment variable. The new setting is active immediately, and remains active until the next occurrence of a PJL reset con dition. Use the SET command to modify any currently defined environment variable[...]

  • Page 52

    Unit 2: Printer Job Language Page 2-10 SATO D512 PCL Programming Manua l RESET Command This command resets the curren t environment variables to th e settings stored in the printer NVRAM. Therefore , any variables modified by the PJL SET command are returned to their default value af ter execution of the PJL RESET command. Syntax: @PJL RESET[<C [...]

  • Page 53

    Unit 2: Printer Job Language SATO D512 PCL Programming Man ual Page 2-11 FONTNUMBER Font Number 0–17 0 FONTSOURCE Font Source I, S I Internal font source S Permanent download fonts I PITCH Default pitch (fixed-pitch fonts) 0.08 to 100 (in increments of 0.01) Note: If an invalid pitch is reque sted, the printer selects the closest pitch. 10.00 PTS[...]

  • Page 54

    Unit 2: Printer Job Language Page 2-12 SATO D512 PCL Programming Manua l STATUS READBACK COMMANDS Applications can request configur ation and status informatio n from the printer using the Status Readback commands. In addition, the printer can al so be instructed to send unsolicited status information back to the host computer when asyn chronous ev[...]

  • Page 55

    Unit 2: Printer Job Language SATO D512 PCL Programming Man ual Page 2-13 ECHO Command The ECHO command instructs the printer to r eturn the specified words aft er the command is parsed. This command provides a method o f capturing the status information returned by a specific print job. Syntax: @PJL ECHO [ words ][<CR>] <LF> Response Sy[...]

  • Page 56

    Unit 2: Printer Job Language Page 2-14 SATO D512 PCL Programming Manua l INFO Command The INFO command is used to que ry status information from the printer. Table 2-3 lists the categories of inf ormation that can be queried. See “Status Message Format” on page 2-1 8 for additional information about the messages returned by th e INFO STATUS, US[...]

  • Page 57

    Unit 2: Printer Job Language SATO D512 PCL Programming Man ual Page 2-15 INQUIRE Command This command is used to query the current setting of the specified environment variable. Syntax: @PJL INQUIRE [command modifier: value ] variable[<CR>]<LF> Response Syntax: @PJL INQUIRE [command modifier: value ] variable<CR><LF> value &[...]

  • Page 58

    Unit 2: Printer Job Language Page 2-16 SATO D512 PCL Programming Manua l UST A TUS Command This command is used to enable a nd di sable unsolicited status from the printer. Unsolicited status inform ation is sent automatically wh en an asynchronous event occurs. Table 2-4 lists the asynchronous information that can be enabled and disabled. Syntax: [...]

  • Page 59

    Unit 2: Printer Job Language SATO D512 PCL Programming Man ual Page 2-17 UST A TUSOFF Command This command turns off unsolicited status . Unsolicited status may also b e turned off by using the USTATUS command on each variable. Syntax: @PJL UST A TUSOFF[<CR>]<LF>[...]

  • Page 60

    Unit 2: Printer Job Language Page 2-18 SATO D512 PCL Programming Manua l STATUS MESSAGE FORMAT The format of the returned informa tion from the INFO STAT US, USTATUS DEVICE, and USTATUS TIMED commands is described in this section. I NFORMATION M ESSAGES Information messages are returned in this f orm: CODE=status code DISPLA Y=display string (in do[...]

  • Page 61

    SATO D512 PCL Programming Man ual Page 3-1 1 PCL SUPPORT[...]

  • Page 62

    Unit 3: PCL Emulation Support Page 3-2 SATO D512 PCL Programming Manua l PCL SUPPORT T able 3-1 lists PCL emulation co mmands and identifies printers that support them. For detailed information abou t PCL emulation commands and how to select them, see “PCL Emulation” on page 1-2. The section, “GL/2 Commands ” on page 1-27 identifies printer[...]

  • Page 63

    Unit 3: PCL Emula tion Support SATO D512 PCL Programming Man ual Page 3-3 ESC &k#S Select Primary a nd Secondary Pitch 1- 16 ESC &k#W T ext Scale Mode 1- 12 ESC & l #A Page Size 1- 10 ESC & l #C Set V ertical Motion Index 1- 12 ESC & l #D Set Line Spacing 1- 12 ESC & l #E Set T op Margin 1- 11 ESC & l #F Set T ext Length[...]

  • Page 64

    Unit 3: PCL Emulation Support Page 3-4 SATO D512 PCL Programming Manua l ESC (s#P Primary Font Spacing 1- 14 ESC (s#S Primary Font S t yle 1-14 ESC (s#T Primary Font T ype face Selection 1- 15 ESC (s#V Primary Font Height (Point Size) 1- 14 ESC (s#W[dat a] Load Characte r 1- 17 ESC )# Secondary Font Symbol Set 1- 14 ESC )#X Select Secondary Downloa[...]

  • Page 65

    Unit 3: PCL Emula tion Support SATO D512 PCL Programming Man ual Page 3-5 ESC *c#V V ertical Rect angle Size (in D ecipoints) 1- 19 ESC *c#W[data] User-Defined Pattern 1- 19 ESC *c#X Picture Frame Horizontal Size (in Decipoints) 1-25 ESC *c#Y Picture Frame V ertical Size (in Decipoints) 1-25 ESC * l #O Logical Operation 1- 18 ESC * l #R Pixel Place[...]

  • Page 66

    Unit 3: PCL Emulation Support Page 3-6 SATO D512 PCL Programming Manua l T able 2 lists GL/2 commands and identifies the prin ters that support them. ESC *v#C Color Component Three ESC *v#I Assign Color Index ESC *v#N Source T ransparency Mode 1- 18 ESC *v#O Pattern T ransparency Mode 1- 18 ESC *v#S Foreground Color ESC *v#T Select Current Pattern [...]

  • Page 67

    Unit 3: PCL Emula tion Support SATO D512 PCL Programming Man ual Page 3-7 DR Relative Direction 1-28 DT Define Label T erminator 1-28 DV Define V ariable T ext Path 1-28 EA Edge Rectangl e Absolute 1-28 EP Edge Polygon 1-28 ER Edge Rectangl e Relative 1-28 ES Extra Sp ace 1-28 EW Edge W edge 1-28 FI Primary Font 1-28 FN Secondary Font 1-28 FP Fill [...]

  • Page 68

    Unit 3: PCL Emulation Support Page 3-8 SATO D512 PCL Programming Manua l PU Pen Up 1-27 PW Pen Width 1- 29 RA Fill Rectangle Absolute 1-28 RF Define Raster Fill 1-29 RO Rotate Coordinate System 1-27 RR Fill Rectangle Relativ e 1-28 R T Arc Relative Three Point 1- 27 SA Select Alternate Font 1-28 SB Scalable/Bi tma pped Fonts 1-28 SC Scale 1-27 SD D[...]

  • Page 69

    SATO D512 PCL Programming Man ual Page 4-1 1 PJL SUPPORT[...]

  • Page 70

    Unit 4: Printer Job Language Supp ort Page 4-2 SATO D512 PCL Programming Manua l PRINTER JOB LANGUAGE SUPPORT The following tables list PJL commands and identify printers that support them. For detailed information about PJL comm ands, see Section 2, the Printer Job Language section, in this manual. All commands may not have a full d escription. T [...]

  • Page 71

    Unit 4: Printer Job Language Suppo rt SATO D512 PCL Programming Man ual Page 4-3 INTRA Y3SIZE INTRA Y4SIZE INTRA Y5SIZE IOBUFFER IOSIZE JOBA TTR JOBNAME 2-10 JOBOFFSET LANG LOWTONER MANUALFEED MEDIASOURCE MEDIA TYPE MPTRA Y ORIENT A TION 2-10 OUTBIN P AGEPROTECT PA P E R P ARALLEL PA S S W O R D PERSONALITY POWERSA VE POWERSA VETIME PRINTQUALITY QT[...]

  • Page 72

    Unit 4: Printer Job Language Supp ort Page 4-4 SATO D512 PCL Programming Manua l USERNAME WIDEA4 T able 4-2: Common V ariables for PCL Emulation Supported Printer Mode l Not Supported Page numbers reference variable descriptions. Va r i a b l e N a m e Page D512 FONTNUMBER FONTSOURCE PITCH PTSIZE SYMSET T a ble 4-3: Common V ariables for PostScript[...]

  • Page 73

    Unit 4: Printer Job Language Suppo rt SATO D512 PCL Programming Man ual Page 4-5 T able 4-4: S tatus Readback Commands Supported Printer Model Not Supported Page numbers referenc e command descriptions. Command Name Page D512 Dinquire 2-12 Echo 2-13 Info 2- 14 Inquire 2-15 Ustatus 2-16 Ustatusoff 2-1 7 T a ble 4-5: UST A TUS Unsolicited S tatus V a[...]

  • Page 74

    Unit 4: Printer Job Language Supp ort Page 4-6 SATO D512 PCL Programming Manua l[...]

  • Page 75

    SATO D512 PCL Programming Man ual Page 5-1 1 BARCODE COMMANDS[...]

  • Page 76

    Unit 5: Bar Code Commands Page 5-2 SATO D512 PCL Programming Manua l BAR CODE COMMANDS T able 5-1: PCL Emulat ion Escape Sequences Command / Parameters Function / Resu lt ESC (s#P or ESC )s#P Determines the location of human-read able text printed with the bar code. 0 Use default value 1 Do not print text 4 Print text under bar code 5 Print text ab[...]

  • Page 77

    Unit 5: Bar Code Commands SATO D512 PCL Programming Man ual Page 5-3 T a ble 5-2: PCL Emulation Parameter List Command Function / Parameter (#v units are in 1/72” ESC (s#T or ESC )s#T Select the bar code symbology . Default Parameters 1 Characters Encoded Symbol 2 Length Checks um Character Ty p e f a c e # Bar Code Symbology #v #p 24600 UPC-A 74[...]

  • Page 78

    Unit 5: Bar Code Commands Page 5-4 SATO D512 PCL Programming Manua l C URSOR POSITIONING Cursor positioning is set as follows when printing with the Sato Bar Code Option: • From the current cursor po sition, bar code printing begins a t the bottom left corner of the left bar . • The cursor is located at the botto m right corner of the right bar[...]

  • Page 79

    Unit 5: Bar Code Commands SATO D512 PCL Programming Man ual Page 5-5 TWO-DIMENSIONAL BAR CODES M AXI C ODE PCL 5 C OMMANDS TO S UPPORT M AXI C ODE B AR C ODES Sato provides two methods to print MaxiCode b a r codes. The final method use s two Sato unique commands ESC &x#W and ESC &y#W. B AR C ODE D ESCRIPTOR ESC & X #W[ DESCRIPTOR DATA [...]

  • Page 80

    Unit 5: Bar Code Commands Page 5-6 SATO D512 PCL Programming Manua l MaxiCode Notes Depending on the mode , the input data sent with the Transfer Bar Code Data command must follow the following rules: Rule 1: For all modes the input dat a must sta rt with a label-number field a nd number-of-labels field. Both f ields are one digit in length and are[...]

  • Page 81

    Unit 5: Bar Code Commands SATO D512 PCL Programming Man ual Page 5-7 M AXI C ODE E XAMPLES USI NG T RANSFER B AR C ODE D ATA C OMMAND Here are some MaxiCode examples of the ASCII data that would be sent with the Transfer Bar Code Data Command: Mode 2, separated with commas: ESC &y48W1,1,40361,840,001,This is the secondary message. Mode 3, separ[...]

  • Page 82

    Unit 5: Bar Code Commands Page 5-8 SATO D512 PCL Programming Manua l F UNCTIONAL P ARAME TERS FOR PDF417 The #p parameter specifies the level of er ror correction to use: 0–8. In relation to the fields of th e Sato Bar Code Descriptor for PDF417, the fo llowing correspondences exist when using this technique: ECC Level Specifie d by #p parameter [...]

  • Page 83

    SATO D512 PC L Programmin g Manual Page 6-1 1 PRINTER LANGUAGE CHANGE COMMANDS • Setting the printer to SBPL • Setting the printer to PCL[...]

  • Page 84

    Unit 6: PRINTER LANGUAGE CHANGE COMMAN DS Page 6-2 SATO D512 PCL Programming Manua l SETTING THE PRINTER TO SBPL LANGUAGE This chapter discusses setting the printer to the SBPL langua ge, and sett ing the printer to PCL language. Command to set SBPL Language The SBPL command sets the prin ter to SBPL mode and causes all subsequent data to be proces[...]

  • Page 85

    Unit 6: PRINTER LANGUAGE CHANGE COMMAN DS SATO D512 PCL Programming Man ual Page 6-3 <ESC>RN <ESC>Z[...]

  • Page 86

    Unit 6: PRINTER LANGUAGE CHANGE COMMAN DS Page 6-4 SATO D512 PCL Programming Manua l This p age intentionally lef t blank.[...]

  • Page 87

    1 SATO CONTACTS 2 3 4 5[...]

  • Page 88

    SATO GROUP OF COMPANIES International Headquarters SATO INTERNATIONAL PTE. LTD. 438A Alexandra Road #05-01/04, Alexandra Technopark, Singapore 119967 Phone: 65-6271-2122 Fax: 65-6271-2151 Email: sales@sato-int.com Website: www.satoworldwide.com Asia Pacific & Oceania Region SATO INTERNATIONAL ASIA PACIFIC PTE. LTD. (Regional Headquar ters) 438A[...]