AMT Datasouth 600 manual Example of calling Label Format from Host Application, MailingLabel

Page 57

Example of calling Label Format from Host Application

The example below shows how a form named Mailing_Label that was defined in the file Pal_Procs_and_Formats.txt may be called from a host or PC application. The file Pal_Procs_and_Formats.txt must be copied to the printer first before the label format is defined. Also it is possible to store the formats in Flash memory which is an advanced topic not covered here. Other examples of calling these formats may be found in Format_Demo.txt

Notice how strings are enclosed in ( ). Also notice how variables are separated by whitespace which may be a single space character or a CR+LF. Two possible call formats are shown below each producing the same output as the label sample below shows.

The actual label format name is shown in bold for clarity.

(John Doe) (1234 Main St.) (Anytown, NC) (12345) (1234)

Mailing_Label

Or an equivalent format:

(John Doe) (1234 Main St.) (Anytown, NC) (12345) (1234) Mailing_Label

Print sample produced by label format Mailing_Label.

Fastmark 600 Series User's Guide

57

Image 57
Contents User’s Guide AMT Datasouth Corp Important Safety Instructions Other Notices Trademark Credits Conventions Table of Contents Windows Printer Driver Model and Serial Number Location Table of FiguresIntroduction Model Overview ModelsModel No Serial No Standard Features Model FeaturesTraditional Printing Paltm Print and Program OverviewLegacy Data stream Interpretation Legacy Data Stream InterpretationShipped with Printer Unpacking and InspectionFinding a Location for the Printer Installation and ConfigurationExternal Switches, Indicators and Connections Printer Parts and FeaturesPower Connection Connecting the Power CordCommunication Cable Connecting the Printer to Your HostThermal Transfer Media only Loading the RibbonRibbon Holder Notches and Ribbon Core Slots Supply Ribbon Installation Ribbon Take-Up Installation Print head Module Closed Loading Media Media Roll InstallationMedia Sensor and Guides Loading Media over Platen Roller Print head Module Closed Close the Top Media Cover Label Removal for Peeler Option Loading Media into the PeelerFeeding into the Peeler Mechanism Peeler Option Inserting Labels in the Cutter Option Loading Media into the Cutter OptionCalibration of the Media Calibrating Media SensorsRTS & XON Printing the Configuration LabelLED Description Keypad OperationSpecial Power Up Key Function Power up key functionsOn Line Key Operation FeatureMan Program Feature Management ModeChanging Features Feature Name Value Range Description Setup Feature and Value ListPrint Darkness 12 +12 MM/DD/YYYY Paltm Print Language Introduction Supported Bar Codes Smooth Scalable FontsPaltm Bar Code List and Samples Paltm Print and Program Label Tutorial Printing Text on a Label ShowpagesPAL Coordinate System Paltm Print and Program Coordinate SystemPrinting a Line 72 68 moveto 144 68 lineto stroke ShowpagesPrinting a Box Rotate a Text Object Printing a Bar Code 100 100 moveto BARCODE123 /Code39 barcode ShowpagesAdvanced Overview Introduction to Paltm Advanced Topics§ LCD Paltm Print and Program Language FeaturesFile Name Description Sample Demo FilesExample of calling a Procedure from a host application Example of a Procedure defined in PaltmDemo Label showing use of Print Utility Procedures Usage Name Street CityState Zip5 Zip4 MailingLabel Example of How to Define Label FormatsMailingLabel Example of calling Label Format from Host ApplicationWindows Printer Driver Windows 2000 Driver InstallationSelecting Printer Fonts Printing Bar Codes From Windows 2000 Applications Adjusting the Windows 2000 Driver Bar Codes Windows XP Driver Installation Selecting Printer Fonts Printing Bar Codes From Windows XP Applications Adjusting the Windows XP Driver Bar Codes Windows NT/9x Driver Installation Selecting Printer Fonts Printing Bar Codes From Windows NT/9x Applications Adjusting the Windows NT/9x Driver Bar Codes Fastmark 600 Series Users Guide Printer Detected Errors Troubleshooting and MaintenancePrinter Detected Errors Other User Detected Errors Fastmark 600 Series Users Guide PCB Fastmark 600 Series Users Guide Peel and Present Sensing Cleaning the Thermal Print Head TPH Preventive MaintenanceCleaning the paper sensor Cleaning the Platen RollerCleaning the Paper Compartment Specification Fastmark 602 PAL Fastmark 603 PAL Appendix a General SpecificationsSerial Interface Appendix B Interface SpecificationsAuto Interface Select Parallel Centronics InterfaceAppendix C Ascii Table Appendix D Self Test Print Sample Hidden Setup Feature and Value List Appendix E Hidden Setup FeaturesAppendix F Updating Printer Firmware Off line Update ModeFastmark 600 Series Users Guide Boot Mode Feature and Value List