Amiga Realm: Web Directory Index
home knowledge base people & chat shopping entertainment internet services
 main  workbench faqs   online help   amiga next generation   networking faqs   internet faqs 

knowledge base channel: /home/knowledge base/wb3manuals/wb3 printers

Typical Printer Escape Sequences:

The following is a list of printer escape sequences for typical dot matrix printer text features:

FEATURE                         ESCAPE SEQUENCE     NAME
----------------------------------------------------------------
Reset printer                   Escc                aRIS
Initialize printer              Esc#1               aRIN
Line feed                       EscD                aIND
Return line feed                EscE                aNEL
Reverse line feed               EscM                aRI
Normal character set            Esc[0m              aSGR0
Italics on                      Esc[3m              aSGR3
Italics off                     Esc[23m             aSGR23
Underline on                    Esc[4m              aSGR4
Underline off                   Esc[24m             aSGR24
Boldface on                     Esc[lm              aSGR1
Boldface off                    Esc[22m             aSGR22
Set foreground colour           Esc[30m to Esc[39m  aSFC
Set background colour           Esc[40m to Esc[49m  aSBC
Normal pitch                    Esc[0w              aSHORPO
Elite pitch on                  Esc[2w              aSHORP
Elite pitch off                 Esc[1w              aSHORP1
Condensed fine pitch on         Esc[4w              aSHORP4
Condensed off                   Esc[3w              aSHORP3
Enlarged pitch on               Esc[6w              aSHORP6
Enlarged pitch off              Esc[5w              aSHORP5
Shadow print on                 Esc[6"z             aDEN6
Shadow print off                Esc[5"z             aDEN5
Doublestrike on                 Esc[4'z             aDEN4
Doublestrike off                Esc[3"z             aDEN3
Near Letter Quality on          Esc[2"z             aDEN2
Near Letter Quality off         Esc[1"z             aDEN1
Superscript on                  Esc[2v              aSUS2
Superscript off                 Esc[1v              aSUS1
Subscript on                    Esc[4v              aSUS4
Subscript off                   Esc[3v              aSUS3
Normalize the line              Esc[0v              aSUS0
Partial line up                 Esc1                aPLU
Partial line down               EscK                aPLD
US character set                Esc(B               aFNT0
French character set            Esc(R               aFNT1
German character set            Esc(K               aFNT2
UK character set                Esc(A               aFNT3
Danish I character set          Esc(E               aFNT4
Swedish character set           Esc(H               aFNT5
Italian character set           Esc(Y               aFNT6
Spanish character set           Esc(Z               aFNT7
Japanese character set          Esc(J               aFNI8
Norwegian character set         Esc(6               aFNT9
Danish II character set         Esc(C               aFNT10
Proportional spacing on         Esc[2p              aPROP2
Proportional spacing off        Esc[1p              aPROP1
Proportional spacing clear      Esc[0p              aPROP0
Set proportional offset         Esc[<n> E           aTSS
Auto left justify               Esc[5 F             aJFY5
Auto right justify              Esc[7 F             aJFY7
Auto full justify               Esc[6 F             aJFY6
Auto justify off                Esc[0 F             aJFY0
Letter space (justify)          Esc[3 F             aJFY3
Word fill (auto center)         Esc[1 F             aJFY1
1/8" line spacing (8 Ipi)       Esc[0z              aVERP0
1/6" line spacing (6 Ipi)       Esc[1z              aVERP1
Set form length to <n>          Esc[<n>t            aSLPP
Perf skip <n> (n >0)            Esc[<n>q            aPERF
Perf skip off                   Esc[0q              aPERF0
Left margin set                 Esc#9               aLMS
Right margin set                Esc#0               aRMS
Top margin set                  Esc#8               aTMS
Bottom margin set               Esc#2               aBMS
Top and bottom margins          Esc[<n>;<n>r        aSTBM
Left and right margins          Esc[<n>;<n>s        aSLRM
Clear margins                   Esc#3               aCAM
Set horizontal tab              EscH                aHTS
Set vertical tabs               EscJ                aVTS
Clear horizontal tab            Esc[0g              aTBC0
Clear all horizontal tabs       Esc[3g              aTBC3
Clear vertical tab              Esc[lg              aTGB1
Clear all vertical tabs         Esc[4g              aTCB4
Clear horizontal/vertical tabs  Esc#4               aTBCALL
Set default tabs                Esc#5               aTBSALL
Extended commands               Esc[<n>"<x>         aESTEND


terms of service ]  contact form ]  help & info ]  acknowledgements ] 
 Copyright ©2000-2021 Amiga Realm Smart Directory Service. All Rights Reserved. Serve Cool Design.