Configuration of the Bluetooth radio and software is
accomplished using the Bluetooth Configuration Commands
listed in this appendix.
6822 Series 80-Column Printer User’s Manual133
Appendix B — Bluetooth Configuration Commands and Specifications
Using Configuration Commands
All printable characters can be entered directly via the keyboard. Any
non-printable characters are entered in binary data format.
Numbers are in decimal format except numbers with:
•an h suffix are in hexadecimal
•a “0x” prefix are in hexadecimal
•a “b” suffix are in binary
Binary data format is any non seven-bit ASCII data to transmit to the
module is encoded in the Internet percent notation. Any hex byte to
transmit is preceded by the “%” sign and encoded in hex ASCII. T o send
the value 0xF5, the “%F5” bytes are transmitted. The “%”character is
always transmitted as “%25”. Thus, a Bluetooth address could transmit
as “%00%E0%03%45%F4%6D”.
Generic format:
<command character><command type><command payload><CR>
<command character> is one character from the set: [A-Z]
<command type> is one character for the set: [0-9]
<command payload> is variable in length.
<CR> is the command terminator.
The <command payload>is formed from printable ASCII characters
from the code range 0x20 to 0x7E.
Codes outside of this range are escaped using the percent (%) character
followed by two hexadecimal digits.
The percent character is always represented by the three characters %25.
The command terminator is character code 0x13 (carriage return), or
character code 0x10 (line feed), or character codes 0x13, 0x10 (carriage
return, line feed).
An example command to set the friendly name to “Len’s 100% serial
module”:
F0Len’s 100%25 serial module<CR>
Character codes outside of the range of 0x20 to 0x7E are ignored.
When using percent (%) to form hexadecimal character codes there must
be exactly two hex digits using characters: [0-9, A-F, a-f]. Characters
outside of this range cause the command to fail.
1346822 Series 80-Column Printer User’s Manual
•Commands that fail return the four character sequence NAK<CR>
•Commands that are accepted return the four character sequence
ACK<CR>
•Commands that return payload data use the format:
<command character><command type><command payload><CR>
<command character> is one character from the set: [a-z]
<command type> is one character for the set: [0-9]
<command payload> is variable in length.
<CR> is the command terminator.
The command character is the lower case version of the local host
command.
Operating Modes
The module interface has two modes:
•Bluetooth Link Active State
In this case the Serial Interface looks like a raw serial port (TxD,
RxD, CTS, etc. and GND). There is no intelligence in the Bluetooth
module from the serial interface perspective. This mode does not
support the command and control modes described below.
•Bluetooth Link Inactive State
This mode exists when a Bluetooth link does not exist. In this case,
the serial interface looks like a serial port that supports a number of
command and control modes.
Appendix B — Bluetooth Configuration Commands and Specifications
On reset, the unit comes up in Bluetooth Link Inactive state. After the
first Bluetooth connection, the unit goes into Bluetooth Link Active
state. It stays in this state until the link is lost because the Master shuts it
down or there is an out-of-range condition, it then returns to the
Bluetooth Link Inactive state.
6822 Series 80-Column Printer User’s Manual135
Appendix B — Bluetooth Configuration Commands and Specifications
Command and Control Modes
Query Mode Commands
CommandFunction
?<CR>Read ACK
?F0<CR>Read Friendly Name
?L<CR>Read Security Mode
?C0<CR>Read Connectable Mode
?C1<CR>Read Page Scan Timing
?D0<CR>Read Discoverable Mode
?D1<CR>Read Inquiry Scan Timing
?S1<CR>Read Class of Device
?S2<CR>Read Service Name
?S4<CR>Read PIN Code
?T0<CR>Read Shutdown Timeout in minutes
?B0<CR>Read Bluetooth Addresses of all the paired
devices
Example Commands
CommandReply
“?<CR>“”ACK<CR>”
“?F0<CR>”“f0MyFriendlyName<CR>”
“?L<CR>”“10<CR>” Turn off Encryption,
Authentication, and Exclusion
“11<CR>” Authentication
“12<CR>” Encryption and Authentication
“13<CR>” Encryption, Authentication,
Appendix B — Bluetooth Configuration Commands and Specifications
Note: These commands are only available over the serial link,
not over the air and are not available when the device is in the
“Bluetooth Link Active State.”
Set Local Bluetooth Device Name
Command
Definition
Default
Example
F0<Device Friendly Name><CR>
“Device Name” — String up to 254 bytes long
“6822-DDEEFF” where DDEEFF is from the
(AABBCCDDEEFF) Bluetooth device address
“F01Len’s 100%25 serial module<CR>“
This sets the name to “Len’s 100% serial module.”
Set Class of Device/Service Field
Command
Description
Example
S1< Class of Device/Service field >
The Class of Device/Service (CoD) field is a 24-bit
field defined in the Bluetooth Assigned Numbers
document. This field is sent in a HEX ASCII
format, most significant byte first.
“S1001F00<CR>” is a common Class of Device
value for a basic serial device.
Set Service Name
Command
Description
Definition
Default
Example
S2<Service Name>
Sets the service friendly name to send to the remote
Bluetooth device in response to a service discovery
request. The length of the service name is limited to
32 bytes.
Profile Name — text name entered into the SDP
record for the serial port profile
“Wireless Printer”
“S3Acme Printer<CR>”
Connectable On/Off
Command
Description
6822 Series 80-Column Printer User’s Manual137
C0 <ON|OFF><CR>
Sets the device into “connectable” mode
Appendix B — Bluetooth Configuration Commands and Specifications
Example
“C0OFF<CR>” — Become non-connectable
“C0ON<CR>” — Become connectable
Specify Page Scan Timing
Command
Description
Default
Example
Note: To enable scanning, the values for Interval and Window
must be in the range of 18 to 4096. The Window value must be
less than the Interval value. Both values must be zero to disable
scanning.
Note: Modifying Page Scan Timing can improve connection
times, but may adversely affect battery performance.
C1<Page_Scan_Interval>,<Page_Scan_Window><
CR>
Sets the Page Scan timing parameters
4096,18
“C11024,512<CR>”
Enable Discoverable
Command
Description
Example
D0 <ON|OFF><CR>
Sets the device into “discoverable” mode
“D0OFF<CR>” — Become non-discoverable
Sets the Inquiry Scan timing parameters
4096,18
“D11024,512<CR>“
Appendix B — Bluetooth Configuration Commands and Specifications
Set Encryption/Authentication: “PIN CODE”
Command
Description
Default
Example
S4<PIN code>
PIN Code — Pin code can be NULL and as long as
16 characters
“S4%00”
NULL PIN code
“S4MyPinCode <CR>”
Manage Security Modes
This command controls the security access mode and device pairing.
The modes available are:
•L0 Disable encryption, authentication and exclusion
•L1 Enable authentication
•L2 Enable encryption and authentication
•L3 Enable encryption, authentication and exclusive
Mode L0 allows any remote device to connect.
Mode L1 require the remote device to be authenticated by a PIN request.
The PIN code for the module is set to a user–specified value with the S4
command. Currently the default PIN is the NULL string.
Mode L2 adds encryption to the Bluetooth link.
Mode L3 adds exclusive connection to one specific Bluetooth device.
In this mode only connection requests from the initial device are
allowed. Connections from other devices are rejected even if they supply
the correct PIN code.
Device pairing and bonding are associated with this command and works
as follows:
After an L command is executed the current device pairing and bonding
is deleted. The next device to connect becomes paired and bonded to the
module.
In Modes L1 and L2, other devices are allowed to connect but only the
first device to connect is paired and bonded. Other devices are always
required to supply a PIN code to complete the connection.
6822 Series 80-Column Printer User’s Manual139
Appendix B — Bluetooth Configuration Commands and Specifications
In Mode L3, only one device is allowed to connect. This device is paired
and bonded and needs to supply the PIN code only on the initial
connection.
Note: Some of the Bluetooth user interfaces cannot supply a
NULL string as a PIN code. Use the S4 command to specify a
PIN code that is not NULL.
Read Module Version
Command
Description
V0<CR>
Displays the firmware build version currently
running
Example
“V0<CR>“
Returns: “v1yyyymmddHHMM<CR>”
Note: This command responds with the requested data, only
not the “ACK<CR>”.
Read Local Device Address
Command
Description
Returns
Note: This command responds with the requested data, only
not the “ACK<CR>”.
Example:
Sent: “V1<CR>“
Received: ”v1%00%2C%C6%03%45%39”
V1<CR>
Displays the local device address
“v1%xx%xx%xx%xx%xx%xx<CR>”
1406822 Series 80-Column Printer User’s Manual
Appendix B — Bluetooth Configuration Commands and Specifications
Set Shutdown Timing
Command
Description
Range
Default
Example
T0<Time in Minutes><CR>
“Time” – Integer value – 0 implies never expire the
timer
0-270 minutes
120
“T0120<CR>” This sets the shutdown timer to 120
minutes.
Clear Link Key Table
Command
Description
Default
Example
B0<CLR><CR>
Clear Pair or Bonding command cleans up
all of the link key and Bluetooth address
combination PSKEYs.
None
“B0CLR<CR>” This clears all saved link
keys.
Understanding Adapter States or Modes
The Bluetooth adapter connects to an internal serial port of the 6822,
providing serial print data over a transparent Bluetooth link, running a
Serial Port Profile (SPP).
Printing is primarily accomplished over a Bluetooth link using the SPP
protocol with a 700 Series or CK60 Mobile Computer. If the relevant
printer configuration allows it, a 700 Series or CK60 in a terminal holder
charges normally.
6822 Series 80-Column Printer User’s Manual141
Appendix B — Bluetooth Configuration Commands and Specifications
The Bluetooth adapter allows for four states or modes to be available. Each
state is dependent upon either the pin states on the terminal holder
connector or the programming connector on the adapter described later.
Bluetooth Adapter States or Modes
HHC_A/B
State State/mode
1Bluetooth Printing00Bluetooth printing/Bluetooth self-test
2Pass–through printing01Printing from 700 Series or CK60s allowed
3Bluetooth
Reconfiguration
4Bluetooth programming
cabled
pin
10Reconfiguring Bluetooth module via 700
XXProgramming Bluetooth module via
HHC_DTR
pinComments
to pass through the Bluetooth adapter
transparently.
Series or CK60s.
programming cable
•State 1 - In addition to allowing no rmal Bluetoo th p r intin g, t his st ate
also allows for a 700 Series or CK60 in the terminal holder to
perform a Bluetooth self-test.
•State 2 is a Transparent Pass Through mode available for all 700
Series and CK60s. During this mode, the Bluetooth module is shut
down and does not communicate.
•State 3 (Bluetooth reconfiguring using a 700 Color (730, 740, 741,
750, 751, 760, 761) or CK60). This state is unavailable when a 700
Monochrome (705, 710, 720) is used, since the A/B pin is
unavailable.
•State 4 allows for programming the Bluetooth module via its SPI
pins. This state is also used for manufacturing tests. To be in this
state, the 700 Series or CK60 must not have an open terminal holder
COM port and the specially designed programming adapter must be
engaged.
The interfaces on the Bluetooth adapter that allow for the different
modes are detailed below:
1426822 Series 80-Column Printer User’s Manual
Appendix B — Bluetooth Configuration Commands and Specifications
700 Series or CK60 to 6822 Pass Through
Note: Pass through printing requires shutting down the
Bluetooth portion of the adapter. To reenable Bluetooth
functionality after you finish pass through printing, press a
button on the control panel to wake the printer.
When DTR on the 700 Series or CK60 is set, the adapter board
automatically opens a path between the 700 Series of CK60 and the 6822
Transition/DC Board and powers down the Bluetooth module. Testing
the DSR pin to reflect DTR allows the mobile computer to differentiate
between a Bluetooth-equipped terminal holder and a non-Bluetooth
equipped terminal holder.
700 Series, CK60, or CN3 to Bluetooth Module
Communication Interface
The Bluetooth adapter allows a 700 Series, CK60, or CN3 to
communicate directly with the Bluetooth module under two
circumstances.
•When the configuration settings of the Bluetooth module are to print.
•When the Bluetooth module requires reconfiguration.
6822 Series 80-Column Printer User’s Manual143
Appendix B — Bluetooth Configuration Commands and Specifications
Power Management Flow Diagram
Bluetooth Power Management Flow Diagram
1446822 Series 80-Column Printer User’s Manual
Appendix B — Bluetooth Configuration Commands and Specifications
Radio Power On/Off Mechanism
Note: The shutdown timer configuration is addressed in
Appendix A “Bluetooth Configuration Commands”.
As stated earlier, the Bluetooth adapter, including the Bluetooth radio
shuts down after a configurable time (default is two hours of idle time).
To wake the Bluetooth adapter, the 6822 is powered on by any button
push on the printer control panel. There are two ways to shutdown the
Bluetooth module power:
•A 700 Series, CK60, or CN3 initiates a pass through mode, or
•The Bluetooth module sends a shutdown signal after a configurable
amount of time. Default is two hours of idle time.
Note: The adapter complies with Bluetooth 1.1 specification,
including bonding for authentication and enabling encryption.
Persistent Storage
These settings do not reset after a cold–boot is performed on the printer:
•Bluetooth Bonding Enable/Disable
•Bluetooth Encryption Enable/Disable
•Bluetooth Passkey
•Bluetooth Bonding List (Link Keys)
•Bluetooth Device Name
•Bluetooth Class of Device
•Discoverable setting
•Connectable setting
•Radio Shutdown Timer Timeout (default two hours of idle time)
System Behavior/Software Considerations
•Discoverability — The default mode is Discoverable.
When configured to be discoverable, the adapter is discoverable at all
times, except when:
•an active Bluetooth connection exists
6822 Series 80-Column Printer User’s Manual145
Appendix B — Bluetooth Configuration Commands and Specifications
•you have just completed a “pass-through printing” print job
•the shutdown time has elapsed (default shutdown time is two
hours).
•Connectability — The default mode is connectable.
When configured to be connectable, the printer is connectable at all
times, except when:
•an active Bluetooth connection exists
•you have just completed a “pass-through printing” print job
•the shutdown time has elapsed (default is two hours).
•Link Loss — The 6822 Bluetooth adapter is able to recover from
broken Bluetooth connections, including out-of-range, interference,
power failure, or other conditions resulting in a broken connection. It
returns to its previous Discoverable/Connectable state after a lost
connection.
•Master/Slave — Printer participates in a Bluetooth connection as the
slave device.
•The Class of Device is 0x040680 which translates to a Service Class
of Rendering, a Major Device Class of Imaging, and a Minor Device
Class of Printer.
•The 6822 Bluetooth includes an SDP record that allows the printer to
report an SPP instance with a service name of Wireless Printer.
•The default Bluetooth device name is 6822-DDEEFF, where
DDEEFF matches the respective portion of the Bluetooth device
address (AA:BB:CC:DD:EE:FF). If the printer the adapter is
connecting to is known, the service name is changed to 6822-SN,
where SN is replaced with the serial number of the 6822.
•The 6822 Bluetooth adapter can save 16 link keys across cold boots.
Link keys are saved in a circular list. The 17th link key replaces the
first, the 18th replaces the 2nd, and so on.
Remote Configuration
You can query the following items:
•Discoverable State [Get/Set]
•Connectable State [Get/Set]
1466822 Series 80-Column Printer User’s Manual
Appendix B — Bluetooth Configuration Commands and Specifications
•Bondable State [Get/Set] (Authentication)
•Encryption State [Get/Set]
•Device Name [Get/Set]
•Device Address[Get]
•Class of Device[Get/Set]
•Service Name [Get/Set]
•Bluetooth Profile [Get]
•Bluetooth Passkey [Set] (Get the fact that it is set)
•Radio Shutdown Timeout
Bluetooth Performance
•Range — Operating range is expected to range from a minimum
separation of 10 cm to over 10 m with a 700 Color or CK60.
•Link Loss can occur when going in or out of range while
communicating with other Bluetooth devices.
Diagnostics Capabilities
The Bluetooth radio settings are available to a user. The 6822 Bluetooth
adapter sends a printout of Bluetooth information to the printer upon
receiving a message from a 700 Series or CK60 in a terminal holder. An
example self-test is shown below:
6822 Bluetooth Adapter
Firmware:Version YYYY MMDD HHMM
Quasi-Random 3 axis12 g RMS, for 4 hours
Dynamic Induced Shock20 g on 3 axis
Operating1 G 5 Hz to 80 Hz
Storage3 G 5 Hz to 80 Hz
When packed
Frequency5 to 55 Hz
Acceleration2 G
6822 Series 80-Column Printer User’s Manual149
Appendix B — Bluetooth Configuration Commands and Specifications
Vibration Test Results (continued)
Te stComments
Sweep10 minutes (half cycle)
Duration1 hour
Directionsx, y, and z
No external or internal damage should be found after the vibration test,
and the unit should operate normally.
Unpackaged Drop
2 feet to concrete
Terminal Inspection
Minimum of 30,000 insertions for the terminal holder.
Safety/Regulatory/Agency Requirements
The Bluetooth adaptor must meet the electrical safety requirements for
Information Technology Equipment. The test configuration must include a
portable computer connected to the 6822, continuously printing the letter
H. At least 6dB of margin below the relevant limits must be demonstrated.
Safety, Regulatory, Agency Requirements
OptionRequirement
Product SafetyUL Listed per UL 1950 / UL 60950 (printer and AC power supply) CSA
C22.2, No. 950
TUV/GS License per EN 60950 (printer, AC power supply)
CB Report for EN 60950 covering all country deviations (Printer, ac
power supply)
UL 2089 (for cigarette lighter-style adapters)
Vehicle Power InterfacesSAE J1113 or ISO 7637
EMC
Digital device radiated and
conducted emissions
EN 55024 ImmunityIEC 61000-4-2Electrostatic Discharge
(Europe)IEC 61000-4-3Radiated RF Field
1506822 Series 80-Column Printer User’s Manual
FCC Class B (US); Industry Canada ICES-003 Class B (Canada)
CISPR 22 Class B, including telecom port conducted (Europe)
AS/NZS 3548 (Australia/New Zealand); CNS 13438 (Taiwan)
Appendix B — Bluetooth Configuration Commands and Specifications
2.4835GHz)
RSS-102 (Canada) - RF Exposure/SAR. Keep antennas more than 8
inches from operator to avoid SAR testing
EN 300 328-1 & -2; EN 300 489-1 & 17 (Europe).
SCT (Mexico)
IEC950 2nd Edition, 4th Amendment or IEC 60950 3rd Edition,
resulting in a GS Mark and a CB Report addressing all country
deviations
S Mark for Argentina for any device connecting directly to the AC
mains·
CCIB Approval for China for any device connecting directly to the AC
mains·
Mexico NOM 19 as applicable
6822 Series 80-Column Printer User’s Manual151
Appendix B — Bluetooth Configuration Commands and Specifications
Default Configuration
Default Configurations
SettingDefault
Bluetooth AuthenticationOff
DiscoverableTrue
ConnectableTrue
Class of Device0x040680
Service NameWireless Printer
Device Name6822-DDEEFF
Baud Rate19,200
Data Bits8
Stop Bits1
ParityNone
HandshakingHardware
Radio Shutdown Timeout120 minutes
1526822 Series 80-Column Printer User’s Manual
C
Cross-Reference Tables
A set of cross-reference tables are provided to assist you in
locating control codes and escape sequences. The default settings
are also included.
6822 Series 80-Column Printer User’s Manual153
Appendix C — Cross-Reference Tables
Control Codes and Escape Sequences
The following table contains a complete alphabetized list of control codes,
including single character control codes and escape sequences, as an aid to
locating the control codes defined in Chapter 5 “Control Code
Definitions”or detailed definitions of these control codes, refer to the pages
shown in the Page column of this table.
Control Codes and Escape Sequences Index
DescriptionCategoryPage
A Absolute Print Position, SetGeneral Printer Control<Hyper
Select Unidirectional Printing (one line only)General Printer Control<Hyper
User Defined Characters:
Copy ROM to RAMChar. Sets, User Defined<Hyper
Define User-Defined CharactersChar. Sets, User Defined<Hyper
link10>
page 79
link10>
page 80
link10>
page 81
link10>
page 64
link10>
page 66
link10>
page 78
link10>
page 78
link10>
page 67
link10>
page 67
link10>
page 67
link10>
page 86
link10>
page 86
1686822 Series 80-Column Printer User’s Manual
Appendix C — Cross-Reference Tables
Control Codes and Escape Sequences Index (continued)
DescriptionCategoryPage
Disable Printing of Character GraphicsChar. Sets, User Defined<Hyper
Disable Printing of Codes 128-255Char. Sets, User Defined<Hyper
Enable Printing of Character GraphicsChar. Sets, User Defined<Hyper
Enable Printing of Codes 128-255Char. Sets, User Defined<Hyper
Expand Printable Code AreaChar. Sets, User Defined<Hyper
Print Character GraphicsChar. Sets, User Defined<Hyper
Select Default Character SetChar. Sets, User Defined<Hyper
Select User-Defined Character SetChar. Sets, User Defined<Hyper
V Ve r ti c al :
Clear Vertical TabsTabs and Tab Setting<Hyper
Clear Vertical Tabs in ChannelTabs and Tab Setting<Hyper
Perform Vertical TabTabs and Tab Setting<Hyper
Select Vertical Tab ChannelTabs and Tab Setting<Hyper
Set Vertical TabsTabs and Tab Setting<Hyper
link10>
page 90
link10>
page 88
link10>
page 89
link10>
page 88
link10>
page 88
link10>
page 90
link10>
page 87
link10>
page 87
link10>
page 80
link10>
page 81
link10>
page 80
link10>
page 81
link10>
page 80
6822 Series 80-Column Printer User’s Manual169
Appendix C — Cross-Reference Tables
Control Codes and Escape Sequences Index (continued)
DescriptionCategoryPage
Set Vertical Tabs in ChannelTabs and Tab Setting<Hyper
W Wide:
Cancel Double Wide (expanded) ModeChar. Style & Text Mode <Hyper
Cancel Double Wide Mode (one line only)Char. Style & Text Mode <Hyper
Select Double Wide (expanded) ModeChar. Style & Text Mode <Hyper
Select Double Wide Mode (one line only)Char. Style & Text Mode <Hyper
Single Character Control Code Definitions
This table contains control codes between 00h and 7Fh, and provides
definitions for the ASCII symbols as used in the table on the next page and
in format definitions in Chapter 5 “Control Code Definitions”.
Single Character Control Code Definitions
link10>
page 81
link10>
page 73
link10>
page 73
link10>
page 73
link10>
page 72
DecHexASCIIDescriptionPage
000NULUsed as a terminator for several escape sequences.
101SOH
202STX
303ETX
404EOT
505ENQ
606ACK
707BELBeeper: sounds buzzer for 1/10 of a second.<Hyper
link10>
page 63
1706822 Series 80-Column Printer User’s Manual
Appendix C — Cross-Reference Tables
Single Character Control Code Definitions (continued)
DecHexASCIIDescriptionPage
808BSBackspace: moves printhead one space to left.<Hyper
909HTHorizontal Tab: moves printhead to next tab stop.<Hyper
100ALFLine Feed: moves paper to next line.<Hyper
110BVTVertical Tab: moves paper to next vertical tab stop<Hyper
120CFFForm Feed: advances paper to top of next page.<Hyper
130DCRCarriage Return: moves printhead to left margin.<Hyper
1711DC1Device Control 1: sets printer online (not currently used)
1812DC2Device Control 2: cancels condensed mode (compressed) <Hyper
1913DC3Device Control 3: sets printer offline (not currently used)
2014DC4Device Control 4: cancels double-wide mode (one line
only)
2115NAK
2216SYN
2317ETB
2418CANCancel Line: clears all characters out of print buffer.<Hyper
link10>
page 62
link10>
page 78
link10>
page 65
link10>
page 79
link10>
page 64
link10>
page 63
link10>
page 72
link10>
page 71
link10>
page 71
<Hyper
link10>
page 73
link10>
page 63
6822 Series 80-Column Printer User’s Manual171
Appendix C — Cross-Reference Tables
Single Character Control Code Definitions (continued)
DecHexASCIIDescriptionPage
2519EM
261ASUB
271BESCEscape: defines start of escape sequence.
281CFS
291DGS
301ERS
311FUS
3220SPSpace Character
1277FDELDelete: deletes last character in print buffer.<Hyper
link10>
page 63
1726822 Series 80-Column Printer User’s Manual
Appendix C — Cross-Reference Tables
Escape Sequence Quick Reference
The following table is a quick reference between the escape sequences listed
in ascending order, according to numeric values. For detailed definitions,
see Chapter 5 “Control Code Definitions”.
Escape Sequence Quick Reference
DecimalDescription
ESC SOSelect Double-Wide (expanded) Mode (one line only)
ESC SISelect Condensed Mode (compressed)
ESC US (0)Select Top-Down Printing
ESC US (1)Select Bottom-Up Printing
ESC SP nDefine Inter-Character Space
ESC “!“ nMaster Select
ESC “$” n1 n2Set Print Position (absolute)
ESC “%” (0)Select Default Character Set
ESC “%” (1)Select User-Defined Character Set
ESC “&” NUL k1 k2 s1 d1...d11Define User-Defined Characters
ESC “*” m n1 n2Select Graphics Mode
ESC “+” n d1...dnPrint Character Graphics
ESC “-” 0*Cancel Underline Mode
ESC “-” 1*Select Underline Mode
ESC “/” cSelect Vertical Tab Channel
ESC “0”Select 1/8 inch Line Spacing
ESC “1”Select 7/72 inch Line Spacing
ESC “2”Select 1/6 inch Line Spacing
ESC “3” nSelect n/216 inch Line Spacing
ESC “4”Select Italic Mode
ESC “5”Cancel Italic Mode
ESC “6”Enable Printing of Codes 128-255
ESC “7”Disable Printing of Codes 128-255
ESC “<”Select Unidirectional Printing (one line only)
ESC “^” (0) n1 n2Select 9-pin Single Density Graphics Mode
ESC “^” (1) n1 n2Select 9-pin Double Density Graphics Mode
ESC “b” c
ESC “b” c n1 n2 ... nk NULSet Vertical Tabs in Channel
ESC “j” nPerform n/216 inch Reverse Line Feed
ESC “l” nSet Left Margin
ESC “s” 0*Cancel Half-Speed Printing
ESC “s” 1*Select Half-Speed Printing
ESC “t” (0)Disable Printing of Character Graphics
ESC “t” (1)Enable Printing of Character Graphics
ESC “z” nSet Inactivity Time for Sleep Mode
ESC “\” n1 n2Set Print Position (relative)
NULClear Vertical Tab Channel
Factory-Installed Printer Defaults
Factory-Installed Printer Defaults
FunctionDefault Value
Carriage positionAt left margin
Character setNormal (not user defined)
Code page0
Codes 128-255Disabled
Condensed (compressed)Disabled
Double-StrikeDisabled
Double-WideDisabled
EmphasizedDisabled
Graphics modeNot selected
Half-Speed printingDisabled
Intercharacter spaceZero (0)
International character setsDisabled
ItalicDisabled
JustificationLeft justification
6822 Series 80-Column Printer User’s Manual175
Appendix C — Cross-Reference Tables
Factory-Installed Printer Defaults (continued)
FunctionDefault Value
Keyboard, printer Enabled
LanguageUSA
Line Spacing1/6 inch
Margin, left 0
Margin, right80
MSB controlDisabled
NLQDisabled
Page length11 inch (66 lines with Pica
Paper end sensorEnabled
PitchPica (10 characters per inch)
Power off sleep timer10 seconds
Printer Code Area ExpansionDisabled
Printing directionTop-down, bidirectional
Redefinition of graphic modes Disabled
Skip over perforationDisabled
Subscript/SuperscriptDisabled
Tabs, horizontalSet to default tabs (every 8
Tab s , v e rt i ca l1 line feed each tab, channel = 0
Top of formSet to current line
UnderlineDisabled
Unidirectional printingDisabled (bidirectional)
User defined character setRemoved
pitch)
column)
The settings in the previous table are installed in the printer at the factory.
To restore the printer to these defaults, see Reset Button on page 4 for
instructions.
The default settings listed below can be restored to the printer, as described
in Chapter 4 “Using the 6820 Printer Configuration Utility”.
1766822 Series 80-Column Printer User’s Manual
Printer Default Settings
Appendix C — Cross-Reference Tables
FunctionDefault Value
Zero print optionZeros are printed with a slash
Autofeed configurationCR (carriage return added at
end of line without line feed)
ProtocolNPCP (NORAND Portable
Communications Protocol)
ParityN/A (for NPCP)
Bit Rate19.2K
6822 Series 80-Column Printer User’s Manual177
Appendix C — Cross-Reference Tables
1786822 Series 80-Column Printer User’s Manual
D
Printer Font Test Jobs
This appendix contains a sample print job for each font available
on your 6822 printer.
6822 Series 80-Column Printer User’s Manual179
Appendix D — Printer Font Test Jobs
About the Printer Font Jobs
You can perform these tests yourselves. Load the font of choice from the
Toolkit CD into flash memory. After downloading the desired font, use
any of the sample print jobs to reveal the character locations within the
printer memory. The sample test print jobs are formatted as a memory
mapped and could be referenced to select a desired character.
These test print jobs originated from running a “C” program by a person
with specific knowledge of how to generate such a report (print job). The
“C” program demonstrates how a programmer could access the printer
font modules within flash memory to select desired character.
You do not need more than one font module loaded. Any ONE of:
nft00932.mod, nft00936.mod, nft00949.mod, or even nft00950.mod
Asian fonts can be used. These are distributed via the NPTK6822 toolkit
(including the source code).
These print jobs are in this appendix:
•“BIG5.C” which creates “BIG5950.TXT”
•“CHINA.C” which creates “GB2312.TXT”
•“IBM437.C” which creates “IBM437.TXT”
•“JAPAN.C” which creates “JIS932.TXT”
•“KOREA.C” which creates “KOREA.TXT”
•“NATION.C” which creates “NATION.TXT”
Big 5 Traditional Chinese Character Set
This program generates a text file, big5950.txt, to copy to a 6822. The
text file illustrates the use of the BIG 5 traditional Chinese character set.
Install the BIG 5 character font (nft00950.mod) using the Printer
Configuration Utility.
To have big5950.txt print correctly
1 Use the Microsoft C version 7.00 compiler.
cl big5.c /link slibce graphics
2 Run big5.exe to create big5950.txt.
3 Copy this text file to the appropriate printer port.
1806822 Series 80-Column Printer User’s Manuall
Appendix D — Printer Font Test Jobs
Simplified Chinese Character Set
This program generates a text file, gb2312.txt, that to copy to a 6822.
The text file illustrates the use of the Simplified Chinese character set.
Install the Simplified Chinese character font (nft00936.mod) using the
Printer Configuration Utility.
To have gb 2 312.txt print corre c tly
1 Use the Microsoft C version 7.00 compiler.
cl china.c /link slibce graphics
2 Run china.exe to create gb2312.txt.
3 Copy this text file to the appropriate printer port.
IBM 437 Code Page Character Set
This program generates a text file, ibm437.txt, to copy to a 6822. The
text file illustrates the use of the IBM 437 code page character set. Install
the IBM 437 character font (nft00437.mod) using the Printer
Configuration Utility.
To have ibm437.txt print correctly
1 Use the Microsoft C version 7.00 compiler.
cl ibm437.c /link slibce graphics
2 Run ibm437.exe to create ibm437.txt.
3 Copy this text file to the appropriate printer port.
Japanese (Shift JIS) Character Set
This program generates a text file, jis932.txt, to copy to a 6822. The text
file illustrates the use of the JIS character set. Install the JIS character
font (nft00932.mod) using the Printer Configuration Utility.
To have jis932.txt print correctly
1 Use the Microsoft C version 7.00 compiler.
cl japan.c /link slibce graphics
2 Run japan.exe to create jis932.txt.
6822 Series 80-Column Printer User’s Manual181
Appendix D — Printer Font Test Jobs
3 Copy this text file to the appropriate printer port.
Korean Character Set
This program generates a text file, korea.txt, to copy to a 6822. The text
file illustrates the use of the KSC5601 character set. Install the KSC5601
character font (nft00949.mod) using the Printer Configuration Utility.
To have korea.txt print correctly
1 Use the Microsoft C version 7.00 compiler.
cl korea.c /link slibce graphics
2 Run korea.exe to create korea.txt.
3 Copy this text file to the appropriate printer port.
International Character Set
This program generates a text file, nation.txt, to copy to a 6822. The text
file illustrates the international character sets available for use in the
default character set. Install the default character set font (nft00000.mod)
using the Printer Configuration Utility.
To have nation.txt print correctly
1 Use the Microsoft C version 7.00 compiler.
cl nation.c /link slibce graphics
2 Run nation.exe to create nation.txt.
3 Copy this text file to the appropriate printer port.
1826822 Series 80-Column Printer User’s Manuall
I
Index
6822 Series 80-Column Printer User’s Manual183
Index
Numerics
4000 Series Terminal Holder
61XX Terminal Holder2
62XX Terminal Holder2
15pin to 25pin
25pin to 15pin
25pin to 25pin120
9pin to 15pin121
54
38
set
82
applications
class of device146
default device name146
link keys146
link loss146, 147
master/slave146
performance range147
query items146
SDP record146
self-test147