Epson SE450 manual Text Objects, Landscape Mode

Page 16

Programming Overview

Certain commands are disabled or work differently while the printer is in portrait mode. Exact details can be found with each command’s description.

Landscape Mode

By using the set print orientation command (GS V), you can configure the LabelWriter printer for landscape printing. In landscape printing, text characters travel out of the printer from the left side of the character to the right. Before the printer can be switched to landscape printing though, you must send the set characters per line command (GS t). The set characters per line command defines the width of the landscape page.

A landscape page is defined as the area allocated by the LabelWriter printer in which landscape text, graphics, barcode, and line objects may be printed. The height of this landscape page always equals the width of the print head. The width of the landscape page is calculated when the set characters per line command (GS t) is sent. The width of the page is equal to the number of characters per line multiplied by the width of the current font. The default font is 16 dots wide (2 mm) and the default number of characters per line is 80.

In landscape mode, completed objects are placed within a memory buffer in the printer and are only printed when the landscape page is terminated. A form feed (FF) character is normally used to terminate a landscape page. This causes the printer to print the objects that have been placed on the landscape page and advance to the next label.

After a landscape page is printed, the LabelWriter printer will remain in landscape mode. If more objects are sent to the printer, a new landscape page will be allocated, with a width equal to the previous page. To change the width of a landscape page, you must send the set characters per line command (GS t) followed by the set print orientation command (GS V).

Because the LabelWriter printer does not print objects immediately, multiple objects can be placed on the same line. The set horizontal starting position (ESC X) and set vertical starting position (ESC Y) commands allow objects to be placed at any location within a landscape page. In the case of objects that are positioned to overlap each other, the first object that is sent to the printer will be printed in the overlapping area.

Objects that would normally print below the bottom of the landscape page can be either wrapped to the next label or truncated by using the select line wrap/truncate modes command (GS T).

Unless the set vertical starting position command (ESC Y) is used, the first object sent will be printed at the top of the landscape page. When printing to a label that is narrower than the print head, the top of the landscape page will be above the top of the label. In this case, you should use the set vertical starting position command (ESC Y) to position the object on an area of the landscape page that corresponds to the label.

Text Objects

A text object is simply a line of printable characters. A text object is created whenever the LabelWriter printer receives a printable character that is not otherwise part of a command. Once it’s created, a text object will remain active until it is terminated.

While a text object is active, any printable characters sent to the printer will be added to that text object. The only exceptions are printable characters that are sent as part of a

10

Image 16
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 Configuring the Host Computer for RS-232 Serial Interface RS-232 SettingsRS-232 Signal Levels RS-232 CablingProgramming Overview Programming the LabelWriter PrinterResetting the Printer Command ParametersCharacter Evaluation Bit Character ParametersConversions Objects Font SpecificationsPrint Modes Raster Mode OrientationLandscape Mode Text ObjectsBarcode Objects Graphic Objects Line ObjectsCommand Reference Alphabetical Command ListESC L Commands by Function Position ControlFont Control GS DC2 GS DC3 GS RS GS USMiscellaneous BarcodesPrintable Characters Raster Compatibility Commands20h FFh Printable Characters DC4 Cancel Double Wide Mode CR Carriage ReturnESC a Return Hardware Status ESC a Return Printer StatusESC B Set Dot Tab ESC d Set Print Temperature to Medium ESC c Set Print Temperature to LowESC D Set Bytes per Line ESC e Set Print Temperature to Default ESC E Form FeedESC g Set Print Temperature to High ESC F 1 n Feed n LinesESC h Set Print Speed to Fast ESC i Set Printing Speed to BarcodeESC L Set Feed Length ESC M Set Font to 12 cpiESC P Set Font to 16 cpi ESC S Set Font to 20 cpi ESC Q Set Top MarginESC T Set Font to 7 cpi ESC U Set Font to 10 cpi ESC V Return Firmware Revision ESC W Wrap DataESC X Set Horizontal Starting Position ESC Y Set Vertical Starting PositionESC * Reset to Defaults ESC @ Reset to Power-up ConditionESC y Set 203 x 203 dpi ESC z Set 136 x 203 dpiETB Raster Mode Compressed Graphics FF Form Feed GS a Starting Position of Bar Code GS DC2 Set Font to Double HeightGS DC3 Cancel Double Height GS d Feed n Text LinesGS h Set Barcode Height GS k Print BarcodeData Matrix Barcode UPC-ASupported 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 RS Set Inverse Print Mode GS q Print UPC/EAN ChecksumGS S Return Printer Status ReturnsGS T Select Line Wrap/Truncate Modes GS t Set Characters per Line in LandscapeGS US Cancel Inverse Print Mode GS u Set Characters per Line in PortraitGS V Set Print Orientation GS W Set Bar Code Element WidthGS ~ Enter Debug Mode GS w Set Barcode Module WidthGS * Landscape Mode Graphics HT Horizontal Tab SO Set Font to Double Wide ModeLF Line Feed SYN Raster Mode Graphics Activating the Caret Feature Caret FeatureUsing the Caret Feature Command Reference Character Codes CharCharacter 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 Printer Specifications Hardware SpecificationsInterface Specifications Print Head SpecificationsPrinter Specifications USB Settings Serial Interface SpecificationsThis page intentionally left blank for double-sided printing