Instruction/ maintenance manual of the product D512 PCL SATO
Go to page of 88
D512 PCL PROGRAMMING MANUAL PN: 9001 180B.
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.
SATO D512 PCL PROGRAMMING MANUAL PN: 9001180B Table of Contents PCL Emulation PCL Emulation ........... ................................. .......................................... ............................ ...... 1-2 Selecting PCL Emulation ......
PN: 9001180B SATO D512 PCL PROGRAMMING MANUAL.
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 Co.
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.
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.
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.
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.
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.
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 (#).
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.
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.
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).
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.
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.
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.
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.
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 Med.
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.
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.
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% gra.
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.
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% G.
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.
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.
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.
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 lo.
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.
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.
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.
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 suppo.
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 Fu.
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.
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.
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.
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.
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).
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.
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.
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).
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.
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 .
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
SATO D512 PCL Programming Man ual Page 3-1 1 PCL SUPPORT.
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.
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 .
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#.
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 Hor.
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 Col.
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-.
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 R.
SATO D512 PCL Programming Man ual Page 4-1 1 PJL SUPPORT.
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.
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 MEDIASO.
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.
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.
Unit 4: Printer Job Language Supp ort Page 4-6 SATO D512 PCL Programming Manua l.
SATO D512 PCL Programming Man ual Page 5-1 1 BARCODE COMMANDS.
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.
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 .
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 .
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.
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.
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.
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.
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.
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.
Unit 6: PRINTER LANGUAGE CHANGE COMMAN DS SATO D512 PCL Programming Man ual Page 6-3 <ESC>RN <ESC>Z.
Unit 6: PRINTER LANGUAGE CHANGE COMMAN DS Page 6-4 SATO D512 PCL Programming Manua l This p age intentionally lef t blank..
1 SATO CONTACTS 2 3 4 5.
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.
An important point after buying a device SATO D512 PCL (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought SATO D512 PCL yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data SATO D512 PCL - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, SATO D512 PCL you will learn all the available features of the product, as well as information on its operation. The information that you get SATO D512 PCL will certainly help you make a decision on the purchase.
If you already are a holder of SATO D512 PCL, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime SATO D512 PCL.
However, one of the most important roles played by the user manual is to help in solving problems with SATO D512 PCL. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device SATO D512 PCL along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center