
Chapter 3: Programming Commands32
Initialize printer
ASCII ESC @
Hexadecimal 1B 40
Decimal 27 64
Default: Character pitch: 15.6 CPI
Column width: 44 characters
Extra dot rows: 3
Character set: Code Page 437
Printing position: Column One
Clearstheprintlinebufferandresetstheprintertothedefaultsettingsforthestart-upconguration(refertoDefault
settingsabove).Datainthereceivebufferisnotcleared,andprintingpositionmovestothebeginningoftheline.
Single-wide,single-high,non-rotated,andleft-alignedcharactersareset,anduser-denedcharactersorlogographicsare
cleared.(Flashmemoryandmacrosarenotaffected.)Tabsresettodefault.Receiptselectionstateisselected.Barcode
settingsreset.Pagemodesettingsareclearedandprinterissettostandardmode.ASBisswitchedoff.
Select sensors to stop printing
ASCII ESC c 4 n
Hexadecimal 1B 63 34 n
Decimal 27 99 52 n
Value of n: Sensor status
Sensor Status
Bit Sensor 0 1
0 Receipt paper near-end Disabled Enabled
1 Receipt paper near-end Disabled Enabled
2–4 Undened
6 Undened
Bits 5 and 7 are not used.
Default: 0
Determines which sensor stops printing on the respective station. The command does not affect the paper out status on the
receiptstation,whichwillautomaticallystoptheprinterwhenthepaperisdepleted.
Enable or disable panel button
ASCII ESC c 5 n
Hexadecimal 1B 63 35 n
Decimal 27 99 53 n
Value of n: 0 = Enable
1 = Disable
Default: 0 (Enable)
Enablesordisablesthepaperfeedbutton.Ifthelastbitis0,thepaperfeedbuttonisenabled.Ifthelastbitis1,thepaper
feed button is disabled.
Exceptions
Functionsthatrequirethepaperfeedbutton(exceptfortheexecutemacro[1D5E]command)cannotbeusedwhenithas
been disabled with this command.
Komentáře k této Příručce