Programming Techniques 6-1
P R O G R A M M I N G T E C H N I Q U E S
Many applications have common features, such as requiring the
operator to press the trigger to initiate processing.
This chapter describes the code you write to add such common
features to your application. It includes code for the following
features:
♦
Printing Labels
♦
Pausing While Printing
♦
Loading Multiple Packets Together
♦
Building Packets Dynamically
♦
Using the Scanner
♦
Reading Trigger Pulls
♦
Audio/Visual Feedback
P r i n t i n g L a b e l s
An application prints labels by submitting MPCL packets to the
Print subsystem. At a minimum, the application must submit
format and batch packets. To submit these packets, use either
pclWrite or pclOpen.
For more information, see “pclWrite” or “pclOpen” in Chapter 4.
For information about MPCL packets, refer to the
Packet
Reference Manual
.
A batch packet starts a print job, which makes an asynchronous
call to the Print subsystem. After submitting a print job, the
application should call pclStatus in a loop, waiting until the
printer becomes free. See “Pausing While Printing” for more
information.
6
Содержание Gold 6037EX
Страница 1: ... ROG TC6037EXPM Rev AA 8 03 Printed in the U S A 2003 Paxar Americas Inc All rights reserved ...
Страница 2: ... Trademarks 0 1 2 0 0 3 4 5 6 7 78 ...
Страница 10: ...viii Table of Contents ...
Страница 30: ...2 16 Programmer s Manual ...
Страница 36: ...3 6 Programmer s Manual ...
Страница 154: ...4 118 Programmer s Manual ...
Страница 228: ...14 Index ...
Страница 229: ......
Страница 230: ......