Printing Ascii; Directly To A Port; Directly To A Generic Serial Port; Irda Printer Driver - Intermec 700 Series 700 User Manual

Monochrome mobile computer
Hide thumbs Also See for 700 Series 700:
Table of Contents

Advertisement

Chapter
5
Printer Support

Printing ASCII

Directly to a Port

Directly to a Generic Serial Port

IrDA Printer Driver

136
The following methods for printing using Pocket PC at this time is as fol-
lows:
S Add port drivers to print ASCII directly to the port.
S Use LinePrinter ActiveX Control from the Software Developer's Kit
(SDK) - see the SDK User's Manual for more information.
S Via wireless printing - see the Wireless Printing Development Guide on the
700 Monochrome Software Tools CD for more information.
Printing directly to the port sends RAW data to the printer. The format of
this data depends upon your application and the printer capabilities.
You must understand the printer commands available for your specific
printer. Generally, applications just send raw ASCII text to the printer.
Since you are sending data to the printer from your application directly to
the port you are in complete control of the printers operations. This allows
you to do line printing (print one line at a time) rather than the page for-
mat printing offered by the GDI approach. It is also much faster since data
does not have to be converted from one graphics format to the other (dis-
play to printer). Most Intermec
control print format operations.
These commands are available in documentation you receive with your
printers or from technical support. Win32 APIs are required to print di-
rectly to the port.
To print directly to a generic serial port printer (non-Intermec printers):
S Use CreateFile() to open ports — COM1: can be opened on most de-
vices.
S Use WriteFile() to send data directly to the printer.
S Use CloseHandle() when you are finished printing to close the port.
IrDA printing is only available on the certain devices and is supported di-
rectly by the Windows CE load via the IrSock API provided by the Micro-
soft Win32 API without need for additional drivers. Intermec 6804, 6805,
6806, 6808 and 6820 and other IrDA printers are supported.
700 Series Monochrome Mobile Computer User's Manual
printers use Epson Escape Sequences to

Advertisement

Table of Contents
loading

Table of Contents