- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Printing Issue 6820
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
January 13 2012 11:10 PM
Hello everybody, I’m new programming applications using Intermec hardware and I’ve got a really big issue going on for couple of days.
I am trying to print something from a CN3 / CN4 hand-held device, running Windows 6.1, on a 6820 printer with the terminal holder attached. I wouldn’t like to use Bluetooth printing, but serial, directly from the dock device attached to the printer. Now I’m a little confused: I don’t know for such printing dock what should the initSeq be like in order for the printer to accept the printing sequence.
For example: I’ve done serial printing on a 6820 using an Intermec 751 Mobile hand held, running Windows 5.0 using the corresponding terminal holder attached. Considering that I use the following InitSeq="0x1B,0x05,0x1B,0x0F" in the printer configuration XML file and LinePrinter class form the Intermec printing library, I would like to know whether or not this InitSeq number should be the same for CN3 or CN4 cases. For sure it doesn’t work! I guess is somehow related to the Teminal Dock holder attached the printer.
For Bluetooth printing from a CN3 or CN4 hand-held everything works great, but for serial I’ve got a real issue. I would appreciate if you could hand me some manuals for the CN3/CN4 terminal holed attached the same printer as in both cases.
Please if I might be wrong somewhere, just let me know!
Thank you so much for your help and I’m looking forward to hearing from you.
Regards,
Re: Printing Issue 6820
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
January 14 2012 08:19 AM
Hi
the 6620 supports serial and bluetooth printing. But when it is built into the dock, you must use serial printing to COM1. The LinePrinter APIs of the Intermec Printing resource kit are to be used, but you can also print directly using the serial port.
There is a manual for the 'portable' 6820: 942-007.pdf
The 6820 further supports NPCP and ESP/P printing protocol. You can use the printer config tool to change the default serial mode from NPCP to DTR or use the LinePrinter API to print. If in NPCP mode, the init sequence and printing is different from serial printing!
Here is the LinePrinter InitSequence (from config xml):
...
<Printer6820NPCP_80COL
EntryName="Port2"
DisplayName="6820 NPCP Serial Printer"
InitSeq="0x1b,0x40,0x0d"
PrintableLines="57"
BoldOnSeq="0x1b,G"
BoldOffSeq="0x1b,H"
NormalFontSeq="0x1b,!,0x00"
DoubleWideFontSeq="0x1b,!,0x20"
CompressFontSeq="0x1b,!,0x04"
FormFeedSeq="0x0c"
GraphPrefixSeq="0x1b,L,0xC0,0x03"
GraphPostfixSeq="13,0x1b,J,0x18"
GraphXDots="960"
GraphNumPins="8"
GraphCharHeight="12"
GraphCharWidth="12"
ItalicOnSeq="0x1b,0x34"
ItalicOffSeq="0x1b,0x35"
UnderlineOnSeq="0x1b,0x2D,0x01"
UnderlineOffSeq="0x1b,0x2D,0x00" />
...
<PrinterPorts>
<Port1
BAUD="9600"
PARITY="n"
DATABITS="8"
STOPBITS="1"
XONXOFF="y"
CTS="n"
DSR="y"
DTR="y"
RTS="n"
ReadIntervalTimeout="100"
ReadTotalTimeoutConstant="1000"
ReadTotalTimeoutMultiplier="50"
WriteTotalTimeoutConstant="1000"
WriteTotalTimeoutMultiplier="50">COM1:
</Port1>
<Port2 PORT="COM1:">NPCP</Port2>
...
6820 portable Downloads (Printer config tool etc)
There is a tutorial and sample code included in the printing resource kit.
~josef
-------------==========================--------------
See all my tips and tools at hxxp://www.hjgode.de/dev
and the NEW http://www.hjgode.de/wp
code at google com:
http://code.google.com/p/itc-keyboard/
http://code.google.com/p/rdesktop-ce/
http://code.google.com/p/win-mobile-code/source/browse/#svn%2Ftrunk
Re: Printing Issue 6820
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
January 17 2012 02:34 AM
Hi,
682X printers with built-in CN3/CN4 terminal holders are capacble of printing only by Bluetooth. They don't support serial printing. The terminal holder is only for chargring the battery of CN3/CN4 while in a vehicle when the printer is connected to vehicle power.
682X printer with serial port option is a seperate configuration and will work with vehicle dock / snap-on RS232 of CN3/CN4.
Regards,
Ganesh.

