Microcom 466 User Manual

Page 59

Advertising
background image

Chapter 5

Printer Commands

466 Operators Manual

53

XX

64

Auto Print String Count: ^A tells the printer how many text strings to accept
before printing. Used in conjunction with ^A1^D63.

When the printer is put in auto-print mode, it is not necessary to send a ^D2? to
inform the printer that text is coming or send a ^D3? to tell the printer to print a
label. The printer will accept all incoming data as text strings (except control
codes) and will print a label as soon as the number of strings equals the amount
specified by the ^D64 command. At this point, the printer will print a label and
continue to accept data. This mode is useful for interfacing to a device that
transmits raw data, such as a scale or meter.

This is an example of the D63, 64 and 65 Commands...

^A0^D64?
^D57?
11,832,640,,20,36?
1,47,463,10,1,2?
2,416,439,20,1,3,,4?
3,416,412,25,1,3,,4?
4,416,385,25,1,3,,4?
5,47,350,10,1,2?
6,307,503,30,1,3?
7,60,207,29,1,5?
7,416,277,20,16,2,,4,2,50,2?
8,60,149,29,1,5?
9,60,090,29,1,5?
10,60,031,29,1,5?
^D56?
^D2?
SHIP FROM:?
MICROCOM CORPORATION?
8220 GREEN MEADOWS DR., N.?
LEWIS CENTER, OH 43035?
SHIP TO:?
Order No: XXX?
77777777777777777777777777777777777777?
88888888888888888888888888888888888888?
99999999999999999999999999999999999999?
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA?
^A3^D63?
^A5^D64?
^A6^D61?

;clear any old settings
;load new format mode
;header
;field info
;field info
;field info
;field info
;field info
;field info
;field info
;field info
;field info
;field info
;field info
;select RAM format
;begin text entry mode
;data line 01 (protected)
;data line 02 (protected)
;data line 03 (protected)
;data line 04 (protected)
;data line 05 (protected)
;data line 06
;data line 07
;data line 08
;data line 09
;data line 10
;enable auto print and clear text
;tell printer to print after 6 (CR)
;tell printer to start new data entry
at data line 6 instead of 1

Advertising