40
Model WP-233 Printer Series User’s Manual

Model WP-233 Printer Series User’s Manual - scale service · The Model WP-233 dot matrix printer has one of these electrical ... or (2) occurs, the printer prints out the contents

Embed Size (px)

Citation preview

Model WP-233Printer SeriesUser’s Manual

WP-233 Printer User’s Manual212/13/04 233_U.P65 PN 29607-0014M e1 Printed in USA

Risk of electrical shock. Do not remove cover. No user service-able parts inside. Refer servicing to qualified service personnel.

Weigh-Tronix reserves the right to changespecifications at any time.

CAUTION

EUROPEAN COUNTRIESWARNING

This is a Class A product. In a domestic environment this productmay cause radio interference in which the user may be required to

take adequate measures.

WP-233 Printer User’s Manual 3

Table of Contents

Pages are numbered consecutivelybeginning with the cover page.

Introduction ............................................................................. 7

Installation ............................................................................... 7

Installing the Paper .................................................. 7

To Remove the Paper Roll ..................................... 10

Operation .............................................................................. 11

Connecting and Powering up Your Printer ............ 11

Maintenance .......................................................................... 11

Changing the Printer Ribbon ................................. 12

Inserting a Ribbon with Paper in the Printer .......... 13

Printer Test and Setup .......................................................... 14

Printer Test ............................................................. 14

Accessing the Setup Menu ..................................... 15

CONFIGURE ........................................................... 15

CUSTOM ................................................................. 18

SETCLOCK... .......................................................... 22

RESET SEQ# .......................................................... 23

Communication .................................................................... 24

RS-232 Serial Version ............................................ 24

Watertight Enclosure for WP-233 with RS-232 ...... 26

Watertight Enclosure for WP-233

with 12-48 Volt Option ............................... 27

20 mA Current Loop Version .................................. 28

Control Codes ........................................................ 29

Default Table ......................................................................... 37

WP-233 Printer User’s Manual4

Available BAUD rates: 300, 600, 1200, 2400, 4800,9600, 19200

Voltage levels:RS-232C: -9 Volts to + 9 Volts20mA current loop

Character format:ASCII character set—10 bits per character

required, 7 or 8 of which are data bits.Parity selection is even or odd for 7 data bits.Bit mapped graphics—10 bits per character

required, 8 of which are data bits.Busy signal - Clear to Send (CTS) XON-XOFF

9.5K standardApproximately 9,500 byte capacity.

Impact dot matrix

5 x 8 or 5 x 5 dot matrix

24 column: 12.8 characters/inch32 column: 17 characters/inch40 column: 21 characters/inch

7.6 lines per inch in character mode9.1 lines per inch in graphic mode

38 lines per minute for 24 column33 lines per minute for 32 and 40 column

Table top: 2.25"W x 2.50"D; 0.44" I.D. Panel mount: 2.25"W x 1.25"D

1.5 Watts (idle), 10 Watts (while printing)

9 VAC (120 VAC stepdown converter incl.)Multi-national converters optional

Optional 9-12 VDC100mA idle, 1500mA with 100% printing, 2.9A peakwith 100% printing

4"W x 4.5"L x 2"H (desktop model)

5°C - 40°C (41°F - 104°F)

500,000 lines mean character before failure.

Interface-Serial

Character Buffering

Print Method

Character Matrix

Character Spacing

Line Feed Spacing

Print Speed

Paper

Power

AC Voltage

External Dimensions

Print Head Life

DC Voltage

Operating Temp.

Specifications

WP-233 Printer User’s Manual 5

Time and Date (factory installed)

Black- 200,000 charactersPurple-250,000 characters

Large roll - 12,500 linesSmall roll - 3,000 lines

Options

Ribbon life

Paper

WP-233 Printer User’s Manual6

WP-233 Printer User’s Manual 7

Installing thePaper

Introduction

Installation

The Model WP-233 dot matrix printer has one ofthese electrical interfaces:

RS-232Current Loop

This manual is split into the following mainsections:

• Introduction• Installation• Operation• Maintenance• Printer Test and Setup• Communication

Please follow the precautions listed below whensetting up your printer. They are designed to helpyou keep your printer working at its best.

• Plug your power supply into an appropriategrounded outlet.

• Place your printer on a flat hard surface, likea tabletop.

• Keep your printer out of direct sunlight.

1. Remove the printer cover by pressing on thegroove patterns to pop the front edge up. Liftoff the cover.

2. Press the rocker switch to the left. The lightwill go off.

WP-233 Printer User’s Manual8

3. Unroll several inches of the paper.

4. Cut a straight edge on the paper roll if it isjagged. This will facilitate the entry of thepaper into the printer.

5. Slide the paper through the slot connecting thepaper compartment and the printer compart-ment. You can slide it in about one-quarterinch before it stops.

6. While holding the paper in place, press therocker switch to the Paper Feed position. Theprinter will activate, and a rubber roller will pullthe paper into the printer compartment. Holdthe switch in the Paper Feed position until thepaper emerges from the top of the printermechanism.

7. When an inch of paper has emerged from thetop of the printer, release the Paper Feedbutton.

8. Now pull the paper through the printer, untilseveral inches are exposed.

WP-233 Printer User’s Manual 9

9. Slide the paper through the slot in the printercover.

10. Push the back of the printer cover down andinto place.

11. Press the front of the printer cover down tolock in place.

WP-233 Printer User’s Manual10

To Remove thePaper Roll

12. Put the paper spindle into the paper roll asshown below, and place the roll with thespindle onto the snaps near the back of theprinter. Turn the paper roll so as to take up anyslack in the paper feeding to the printer. Makesure the roll of paper turns freely. If it does notturn freely, the paper will jam and will possiblydamage the printer mechanism.

1. Advance the paper about one inch beyond thepaper cutter by using the Paper Feed switch.

2. Lift the paper roll away from the printerhousing and cut the paper feeding to theprinter with scissors. Try to make the cut assquare as possible to help the next time youreload the paper.

3. Pull the remaining paper through the printermechanism. Be sure to pull the paper fromthe top (paper cutter side).

WARNING! Pulling the paper out of the back ofthe printer will damage the print mechanism.

WP-233 Printer User’s Manual 11

Connecting andPowering upand Your Printer

Operation

Maintenance

1. Attach the appropriate cable between theprinter and your indicator. The connector onthe printer side is “keyed” so that you cannotplug the cable in the wrong way. This meansthat the pins should be positioned so that aslight pressure will seat the cable properly. Donot force the pins in. Doing so could damagethe cable.

2. Plug the power cord into the back of theprinter. Plug the transformer into an appropri-ate AC outlet. The unit will power up automati-cally and print Ready. This means the printeris ready to print.

The paper feed switch on the printer is a rockertype switch. Push the left side of the rocker switchto toggle the printer on and offline. Push the rightside of the switch to advance the paper.

Your printer is now ready for printing.

The printer stores characters for printing until oneof two things happens:

1. The line buffer is filled.

2. It receives a line feed (hexadecimal 0A) or acarriage return (hexadecimal 0D) code.

When (1) or (2) occurs, the printer prints out thecontents of its line buffer. If the buffer is emptywhen the carriage return is received, the printersimply advances the paper one line, leaving ablank line in the printout.

When printing becomes faint or difficult to see,replace the ribbon in your printer with an EpsonERC-09 cartridge ribbon.

EJECT

PU

SH

NCI Part Numbers:Black ribbon: 22332-0029Purple: 22332-0011Long-lasting Black: 22332-0045Wall mount power: 114815534Paper spindle: 109316536Paper roll 1.25” dia: 22335-0018Paper roll 2.75” dia: 22335-0026Almond paper cutter 23019-0019Grey paper cutter 23019-0043Clear plastic paper roll cover 115513184

For DC modifiedunits supplied withcable, connectpositive voltage tostriped wire.

See the DC powerconnection illustra-tion below:

WP-233 Printer User’s Manual12

Changing thePrinter Ribbon

If your printer is used infrequently, the print impres-sion may become weak because the ribbon driedout. To advance the ribbon to a new section, holddown the Paper Feed switch for several seconds.

Below are the steps for replacing the ribbon:

1. Turn the printer offline.

2. Four small grooves are embossed on eachside of the printer cover. Push down on one orboth of these areas until the printer cover tilts.

3. When the printer cover is tilted up, lift itcompletely off.

4. Push down on the right side of ribbon car-tridge where it is marked “PUSH”. Remove thecartridge.

WP-233 Printer User’s Manual 13

5. Install cartridge. Be sure the ink cartridge isinserted firmly to prevent weak or irregularprinting. The cartridge must be properlyseated and aligned for best printing.

6. Turn the cartridge “knob” (marked by an arrow)clockwise to stretch the ribbon.

7. Replace the cover.

8. Replace the paper.

You may insert the ribbon cartridge if there isalready paper in the printer.

Hold the cartridge as shown above and slide itover the paper and into the printer compartment.Be sure the paper goes between the ribboncartridge and the ink ribbon.

If you get ribbonink on the printercase, wipe it offimmediately. Onceit dries it is difficultto remove.

Inserting aRibbon withPaper inthe Printer

WP-233 Printer User’s Manual14

The printer can be tested and setup using thesteps described in this section. Testing and setupare done using the rocker switch on the printer.

With the printer unplugged at the outlet or at theback of the printer, press and hold the right side ofswitch as you plug the unit in. The printer will printout a list of the configuration as it currently existsthen do a continuous print test. To stop the printtest press either side of the rocker switch. Below isa sample of what is printed when you do the printtest.

Printer Test

Printer Test and Setup

WP-233 Printer User’s Manual 15

Accessing theSetup Menu

CONFIGURE. . .

This manualassumes the timeand date option areinstalled andoperating. If you donot have this optionyou will not seereferences to theclock or date listedin most menus.

To access the setup menu follow these steps:

1. Unplug the printer either at the outlet or at theback of the printer.

2. Press and hold down the left side of the rockerswitch and plug in the printer. The printer willadvance the paper. After the paper advancehas stopped, count 3-5 seconds and releasethe switch. The following is printed:

If you wait less than three or more than fiveseconds Ready. . . is printed and you will have totry steps 1 and 2 again to access the setup menu.

After you access the setup menu, if you pressNEXT (left side of switch) repeatedly you will seethe following list printed. If you keep pressingNEXT (left side) the list repeats itself.

As you can see form the above printout the setupmenu contains the following items:

• CONFIGURE menu• CUSTOM menu• SET CLOCK menu• RESET SEQ#

The following pages explain these items and howto customize the printer to your needs.

The first setup menu item reads

CONFIGURE . . . [NEXT/OK]

[NEXT/OK] is a visual clue so you know thatpressing the left side of the rocker switch will go tothe NEXT part of the menu and that pressing theright side of the rocker switch will accept (or sayOK to) what this line of the setup menu says.

WP-233 Printer User’s Manual16

Load Defaults

Baud Rate

Data Bits

With the printer in the setup menu and withCONFIGURE . . . [NEXT/OK] as the last itemprinted, press OK (right side) to access theconfigure menu. The following is printed:

LOAD DEFAULTS gives you the opportunity toreset the printer to all default settings (shownbelow).

Choose OK to do this or NEXT to go to the nextparameter. The following is printed:

Baud rate is the next parameter you can set in theconfigure menu. The complete list of parametersand their possible values is shown below.

The sample list above shows the current baud rateis 1200. To accept this, press OK (right side) orview the next baud rate value by pressing NEXT(left side). Press OK when the baud rate you wantis displayed.

Choose from these baud rates;300, 600, 1200, 2400, 4800, 9600, or 19200

DATA BITS is the next parameter. Choose thedata bit value the same way baud rate waschosen. Choices are 7 or 8 data bits.

WP-233 Printer User’s Manual 17

Parity

Stop Bits

Handshake

Cols

Invert

Font

Parity can be selected only if 7 data bits are set.Choose Odd, Even or None.

STOP BITS is the next parameter. Choose 1 or 2stop bits.

HANDSHAKE is the next parameter. Choose fromthe following settings:

BUSY-LINEBUSY-BUFFERXON/XOFF-LINEXON/XOFF-BUFFERNONE

COLUMNS is the next parameter. Select thenumber of characters per line (columns) for thisparameter. The choices you have are 24, 32, or 40.Below are samples of each:

INVERT is the next parameter. Choose YES if youwant inverted text (upside down) or NO if you wantnon-inverted text (right side up) in your printouts.Below is an example of inverted text.

FONT is the next parameter. Choose from a 5 x 5dot matrix print pattern or a 5 x 8 dot matrix pattern.The 5 x 5 dot pattern produces only upper case(capital) letters.

WP-233 Printer User’s Manual18

Mag

CUSTOM. . .

The last parameter is MAGNIFICATION. Thisrefers to the size of printed type from your printer.Your choices (with examples) are

NONE

DOUBLE WIDE

DOUBLE HIGH

DOUBLE WIDE/HIGH

After you choose one of the magnifications theprinter will print Ready. . . to show the printer is outof the configuration menu and the setup menu andis ready to print.

The next setup menu item after CONFIGURE. . . isCUSTOM. . .. With the printer in the setup menuand with CUSTOM. . . as the last item printed, ifyou press OK (right side) the printer will print thefollowing:

WP-233 Printer User’s Manual 19

If you press OK the printer will print the currentcustom setup. A sample is shown below.

This printout shows you how each item is currentlyset. Below is an explanation of each item and thechoices you can make for each.

TIME/DATE FORMAT is the next parameter.Choose from the following formats.

MM/DD/YY hh:mm ?MMM/DD/YY hh:mm ?M DOW MM = monthMM/DD/YY hh:mm DD = dayMM/DD/YY hh:mm DOW YY = yearDD-MM-YY hh:mm ?M hh = hourDD-MM-YY hh:mm ?M DOW mm = minutesDD-MM-YY hh:mm ?M = AM or PMDD-MM-YY hh:mm DOW DOW = day of weekDD/MON/YY hh:mm ?MDD/MON/YY hh:mm ?M DOWDD/MON/YY hh:mmDD/MON/YY hh:mm DOWNONE

This manualassumes the timeand date option areinstalled andoperating. If you donot have this optionyou will not seereferences to theclock or date listedin most menus.

T/D Format

This feature isavailable only onunits with the time/date option in-stalled.

WP-233 Printer User’s Manual20

AUTO TIME AND DATE is the next parameter.Your choices are

YES - autoprint after CR (carriage return)

NO - do not autoprint after CR

AUTO SEQUENCE NUMBER is the next param-eter. Choose

NO - don’t autoprint sequence number after CRYES - do autoprint sequence number after CR

ZERO is the next parameter. Choose how you wantthe zero character to look in your printouts. Choosebetween 0 and 0.

POUND SIGN is the next parameter. Choose toshow pound as # or as the British sterling poundsymbol £.

_UNDERSCORE is the next parameter. Choosewhich symbol the same ASCII code will print, an_underscore or a left arrow.

BUSY INVERT is next.Choices:

NO - voltage will be in a high state until theunit is busy then voltage level goes low.

YES - voltage will be in a low state until theunit is busy then voltage level goeshigh.

ONLINE/OFFLINE is next.Choices:

YES - enables the rocker switch to turn theprinter offline.

NO - disables the ONLINE/OFFLINE ability.

Auto T&D

Pound Sign

Zero

_Underscore

Busy Invert

Auto Seq#

Online/Offline

WP-233 Printer User’s Manual 21

XON/XOFF is next.Choices:

90/10 - The printer will send an XOFF whenthe buffer is 90% full. As the bufferempties the printer will send an XONwhen the buffer reaches 10% ofcapacity

90/80 - XOFF is sent at 90% and XON sent at80%.

EXT CH SET is next. This stands for ExtendedCharacter Set.Choices:

YES - Allows you to use hexidecimalnumbers above 80 (true only for 8data bits.)

NO - Disables the Extended Character Setability.

PRINT READY is next.Choices:

YES - Prints Ready. . . upon power up.

NO - Disables printing Ready. . .

WARNING - If you choose NO, hold the left sideof the rocker switch down for 4-6 seconds toaccess the setup menu. Begin timing when youplug the unit and the red light comes on. Thepaper feed motor does not run upon power upwhen Ready. . . is disabled.

XON/XOFF

The choice to use theextended character setis available only when 8data bits are chosen.

Ext Ch Set

Print Ready

WP-233 Printer User’s Manual22

SETCLOCK. . .

This feature isavailable only onunits with the time/date option in-stalled.

The next item in the Setup Menu is SET CLOCK. . .

With the printer in the setup menu and with SETCLOCK. . . as the last item printed, if you press OK(right side) the printer will print the following:

The printout shows the year currently in memory.The 9 is reversed (white on black) to show theposition of the cursor. This is the number whichwill be incremented if NEXT (left side) is pressed.If the number is correct press OK (right side) andthe following is printed:

The cursor now appears over the 2nd position.Press NEXT (left side) to increment this number ifneeded and OK if it is right. Continue this se-quence of accepting or changing the year, month,day, and DOW (Day Of Week).

WP-233 Printer User’s Manual 23

RESET SEQ#

When you have completed the SET DATE menuthe following is printed automatically:

Choose NEXT (left side) to increment the numberor OK (right side) to accept the 1. Repeat thissame procedure for hours and minutes as shownbelow.

When everything is as you want it and you pressOK, START CLOCK is printed. Press OK (rightside) to start the clock. The printer then printsReady. . . showing you that it is out of the setupmenu and ready to print.

RESET SEQ# is the last setup menu item. Thismenu item lets you reset the sequence number.This number is the number of print transactionssince the last reset.

With the printer in the setup menu and with RESETSEQ# as the last item printed, if you press OK(right side) the sequence number will be reset tozero and the printer will print Ready. . . showing itis no longer in the setup menu and that the printeris ready to print.

To skip resetting the sequence number to zero,press NEXT (left side). CONFIGURE. . . is printed.Unplug and replug in the printer to return toprinting mode. Ready. . . is printed.

WP-233 Printer User’s Manual24

RS-232 SerialVersion

Pin No. Signal DTE Direction Description

1 Chassis ground - Cable shield2 (TD) Transmitted From printer Printer data output line

data3 (RD) Received data To printer Printer data input line7 (SG) Signal Ground - Signal ground

10 +12VDC To printer Only w/9-12VDC option11 (CTS) Clear to send From printer Signal (equivalent to

BUSY) indicating thatprinter is ready foroperation and canreceive data.

21 Power return To printer Only w/9-12 VDC option

CommunicationThis section shows the cable differences in themodels of the WP-233 printer and the controlcodes and communication protocols.

WP-233 Printer User’s Manual 25

Serial Interface Voltage Levels

Received data: Mark = OFF = Logic “1” = -25V to -3VSpace = ON = Logic “0” = +25V to +3V

Clear to send: Busy = OFF = Logic “1” = -9VNot Busy = ON = Logic “0” = +9V

Transmitted data: Mark = OFF = Logic “1” = -9VSpace = ON = Logic “0” = +9V

1. ConnectorsOn the printer: 25-hole receptacle, equivalentto DB-25S (Canon)

On the cable: 25-pin plug, equivalent to DB-25P (Canon) Shell equivalent to DB-C2-J9(Canon)

2. CableUse cable less than 25 feet long. A shieldedcable using twisted pair conductors isdesirable.

WP-233 Printer User’s Manual26

Watertight Enclosure for WP-233 with RS-232

Pin No. Signal Direction Description

1 (SG) Signal Ground - Signal Ground2 (RD) Received

Data To Printer Printer Data Input Line3 (CTS) Clear to Send From Printer Equivalent to BUSY4 Chassis ground - Cable shield5 Ground To Printer 117 AC Ground6 Neutral To Printer 117 AC Neutral7 Hot To Printer 117 AC Hot

WP-233 Printer User’s Manual 27

Watertight Enclosure for WP-233with 12-48 Volt Option

Pin No. Signal Direction Description

1, 2 (PWR) Power To Printer ±12-48 VDC3 (CTS) Clear to Send From Printer Equivalent to BUSY4 (SG) Signal Ground - Signal ground5 (RD) Received To Printer Printer Data Input

Data Line6, 7 (PWR RTN) To Printer Power Return

8 (CG) Chassis ground - Cable Shield

WP-233 Printer User’s Manual28

20 mA CurrentLoop Version

Pin No. Signal Direction Description

1* Chassis ground - Cable shield23 (RD) Received data(-) From printer Printer data return line25 (RD) Received data(+) To printer Printer data input line

*Optional - If used, this should only be connected at one end.

WP-233 Printer User’s Manual 29

CONTROLCODES

CodeFunction Abbreviation Hex Decimal

- NUL 00 0- SOH 01 1Reserved STX 02 2Reserved ETX 03 3- EOT 04 4- ENQ 05 5Reserved ACK 06 6- BEL 07 7Back Space BS 08 8- HT 09 9Line Feed LF 0A 10- VT 0B 11- FF 0C 12Carriage Return CR 0D 13Double Height SO 0E 14Double Width SI 0F 15Reset Seq. # to 0000 DLE 10 16Inhibit Line Space DC1 11 17Dot Graphics DC2 12 18User Character DC3 13 19Reserved NAK 15 21Get time and date SYN 16 22- ETB 17 23Stop Reverse Field CAN 18 24Reverse Field EM 19 25Set Printer Config. SUB 1A 26Escape ESC 1B 27- FS 1C 2824 Column Mode GS 1D 2932 Column Mode RS 1E 3040 Column Mode US 1F 31

Printer will ignore all other control codes.

According to the American Standard Code ofInformation Interchange (ASCII), there are 32control codes in addition to the codes for theprintable characters. (Control codes are sent asdata, but the receiving device interprets them asabbreviated ‘’instructions”, communication - statusmessages, etc.)

The printer recognizes these control codes:

WP-233 Printer User’s Manual30

Back SpaceCode 8

Line FeedCode 10

Carriage ReturnCode 13

Double WidthCode 15

Double HeightCode 14

Upon receipt of this code, the printer erases fromits buffer the previously received character. This isuseful in correcting typing errors for programs thatsend data both to a video screen and the hardcopyprinter. Remember that if you type more charactersthan the printer can print on a line, the printer willautomatically start printing.

The printer handles this control code in exactly thesame manner as carriage return (control code 13)except when a line feed immediately follows acarriage return. The line feed code is ignored if it isimmediately preceded by a carriage return. Thedefault setting is 7.6 lines per inch.

Whenever a carriage return code is received, theprinter will print out the current contents of itsbuffer, then clear the buffer to get ready for addi-tional data.

This control code tells the printer to switch to thedouble height character line. The control code canbe sent at any time on a line, it need not be the firstcode received by the printer after a carriage return.

You cannot mix normal and double height charac-ters on the same line. Once you select the doubleheight, the printer will remain in that mode until itreceives a carriage return or line feed. A line printcaused by a buffer full condition will not clear thedouble height command. This means that the“wrap around” print line will also be double heightif the double height command was sent before theline buffer was filled.

This control code tells the printer to switch todouble width character printing. The control codeshould be sent as the first character on a line. If itis received after half the maximum characters perline were sent then the printer will ignore allcharacters on the last half of the line.

You cannot mix normal and double width charac-ters on the same line. Once you select the doublewidth, the printer will remain in that mode until itreceives a carriage return or line feed. A line printcaused by a buffer full condition will not clear thedouble width command. This means that the “wrap

WP-233 Printer User’s Manual 31

Enlarged PrintingCodes 14 and 15

Reset SequenceNumberCode 16

Inhibit Line Spac-ing

Code 17

Example:

Run:

around” print line will also be double width if thedouble width command was sent before the linebuffer was filled.

Enlarged printing may be selected by sending boththe double height command (code 14) and thedouble width command (control 15). The controlcodes may be sent in either order, but because ofthe double width restrictions, the codes should besent at the beginning of a line.

Example of Control Codes 14 and 15:

When the printer receives this control code it willimmediately reset the sequence number to 00000.

A standard character line is made up of ten dotlines. Eight of these dot lines are used for theprintable character and two are used for spacebetween lines. When using character graphics it isdesirable to eliminate the two blank lines so thegraphic characters connect together. Sending aCHR$(17) which is control code 17 anywhere on aline of data will stop the printer from putting spacebetween that line and the next. If a CHR$(17) is noton a print line, the normal space between lines willbe printed.

WP-233 Printer User’s Manual32

Dot GraphicsCode 18

The mechanism used in printer prints one line ofdots across at a time. This means that when it printsone line of characters it has actually printed ten linesof dots where the first eight lines make up thecharacter and the last two lines are blank for thespace between character lines. By using theCHR$(18) control code, you can tell the printer whichdots to print for one whole dot line. Since there are144 dots per line, you must follow the CHR$(18)control code with 144 bits of information. For everyplace there is a one in the 144 bit pattern you send,the printer will print a dot. Rather than receive one bitat a time the printer expects to receive the informationeight bits at a time. This means that after receiving aCHR$(18) the next eighteen 8 bit characters itreceives will be printed as dots to form one dot line.

To figure out the dot pattern values to send after theCHR$(18), you will need some grid paper. A largesheet with 144 grid boxes across would be conve-nient. If such a large sheet of paper is not available,you could divide your pattern in half and work with 72grid boxes across. Divide up your grid paper bydrawing a heavy line down every 8 boxes across.Now fill in each box of the grid that you want to beprinted. Now do the following procedure to computethe eighteen values which describe your desired bitpattern.

Imagine placing the number sequence over each ofthe first eight grid boxes.

Now add together all the numbers above the boxeswhich are filled in or have a dot as in the exampleabove. In our example, we would have 2 + 16 + 32which equals 50. The 50 becomes the first entry of adata statement which would be followed by seven-teen more numbers computed in the exact samemanner as the example.

Once you have the eighteen values in a data state-ment, you need simply run a program which PRINTSa CHR$(18) followed by the data value read from thedata statement. Don’t forget to end all of your Printstatements with semicolon. This will preventcarriage returns CHR$(13) from being sent, whichwould become part of the eighteen data values forwhich the printer is waiting.

WP-233 Printer User’s Manual 33

User ProgrammableCharacter

Code 19

By using CHR$(1) you enter the Custom Charactermode. This allows you to design and print yourown 6 x 8 character by inputting data. A DATAstatement is made of numbers that represent arow of dots which when READ all together, willmake up your character. To design your character,follow the example below. You should notice thateach number in the DATA statement correspondsto one row in your character. To design a charac-ter, follow these steps:

Example 1:

Example 2:

WP-233 Printer User’s Manual34

1. Use quad ruled paper to design your charac-ter.

2. Number 8 consecutive rows like this:

1248163264128

3. Now design your character in dot form (seethe example below).

4. Add together all the numbers from the columnon the left, counting only where you haveplaced a dot in a row. In our example, the firstcolumn has three dots located in rows 4, 8,and 16. Added together they equal 28.

5. Put your final total for each column into a datastatement in column order.

The DATA statement in your program will read:

DATA 28, 34, 65, 65, 54, 34

The next step is to tell the printer your newlydesigned character. To do this you must send aCHR$(19) followed by the six numbers youcomputed above. Here is an example of how thiscan be done.

WP-233 Printer User’s Manual 35

Set Time and DateControl Code 20

Read Timeand Date

Control Code 22

CancelReverse Field

Control Code 24

Reverse FieldControl Code 25

Set Printer Config.Code 26

After typing RUN, your custom character will bestored in the printer’s memory. It will retain thisinformation until the printer is switched off or untilyou write over the data by defining a differentcharacter.

To print your newly designed character, simplysend CHR$(126) which corresponds tohexidecimal value 7E.

This control code is used when setting theprinter’s time and date clock.

This control code is used to read the printer’s timeand date clock.

Sending this control code will turn OFF the reversefield mode that is selected using control code 25.

Send this control code to turn ON the reverse fieldprinting mode. This will print white letters on a darkbackground. Do not print more that three reversefield print lines. Also, do not print more than a fewempty spaces in a reverse field. The printer maybecome overloaded and stop printing.

This control code is used when setting theprinter’s various configuration parameters.

WP-233 Printer User’s Manual36

Selectable ColumnWidth

Codes 29, 30, 31

Printable Characters

NOTE: (ASCIIcharacters from Hex80 to FF areunsupported andwill cause problemsif you attempt toprint them.)

Printer EscapeCommand Code

Definitions

The printer powers up in the column mode lastselected by configuration. You can change thecolumn width by sending the appropriate controlcode from the list below:

Control code 29 - 24 columnsControl code 30 - 32 columnsControl code 31 - 40 columns

You can send the control code at any point on aline before the buffer becomes filled. You cannotchange column widths on the same line.

The RS-232 serial version can produce all ASCIIcharacters from hex 20 through hex 7D (decimal32 through 125). Here’s what they look like:

Note the last two codes of the usual ASCII charac-ter set are not supported. Instead, if CHR$(126),which corresponds to hexadecimal 7E, is receivedby the printer, it will print the character defined in itsRAM (Random Access Memory). The section onUSER Programmable Character describes howthis RAM can be loaded with any 6 x 8 pattern.

Command Print formatted data<ESC> 0 HH:MM 24 hour format<ESC> 1 HH:MM_?M 12 hour format with AM or

PM

<ESC> 2 MM/DD/YY month/day/year<ESC> 3 DD-MM-YY day-month-year/numeric

month<ESC> 4 DD-MON-YY day-month-year with 3

letter abbreviation of themonth

<ESC> 5 DOW day of week abbreviation<ESC> 6 currently configured format<ESC> 9 XXXX current sequence

number

WP-233 Printer User’s Manual 37

Default TableBelow is a table showing the possible values forthe Custom and Configuration menu parameters.The values shown in bold type are the defaultsettings.

Custom Menu ConfigurationMenuT/D Format 1 - None

2 - MM/DD/YY_hh:mm_?M3 - MM/DD/YY hh:mm ?M DOW4 - MM/DD/YY hh:mm5 - MM/DD/YY hh:mm DOW6 - DD-MM-YY hh:mm ?M7 - DD-MM-YY hh:mm ?M DOW8 - DD-MM-YY hh:mm9 - DD-MM-YY hh:mm DOW10 - DD-MON-YY hh:mm ?M11 - DD-MON-YY hh:mm ?M DOW12 - DD-MON-YY hh:mm13 - DD-MON-YY hh:mm DOW

Auto T&D 1 - NO (no print after CR)2 - YES (print after CR)

Auto SEQ# 1 - NO (no print after CR)2 - YES (print after CR)

Zero 1 - 0 Zero with slash2 - 0 Zero without slash

Pound 1 - # U.S. pound symbol2 - £ British pound sterling

symbol

Underscore 1 - _ Underscore2 - Left arrow

Busy Invert 1 - Non-inverted busy (CTS)2 - Inverted busy

Online/Offline 1 - switch function enabled2 - switch function disabled

Ext Ch Set 1 - NO (no extended char. set)2 - YES

Print Ready 1 - Print “Ready” message2 - Don’t print “Ready” message

Baud 1 - 3002 - 6003 - 12004 - 24005 - 48006 - 96007 - 19200

Data Bits 1 - 72 - 8

Parity 1 - ODD (none if data bits = 8)2 - EVEN (none if data bits = 8)

Stop Bits 1 - 12 - 2

Handshake 1 - None2 - BUSY-LINE (serial only)3 - BUSY-BUFF (serial only)4 - XON/XOFF-LINE (serial only)5 - XON/XOFF-BUFF(serial only)

Columns 1 - 242 - 323 - 40

Inver 1 - No (non-inverted printing)2 - YES (inverted printing)

Font Type 1 - 5x8 font2 - 5x5 font

Magnification 1 - No magnification2 - Double width3 - Double height4 - Double width, double height

➔➔➔➔➔

WP-233 Printer User’s Manual38

This page left intentionally blank.

WP-233 Printer User’s Manual 39

Avery Weigh-Tronix USA1000 Armstrong Dr.Fairmont, MN 56031 USATelephone: 507-238-4461Facsimile: 507-238-4195e-mail: [email protected]

Avery Weigh-Tronix UKFoundry LaneSmethwick, West MidlandsEngland B66 2LPTel: +44 870 90 34343Fax: +44 121 224 8183Email: [email protected] site:www.averyweigh-tronix.com

Avery Weigh-Tronix Canada, ULC217 Brunswick BoulevardPointe Claire, QC H9R 4R7 CanadaTelephone: 514-695-0380Toll free: 800-561-9461Facsimile: 514-695-6820www.weigh-tronix.ca