Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 2 of 15

PcOS Series 60 Multi-Station Slip Printers Programmer's Guide, pages 11 to 20

Pages 11 to 20 of 150

The original document is the PDF (1.6 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Ithaca PcOS Series 60

Page 11

Control Codes Paper Motion

PcOS Series 60

Ithaca Peripherals Incorporated

Programmer's Guide

PcOS Model 62 Slip and Receipt Printer • • • • •

Adds receipt station to Model 61 Slip Printer Prints receipts at 10, 12, 17, or 24 characters per inch Prints receipts up to 48 columns at 17 characters per inch Cuts receipt automatically Prints rotated characters in 90 degree increments

PcOS Model 63 Slip, Receipt, and Journal Printer • • • • • • •

Adds receipt and journal stations to Model 61 Slip Printer Prints receipts at 10, 12, 17, or 24 characters per inch Prints receipts up to 48 columns at 17 characters per inch Cuts receipts automatically Prints journal up to 40 columns at 17 characters per inch Prints rotated characters in 90 degree increments Includes standard automatic journal take-up

PcOS Model 64 Slip and Journal Printer • • • •

Adds journal function to Model 61 Slip Printer Prints journal up to 40 columns at 17 characters per inch Prints rotated characters in 90 degree increments Includes standard automatic journal take-up

Standard Features •

• • • • • • •

Interfaces • Centronics Parallel Interface, 2K buffer • RS-232 Serial Interface, 19.2K Baud, 2K buffer Up to 7 lines printed per second Dual cash drawer drivers with drawer OPEN/CLOSED status Snap-on ribbon cassette All points addressable graphics IBM/Epson compatible Self test IBM character sets I and II

Optional Features • •

Custom PROMS to allow operation in various computer or simulation environments Most common languages (number of resident languages depends on language mix

Reliability • • • • •

Page x

Mean time between failure: 25,000 hours (except printhead) Printhead life: 200 million characters Auto cutter life: 1 million cuts Auto cutter mean time between failure: 300,000 cuts Mean time to repair: 15 minutes

Rev C 7/8/2008

Page 12

Programmer's Guide

PcOS Series 60

Ithaca Peripherals Incorporated

Control Codes Paper Motion

Print Characteristics Character Information The Ithaca PcOS Series 60 Printers prints characters in a variety of pitches as shown in the following table and print samples. Each pitch can also be printed in a variety of styles affecting the appearance of the characters and the speed of the printer. For information about programming the printer to print a particular pitch or style, please refer to the "Programming" section on page 29. Print Pitch Capability Pitch (Characters per inch) 10 CPI 12 CPI 17 (Condensed) 24 (Super Condensed) 5 (Double Wide) 6 (Double Wide) 8.5 (Condensed Double Wide) 12 (Super Condensed Double Wide)

Maximum Characters per Line Slip Receipt Journal Station Station Station 34 28 24 42 32 28 60 48 40 84 66 56 17 14 12 21 16 14 30 24 20 42 33 28

Note: 10 Characters per inch is sometimes referred to a Pica, 12 CPI is sometimes referred to as Elite

Rotated Print: The printer can be programmed to rotate characters in 90 degree increments. All rotated print is in the 12 CPI format. For information about programming the printer to rotate characters, please refer to the "Control Codes and Features sections"

Character Generation All the character sets and modes are based on one of two character cells, 10 wide by 9 high or 12 wide by 9 high. Double wide mode, is twice the width of the normal mode or 20 wide by 9 high or 24 wide by 9 high. In utility print mode he character cell consists of five full dots and five half dots horizontally by nine full dots vertically, the character is a 9 by 9 character I High Speed Draft mode the character cell is shortened by one half and one full dot column. This yields a 7 by 9 character. Each character is justified to the left of the cell. The first four columns of the full dots and the first three columns of half dots are used to generate the character in high speed draft, while the first five columns of the full dots and the first four columns of the half dots are used in utility mode. The last full dot and the last two half dots are used for character spacing in both modes.

Rev C 7/8/2008

Page xi

Page 13

Control Codes

PcOS Series 60

Paper Motion

Ithaca Peripherals Incorporated

Programmer's Guide

The following illustration shows a single wide character cell:

1 3 5 7 9 2 4 6 8 10 1

1 3 5 7 9 11 2 4 6 8 10 12 Full Dots

1

2

2

3

3

4

4

Half Dots

5

5

6

6

7

7

8

8

Descender (Row 8 & 9)

9

9

& Underline (Row 9) Character Spacing

Character Spacing

Utility Mode

High Speed Draft

Single Wide Character The example above shows the full dots as adjacent to each other in the character cell. This is true for the 12 CPI mode only. The 10 CPI mode allows a gap between adjacent full rows, 17 and 24 CPI allow an overlap of full rows. The printer can not print adjacent full and half dots in any single row. Some graphics (Double Density Half Speed) allow adjacent rows to be printed by slowing the print speed by half. This allows time between half and full columns to be the same as between full columns in full speed operation. The following illustration shows the use of full and half dots as well as descenders to form characters:

1 3 5 7 9 1 3 5 7 9 1 3 5 7 9 2 4 6 8 10 2 4 6 8 10 2 4 6 8 10 1 2 3 4 5 6 7 8 9

Page xii

Rev C 7/8/2008

Page 14

Programmer's Guide

PcOS Series 60

Ithaca Peripherals Incorporated

Control Codes Paper Motion

Control Codes Overview This programmer's guide is designed to help users of Ithaca Peripherals Series 60 Slip Printer develop applications. The Series 60 printers are specialized Point Of Sale POS printers that have several features not normally found on general purpose printers. Because of these special features, the Series 60 printers have some specialized codes that control these features. This programmer's guide documents all the control codes with emphases on those codes that are unique to the Series 60 printer. All Ithaca Peripherals Series 60 printers have both a serial and parallel interface. Both interfaces provide the same printer control2 and use the same codes.

Nomenclature Whenever describing control codes there is confusion as to whether the description is decimal, hex, or ASCII. To minimize this problem, this users guide will use the following nomenclature when describing control code sequences: [ ]

Enclose a control character. This is a single 8 bit value as defined in the standard ASCII tables. The ASCII chart in Appendix A lists all the control codes. An example would be [ESC] which would represent a 1BH or 26 Decimal

< >

Enclose an 8 bit value in decimal format. This value will be from 0 to 255

<n>

This indicates a variable parameter. In this case a variable parameter "n" that can have a value of from 0 to 255. The meaning of "n" is described and defined in the description of the command.

An example would be <2> which would represent 02H or 2 decimal

<n>1 <n>2 x

This indicates that there are 2 parameters, n1 and n2 where both can have values from 0 to 255. All other characters in control strings represent ASCII characters. For example " [ESC] 1 " Would represent 1BH followed by 31H.

The CFG60 Configuration and demonstration program3 uses the same nomenclature. All print examples shown in this manual are available for CFG60. In many cases, applications require that control sequences be specified in Hex or Decimal codes. In most cases all commands are specified in ASCII, Hex and Decimal. There is an ASCII chart in the Appendix that lists ASCII, Decimal, and Hex Equivalents.

IPCL Codes IPCL (Ithaca Printer Control Language) codes are designed to control a printer without using control characters. Not all commands are supported by IPCL codes. For those commands that are the IPCL code is listed. Occasionally an IPCL code will interfere with the text that are to be printed, the IPCL translator can be disabled with an [ESC]y<4> command.

2The Serial Interface does provide a few additional interface capabilities because of the ability of the serial interface to be bi-directional.

3CFG60 is available from Ithaca Peripherals at no cost. This program runs on IBM PC or compatible.

Rev C 7/8/2008

Page xiii

Page 15

Control Codes Paper Motion

PcOS Series 60

Ithaca Peripherals Incorporated

Programmer's Guide

Application Development To aid in application development there two sections in this manual that are designed to help the programmer understand the series 60 printer. The first is a how to section that explains ways to use the special features and get the most out of the printer. The second section is an explanation of how the printer, it's print buffer, the communications link, and the host computer interact.

Tables and Charts Throughout this programmer's guide there are charts and tables that list commands and features. In most cases these charts cross reference the page that describes the command. Commands are grouped by function and can at times be hard to find. To minimize the time it takes to find commands, there are two code summary charts in the following section, one ordered by code and one ordered by function.

Printer Control Codes Print / Paper Motion Page xiv

Rev C 7/8/2008

Page 16

Programmer's Guide

PcOS Series 60

Ithaca Peripherals Incorporated

Control Codes Paper Motion

Low Level Paper Motion Control Function: ASCII: Hexadecimal: Decimal: IPCL:

Carriage Return [CR] 0DH <13> &%CR

Description:

Print contents of print buffer (if any) and reset the next character print position to the left margin. A line feed is NOT performed. The left margin is defined by the current print station, the print rotation direction and the left margin command.

Function:

Line Feed

ASCII: Hexadecimal: Decimal: IPCL:

[LF] 0AH <10> &%LF

Description:

Print contents of buffer (if any) and advance paper one line at the current default line spacing. The next character print position is reset to the left margin. The direction moved is defined by the current print station, the rotated print command, and the paper motion set by the [ESC] r, [ESC] n or [ESC] o commands. NOTE: The journal feeds only from back to front.

Special Paper Motion Function:

Fine Line Feed

ASCII: Hexadecimal: Decimal: IPCL:

[ESC] J <n> 1BH 4AH <n> <27> <74><n> (None)

Description:

Print contents of buffer (if any) perform line feed of n/216" . This command does not change the default line spacing value. The next character print position is reset to the left margin. NOTE: The journal feeds only from back to front.

Example of Fine Line Feed[CR] [ESC]J<54> This line is 1/4" below the first.[CR][LF] This line is spaced at the default 1/8".[CR][LF] of

Data Sent to printer

Resulting Print

Rev C 7/8/2008

Page xv

Page 17

Control Codes Paper Motion

PcOS Series 60

Ithaca Peripherals Incorporated

Programmer's Guide

Function:

Feed 2 Inches

ASCII: Hexadecimal: Decimal: IPCL:

[ESC] e 1BH 65H <27><101> &%LC

Description:

Feed receipt tape 2.0". This command will feed the Receipt out after a cut until there are 3 print lines left. Typically this command is issued to feed the receipt after the receipt is complete. This command will also work for the slip station in either front to back or back to front direction. It will feed the slip 2.0".

Function:

Feed 7 Inches

ASCII: [ESC] d Hexadecimal: 1BH 64H Decimal: <27><100> IPCL: &%LC Description: Feed form 7". This command will feed the Receipt or Slip 7 inches in the last direction selected. Typically this command is issued to feed the receipt after the receipt is complete, or to eject a form from the printer This command does not function in journal mode Function: ASCII: Hexadecimal: Decimal: IPCL:

Feed to Mark [ESC] k 1BH 6BH <27><107> &%LK

Description:

Feed receipt tape 7" or to mark.". This command will feed the Receipt out until a black mark is found on the right side of the receipt tape. Typically this command is issued to feed the receipt to locate a marker on a pre printed tape. When the mark is found it will be about 1.75" from the print line. There will be about 14 lines of print (at 1/8" spacing ) to the mark. NOTE: The knife will not operate if the mark is under the rear slip sensor. The knife safety logic thinks that the receipt is not loaded and will not cycle. Feed the paper past the mark before cutting. Use an [ESC] q command before the [ESC] v to force the knife safety logic to wait for the line feeds before checking the sensors. The Mark must be at least 0.1875" long and 0.75" from the left side of the Receipt. The mark must not reflect IR. light.

Note: This command does not function in journal mode. Function:

Feed to End of Slip

ASCII: Hexadecimal:

[ESC] m 1BH 6DH

Page xvi

Rev C 7/8/2008

Page 18

Programmer's Guide

PcOS Series 60

Ithaca Peripherals Incorporated

Control Codes Paper Motion

Decimal: IPCL:

<27><109> &%LE

Description:

Feed the slip to the edge. This command feeds the slip until either the front or the rear slip sensor no longer sees the slip. The slip will be fed in the direction last specified. The feed will be a maximum of 7" and then stop. The ENQ <5> and <6> commands can be used to verify the operation of this command. A second [ESC] m command can be issued to feed more than 7". If the second command is issued after the end is found it will not cause any paper motion. When the form is fed from front to back the print line will be about 0.375" from the edge. When the form is fed from back to front the print line will be about 1.75" from the edge. NOTE: This command does not function in journal mode

Function:

Set Variable Line Space n/216"

ASCII: Hexadecimal: Decimal: IPCL: Description:

[ESC] 3 <n> 1BH 33H <n> <27><51><n> &%SV <n> Set default line spacing to n/216". Set n =1 to 255. This command sets the line feed spacing used by [LF] to values other than 1/8 or 7/72 inch. This command takes effect immediately as opposed to the set variable line spacing. NOTE: This command does not affect journal spacing. The journal is always 8 lines per inch. This command is accepted and will affect receipt and slip mode.

Resulted in this print [ESC]3<54> Example of Setting Fine Line Feed[CR][LF] This line is 1/4" below the first.[CR][LF] This line is also 1/4" below the last.[CR][LF]

Function: ASCII: Hexadecimal: Decimal: IPCL:

Set Line Space 27/216" [ESC] 0 1BH 30H <27><48> &%ST

Description:

Set default line spacing to 27/216". This is a standard 8 lines per inch line spacing. This is the default text line spacing at power up.

Data Sent to the printer

NOTE: The journal is always printed at 8 lines per inch. This command is accepted and will affect receipt and slip mode.

Rev C 7/8/2008

Page xvii

Page 19

Control Codes Paper Motion

PcOS Series 60

Ithaca Peripherals Incorporated

Programmer's Guide

Function:

Set Line Space 21/216" or (7/72")

ASCII: Hexadecimal: Decimal: IPCL:

[ESC] 1 1BH 31H <27><49> &%SG

Description:

Set default line spacing to 21/216". This line spacing is for APA (All Points Addressable) Graphics printing. NOTE: This command will not affect the journal station. This command is accepted in journal mode and will affect receipt and slip mode when selected.

Function:

Set Variable Line Space n/72"

ASCII: Hexadecimal: Decimal: IPCL: Description:

[ESC] A <n>1 1BH 41H <n>1 <27><65><n> (None) Set default line spacing to n1/72. Set n1 =1 to 85. This line spacing does not take effect until enabled by the [ESC] 2 command. This command is provided to maintain backward compatibility with Series 50 and OKIDATA IBM compatible printers. It can be used to print on pre-printed forms. NOTE: This command will not affect the journal station. This command is accepted and will affect receipt and slip mode.

Function: ASCII: Hexadecimal: Decimal: IPCL:

Enable [ESC] A <n> line spacing. [ESC] 2 1BH 32H <27><50> (None)

Description:

Enable [ESC] A <n> line spacing. This is a companion to the [ESC] A <n> command and puts to specified line spacing into effect. It will remain in effect until another line spacing command is issued. NOTE: This command will not affect the journal station. This command is accepted and will affect receipt and slip mode.

[ESC]A<18> Example of Setting Variable Line Spacing[CR][LF] This line is 1/8" below the first.[CR] [ESC]2[LF] This line is 1/4" below the last.[CR] [ESC]0[LF]

Resulting Print

This line is back at 1/8"[CR][LF] Data Sent to printer

Page xviii

Rev C 7/8/2008

Page 20

Programmer's Guide

PcOS Series 60

Ithaca Peripherals Incorporated

Control Codes Paper Motion

Function:

Set Line Feed Direction Back to Front

ASCII: Hexadecimal: Decimal: IPCL:

[ESC] n 1BH 6EH <27><110> &%LR

Description:

Set slip spacing direction from the back to the front of printer. This command sets the feed direction and will operate in Slip and Receipt mode. This and its companion command [ESC] o can be used to move a slip into any print position. NOTE: This command is overridden by a station select command. Selecting the slip station defines the feed direction to be from front to back. Selecting the receipt station defines feed direction to be from back to front. Once the station is selected the [ESC] n command can be used to change the direction. NOTE: This command will not affect the journal station. This command is excepted and will affect receipt and slip mode. NOTE: Whenever the slip is moved in the opposite direction of the intended print direction, the feed in the non-print direction should be moved one unit too far. The form should then be repositioned in the intended print direction. This will minimize positioning errors caused by any mechanical backlash.

Function: ASCII: Hexadecimal: Decimal: IPCL:

Set Line Feed Direction Front to Back [ESC] o 1BH 6FH <27><111> &%LB

Description:

Set slip spacing direction from front to back of printer. This command sets the feed direction and will operate in Slip and Receipt mode. This and its companion command [ESC] n can be used to move a slip into any print position. NOTE: This command is overridden by a station select command. Selecting the slip station defines the feed direction to be from front to back. Selecting the Receipt station defines feed direction to be from back to front. Once the station is selected the [ESC] o command can be used to change the direction. NOTE: Although this command will work on the receipt station, no more than 1/8 inch should be fed, in the front to back direction. It is possible to cut the receipt, feed the receipt to cut with the [ESC] e command, and then reverse feed. this will in effect make a slip out of a receipt. NOTE: This command will not affect the journal station. This command is excepted and will affect receipt and slip mode. NOTE: Whenever the slip is moved in the opposite direction of the intended print, the feed in the nonprint direction should be moved one unit too far. The form should then be repositioned in the intended print direction. This will minimize positioning errors caused by mechanical backlash.

Rev C 7/8/2008

Page xix