AMT Datasouth 600 manual 72 68 moveto 144 68 lineto stroke Showpages, Printing a Line

Page 47

Printing a Line

Label Output

PALTM Command Sequences

1 "

Hello World!

1 "

/Sans12.00pt findfont

12scalefont setfont

7272 moveto (Hello World!) show

7268 moveto

14468 lineto stroke

1_showpages

Purpose: Demonstrate drawing lines on a label. This example underlines the “Hello World!” text from the previous example.

moveto - Position the drawing cursor at the desired location

The line will be positioned near the same location as the text, a bit lower in the y direction to allow for a small space between the bottom of the text and the line. This example uses the value 68, 4 points below the text (4/72 inches).

lineto – Set the dimensions for the line

The line will be drawn from the current position (72,68) to the position set by the lineto (144,68). The vertical position did not change resulting in a horizontal line stretching between the x locations of 72 and 144.

stroke – Draw the line

Actually draws the line specified by the lineto command.

Fastmark 600 Series User's Guide

47

Image 47
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 No Serial No Model OverviewModels 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 OperationOn Line Key Operation Special Power Up Key FunctionPower up key functions 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