Datatech logo

Data Technologies, Inc.











DDEPrint

DDEPrint provides fast and reliable bar code printing services for Windows applications using Intermec printers. DDEPrint includes sample macros and program code that demonstrate how to print bar code labels from Excel, Access, FoxPro and Visual Basic applications.

Picture of bar code printers

DDEPrint uses DDE — Dynamic Data Exchange — to communicate with your application. Your program can then tell DDEPrint to download a format, check the printer status, print a label, or print directly from a *.DBF file. (DDEPrint is not used to design label formats; for a good label design program, take a look at what Loftware has to offer.)

Since DDEPrint uses DDE to communicate with your application, your application must support DDE as a destination. Most current business applications do. You must also write a short macro to print labels from your application. To show you how easy these macros are to write, here is the label-printing macro for Excel:

Sub PrintLabel()
   Chan= Application.DDEInitiate
   Set TheParam=Cell(7,2)
   Application.DDEPoke Chan, "Parameter", TheParam
   Application.DDEPoke Chan, "PrintLabel"
   Application.DDETerminate Chan
End Sub

That’s all there is to it!




System Specifications


Link Specifications:

DDEPrint supports all link types as a source (server).

Link Execute Commands Supported:

Command      Description
CancelFile Stops a PrintFile command during processing.
Download Loads a label format into the printer.
GetStatus Returns the current printer status.
OK2Print Reserves use of DDEPrint for your application.
FormFeed Advances the print stock by one label.
PrintLabel Prints a label.
PrintFile Prints labels from a datafile.
DonePrinting Releases DDEPrint for use by other applications.
Quit Stops DDEPrint’s execution

DDE Items Supported:

DDE Item      Description
FileName Which data file to print.
FormatNumber The printer format to print.
Parameter Field data for the label.
Quantity The number of labels to print.
Status Contains the latest printer status.

Hardware/Software Requirements:

  • Windows 3.1, 95, 98, 2000, or NT is required.
  • Serial ports supported: COM1 or COM2.
  • Intermec printers supported: 3400, 4100, 4400, and 8600, or any Intermec printer which supports standard protocol.

Price and Availability:

List price is only $195! Shipping is not included.


Created 09/14/00 — last modified 03/09/01.
Write us at sales@datatechinc.com