AMT Datasouth 600 manual Showpages, Printing Text on a Label

Page 45

Printing Text on a Label

Label Output

PALTM Command Sequences

1 "

Hello World!

/Sans12.00pt findfont

12scalefont setfont

7272 moveto (Hello World!) show

1_showpages

1 "

Purpose: Demonstrate how to print simple text on a label.

findfont - Establish the font to use

The fontname is preceded by a “/”. In this example, a Sans Serif 12 point font was chosen. See Table 1 for supported fonts.

scalefont – Scale the selected font’s size in points

It is typical to use the value indicated in the selected font. In this example, since Sans12.00pt was the selected font, the scaling was set to 12. Optionally, the command may be used to scale the font to a different size (e.g. 13 or 11)

setfont - Set the current font to the scaled font defined by the scalefont operator

This font will be used for all subsequent text unless another font is chosen.

moveto - Position the drawing cursor at the desired location

Moves the cursor position 1 inch to the right and 1 inch from the bottom (see box on next page for description of coordinate system).

show – Place the text on the label

The text to be printed is enclosed by parentheses. The lower left-hand corner of the text is placed at the current cursor position. In this example the cursor position is established with the moveto command as described above.

_showpages - Print the created label

The “1” in the example indicates that one label is to be printed. If printing 10 labels, the command would be 10 _showpages.

Fastmark 600 Series User's Guide

45

Image 45
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