Oki X400 Manual 

Brand: Oki
Category: Printer
Model: X400 (Manual )
File Type: PDF
File Size: —
Pages: 137
Text of Oki X400 Manual 

TABLE OF CONTENTS

OKIPOS X400 Programming Guide Introduction .........................1 The Oki Data Programming Language ...............1 Selecting Protocol Control Codes ................2 Using Basic..........................2 Printing with the Parallel Port............

Oki X400 Print Length, Expanded...................51

Line Feed ........................52 Media Size ........................54 Postnet ..........................55 Print Position .......................56 Print Quantit

Oki X400 OKIPOS X400 PROGRAMMING GUIDE

INTRODUCTION This section presents the commands that are used with the OKIPOS X400 printer to produce labels with logos, bar codes, and alphanumeric data. The commands listed include all revisions of firmware. The following information is presented in this section: � The SATO Programming Language � Selecting Protocol Control Codes � Using Basic � The Print Area � Printer Configuration � Command Codes The Oki Data

This commands set the operational parameters of the printer, “set the print speed to 3.”

{Command} {Parameter} {Data} Some commands can contain both parameter and data elements, such as “print a code 39 symbol containing the data.” SELECTING PROTOCOL CONTROL CODES Protocol codes are special control characters that prepare the printer to receive instructions. For example, the character tells the printer that a command code will follow. Th

characters after every line. The command string should be continuous and uninterrupted by and/or

commands. The examples given in this manual are printed on separate lines because they will not fit on one line and do not contain any and/or characters. If these characters are needed, they are explicitly noted by the inclusion of and notations. 2. If you are using the printer’s RS232 interface, it is necessary to set the COM po

Oki X400 Printing with the RS232 Port

5 10 20 30 40 50 60 REM RS232 Example E$=CHR$(27) OPEN “COM1:9600,N,8,1,CS,DS” AS #1 PRINT #1,E$;”A”; PRINT #1,E$;”H400”;E$;”V100”;E$;”WL1OKI”; PRINT #1,E$;”Q1”; PRINT #1,E$;”Z”; Identifies the program as a RS232 port print label. The “REM” prevents this data from being sent to the printer and displays it only on the screen. Sets the “E$” string as an character Opens the COM1 port for

Normal Reference Point

H1, V1 The base reference point is always on the right edge of the print head as you face the front (label exit) of the printer. If you are using a label that is narrower than the maximum print width, you may have to adjust the base reference point of the Left-Hand printer to correctly position the print area.

Oki X400 Note: After the reference point is moved, you can no longer print on the 426 dot “margin” unless the

reference point is reset. 2. Use the normal reference point from the print area and use the horizontal position for each field to properly locate it on the label. Calculate the distance (in dots) from the normal reference point to the closest edge of the label. Shift Distance = 2.1” x 25.4 mm/in x 8 dpmm = 426 dots New Base Reference Point = 832 –

If you are using a two inch wide label, the entire image may not appear on your label. By adding the following

Base Reference Point command to the second line of the data stream, the base reference point will be changed, causing the image to be shifted over toward the inside of the printer where it can be printed on the narrow label. H=50 V=200 V=310 H=70 2” 4.1” Unshifted Print Area A A3H0406V0001 H0050V0100L0303MOK

Oki Printer Owners Instructions: