Printronix PSA3, P7000 H-Series manual Set Relative Horizontal Print Position, Set Right Margin

Page 72

Chapter 3 Configuring The KSSM Emulation With Control Codes

Set Relative Horizontal Print Position

ASCII Code

ESC \ n1 n2

Hex Code

1B 5C n1 n2

Dec Code

27 92 n1 n2

Purpose

Moves the horizontal print position left or right from the current

 

position.

 

For right movement: horizontal position = n2 * 256 + n1.

 

For left movement: horizontal position = 65536 - (n2*256 + n1).

 

Where:

 

0 <= n1 <= 127

 

0 <= n2 <= 255

Comment

The printer ignores this command if the command would move

 

the print position outside the printing area.

 

The default defined unit for this command is according to the

 

current density: 1/120 inch for Near LQ and 1/180 inch for LQ,

 

Normal, Hi-Speed, Super Hi-Speed, and Ultra Hi-Speed.

Set Right Margin

ASCII Code

ESC Q n

Hex Code

1B 51 n

Dec Code

27 81 n

Purpose

Sets the right margin to n columns in the current character

 

pitch, as measured from the left-most printable column.

 

Where:

 

1 <= n <= 255

 

left margin < (current pitch) * n < printable area width

Comment

In DBCS mode, the right margin will be set according to the

 

width of the DBCS character.

 

This command affects the front panel setting of “Right Margin.”

 

The default depends on the power-up configuration.

72

Image 72
Contents Programmer’s Reference Manual Page Page Trademark Acknowledgements Table Of Contents Table Of Contents Set Intercharacter Spacing of Dbcs Character Standard Ascii Character Set Code Table Software Features About This ManualRelated Product Information Software Features Introduction Control PanelPrinting The Configuration Printing The ConfigurationPrinting Configurations Step Key Result Allows you to make configuration changesLocks the Enter key Configuration Menu Configuration Menu OverviewMoving Within The Configuration Menu Configuration MenuChanging Configurations Step Key Result To USE Current Configuration Without Saving Saving Your New Configuration If you are already in the configuration menu, go to step Configuration Menu Saving Configurations Step Key Result LinePrinter Plus Menu LinePrinter Plus MenuCPI/LPI Select Font Attributes Form Length Form WidthMargins Perforation SkipKssm Emulation Kssm EmulationDefine CR Code Kssm Emulation Exceptions And DifferencesDefault Values And States Factory Settings Characteristic Default SettingEscape Sequences FS SequencesConfiguring The Kssm Emulation With Control Codes Super-Set CommandsSet And Reset Codes Format For Control Code DescriptionsSetting the Page Format Setting the UnitsControl Code Index Control Code IndexSelecting Characters Control-code Character PrintingMechanical Control Hangul Extension Commands Printing GraphicsData and Memory Control Advance Print Position Vertically Align Sbcs Character with Dbcs CharacterCancel The Alignment of Sbcs Character With Dbcs Character Cancel The Alignment of Sbcs Character WithBackspace Ascii Code Hex Code Dec Code PurposeBarcode Printing Ascii Hex Selects BarcodeBarcode Printing Ascii Selects Value Offset unitInch UPC-A UPC-E EAN Cancel Line BeeperCarriage Return BeeperDefine Pattern for Special Printing Effect Define User-Defined CharacterDefine User-Defined Chinese Character Delete Last Character in BufferDefine User-Defined Chinese Character Hex Code Dec CodeEnable Printing of Upper Control Codes Divided Hangul Double HeightEnable Upper Control Codes Enable Upper Control CodesFont Expansion Form Feed Graphic PrintingGraphics Printing Select Bit Image Initialize PrinterGraphics Printing Select Bit Image Line Feed Master Select Master SelectAscii Code ESC ! n Hex Code Bit On/Off Hex Dec Function EquivalentMaster Select In Dbcs Mode Ascii Code FS ! n Hex CodeMaster Select One-Line Attribute In Dbcs Mode Master Select One-Line Attribute In Dbcs ModePair Two Characters in Vertical Printing Bit On/Off Hex Dec FunctionReassign Bit-image Mode Select 1/6-inch Line SpacingSelect 1/8-inch Line Spacing Select 10 CPI Select 12 CPISelect 15 CPI Select 10 CPISelect 60-dpi Graphics Select 120-dpi GraphicsSelect 240-dpi Graphics Select 120-dpi GraphicsSelect an International Character Set USASelect Bit Image Select Bit ImageCancel Bold Font Select Bold FontSelect Character Style Select Character Table Select Condensed PrintingSelect Character Table Ascii Code ESC t n Hex CodeCancel Condensed Printing Cancel Double-strike Printing Select Dbcs Print QualitySelect Double-strike Printing Select Dbcs Print QualityCancel Double-width Printing One Line Select Double-width Printing One LineSelect Double-width Printing in Dbcs Mode One Line Cancel Double-width Printing in Dbcs Mode One LineSelect Double-width Printing in Dbcs Mode One Select Dbcs Mode Cancel Dbcs ModeSelect Hangul Myunjo/Gothic Style Ascii Code Hex CodeCancel Italic Font Select Italic FontSelect Print Quality Select Italic FontSelect Printer Deselect PrinterSelect Superscript/Subscript Printing Cancel Superscript/Subscript Printing Cancel Superscript/Subscript PrintingSelect Dbcs Super/Subscript Printing Select Vertical PrintingCancel Vertical Printing Select Horizontal Printing Set n/60-inch Line SpacingSet n/180-inch Line Spacing Cancel Bottom Margin Set Absolute Horizontal Print PositionSet Bottom Margin Set Absolute Horizontal Print PositionCancel Dbcs Character Half Width Super/Subscript Printing Set Dbcs Character Half WidthSet Horizontal Tabs Ascii Code ESC D n1 n2 … nk NULSet Intercharacter Space Set Intercharacter SpaceSet Left Margin Set Page Length In Inches Set Page Length In LinesSet Page Length In Inches Set Relative Horizontal Print Position Set Right MarginSet Vertical Tab Channels Set Vertical TabsSet Vertical Tab Channels Ascii Code ESC B n1 n2 … nk NULSet Vertical Tabs In VFU Channels Ascii Code ESC b m n1 … nk NULDec Code 27 98 m n1 … nk Tab Horizontally Tab VerticallyTab Horizontally Turn Auto-wrap Around On/Off Turn Double-Height Printing On/OffTurn Double-Width, Double-Height Printing On/Off Turn Double-Width Printing On/OffTurn Double-Width, Double-Height Printing On/Off Turn Extending Table Character On/Off Turn On/Off Ocrb SelectionAscii Code Assc 0 z n Turn Proportional Mode On/Off Turn Proportional Mode On/OffTurn Underline On/Off Turn Underline On/Off Hangul Extension Standard Ascii Character Set Appendix a Code Table Korean Standard Code Table KSC5601Appendix B Code Table Korean Standard Code Table KSC5601 Appendix B Code Table Korean Standard Code Table KSC5601 Appendix B Code Table Korean Standard Code Table KSC5601 Appendix B Code Table Korean Standard Code Table KSC5601 Appendix B Code Table Korean Standard Code Table KSC5601 Appendix B Code Table Printronix Customer Support Center Printronix Supplies DepartmentCorporate Offices Appendix C Contact InformationIndex Page Page 100 Page 179981-001