Microcom 48-466 User Manual

Page 56

Advertising
background image

Printer Commands

Chapter 5

48-466 Operators Manual

50

When the printer is put in auto-print mode, it is not necessary to send a ^D25 to
inform the printer that text is coming or send a ^D35 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^D645

^D575
11,832,640,,20,365

1,47,463,10,1,25

2,416,439,20,1,3,,45

3,416,412,25,1,3,,45

4,416,385,25,1,3,,45

5,47,350,10,1,25

6,307,503,30,1,35

7,60,207,29,1,55

7,416,277,20,16,2,,4,2,50,25

8,60,149,29,1,55

9,60,090,29,1,55

10,60,031,29,1,55

^D565
^D25

SHIP FROM:5

MICROCOM CORPORATION5

8333-A GREEN MEADOWS DR., N.5

WESTERVILLE, OH 430815

SHIP TO:5

Order No: XXX5

777777777777777777777777777777777777775

888888888888888888888888888888888888885

999999999999999999999999999999999999995

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA5

^A3^D635
^A5^D645

^A6^D615

;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