Epson SE450 manual Configuring the Host Computer for RS-232 Serial Interface, RS-232 Settings

Page 9

Chapter 2

Configuring the Host

Computer for RS-232

Serial Interface

This chapter describes how to configure the host computer to communicate with the

LabelWriter SE450 printer over an RS-232 serial interface.

nRS-232 Settings

nRS-232 Cabling

nRS-232 Signal Levels

For information about communicating with the host computer using the USB port, see the sample code located on the LabelWriter SE450 CD that came with the printer.

RS-232 Settings

In order for the host computer to communicate with the LabelWriter SE450 printer, the communication parameters must be set as follows:

Baud Rate

9600

Data Bits

8

Stop Bits

1

Parity

None

These settings can often be set using a BIOS setup program or an Operating System Control Panel application. For embedded applications, you may need to build these settings into the embedded system's initialization code.

Most languages provide a command or function to initialize a serial port.

If programming under Windows using Microsoft C/C++, use the function:

bios_serialcom()

Other C compilers offer a similar function. Consult your compiler user guide for the appropriate function to use to configure a serial port.

If you are using the Unix OS, you’ll need to configure the RS-232 port as a dumb printer port, with no special handling, control characters or form feeds. The LabelWriter printer will handle these functions internally.

3

Image 9
Contents Technical Reference Copyright Contents Page Character Codes Configuration Menu Printer Specifications This page intentionally left blank for double-sided printing Introduction This page intentionally left blank for double-sided printing RS-232 Settings Configuring the Host Computer for RS-232 Serial InterfaceRS-232 Cabling RS-232 Signal LevelsProgramming the LabelWriter Printer Programming OverviewCommand Parameters Resetting the PrinterCharacter Evaluation Bit Character ParametersConversions Font Specifications ObjectsPrint Modes Orientation Raster ModeText Objects Landscape ModeBarcode Objects Line Objects Graphic ObjectsAlphabetical Command List Command ReferenceESC L Position Control Commands by FunctionGS DC2 GS DC3 GS RS GS US Font ControlBarcodes MiscellaneousPrintable Characters Commands Raster Compatibility20h FFh Printable Characters CR Carriage Return DC4 Cancel Double Wide ModeESC a Return Printer Status ESC a Return Hardware StatusESC B Set Dot Tab ESC c Set Print Temperature to Low ESC d Set Print Temperature to MediumESC D Set Bytes per Line ESC E Form Feed ESC e Set Print Temperature to DefaultESC F 1 n Feed n Lines ESC g Set Print Temperature to HighESC h Set Print Speed to Fast ESC i Set Printing Speed to BarcodeESC M Set Font to 12 cpi ESC L Set Feed LengthESC P Set Font to 16 cpi ESC Q Set Top Margin ESC S Set Font to 20 cpiESC T Set Font to 7 cpi ESC U Set Font to 10 cpi ESC W Wrap Data ESC V Return Firmware RevisionESC Y Set Vertical Starting Position ESC X Set Horizontal Starting PositionESC @ Reset to Power-up Condition ESC * Reset to DefaultsESC y Set 203 x 203 dpi ESC z Set 136 x 203 dpiETB Raster Mode Compressed Graphics FF Form Feed GS DC2 Set Font to Double Height GS a Starting Position of Bar CodeGS d Feed n Text Lines GS DC3 Cancel Double HeightGS k Print Barcode GS h Set Barcode HeightUPC-A Data Matrix BarcodeSupported Square Data Matrix Symbol Sizes Supported Rectangular Data Matrix Symbol Sizes Commands Command Reference GS l Draw Line in Landscape Mode Least significant byte of the line length in dots GS L Set Feed Length GS q Print UPC/EAN Checksum GS RS Set Inverse Print ModeReturns GS S Return Printer StatusGS t Set Characters per Line in Landscape GS T Select Line Wrap/Truncate ModesGS u Set Characters per Line in Portrait GS US Cancel Inverse Print ModeGS W Set Bar Code Element Width GS V Set Print OrientationGS w Set Barcode Module Width GS ~ Enter Debug ModeGS * Landscape Mode Graphics SO Set Font to Double Wide Mode HT Horizontal TabLF Line Feed SYN Raster Mode Graphics Caret Feature Activating the Caret FeatureUsing the Caret Feature Command Reference Char Character CodesCharacter Codes CharName \ back slash DEL Name Decimal Hex Binary Caret Feature Character Codes 251 1111 252 253 254 255 This page intentionally left blank for double-sided printing Configuration Menu Configuration Menu Hardware Specifications Printer SpecificationsInterface Specifications Print Head SpecificationsPrinter Specifications Serial Interface Specifications USB SettingsThis page intentionally left blank for double-sided printing