AMT Datasouth 4500 Series manual Printing a Line

Page 84

Applications Overview

Printing a Line

Label OutputPAL Command Sequence

/Sans12.00pt findfont

 

 

 

 

 

 

12 scalefont

 

 

 

 

 

 

setfont

 

 

 

 

 

 

72 72 moveto

 

 

 

 

 

 

(Hello World!) show

 

 

 

 

 

 

 

 

 

 

 

Hello World!

72 68 moveto

 

 

 

 

144 68 lineto

1 "

 

 

 

 

stroke

 

 

 

 

 

 

1 _showpages

 

 

 

 

 

 

 

 

 

 

 

 

1 "

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.

74

Image 84
Contents CodeWriter 4500 Series Operator’s Manual Page Warnung Warnung Adventercia Extended Maintenance Hardware WarrantyDatasouth CodeWriter 4500 Disclaimer of Warranties SoftwareDatasouth Table of Contents Contents Table of Figures Introduction CodeWriter 4500 Series ModelsOperator Panel Document Exit Tear Bar CodeWriter 4505 Front/Side View External Media Feed SlotCodeWriter 4500 Series Features Features Media CompatibilityGuide to the Operator’s Manual This Page Intentionally Blank Unpacking and Power Up Equipment ChecklistQuick Start Guide Applying Power to the Printer Media Loading Loading and Feeding Label RollLoading and Feeding the Ribbon Ribbon Take-Up Ribbon Supply Roll Ribbon Guide BarOperator Panel Media Settings CodeWriter 4500 Series Operator PanelSet Label Parameters Without saving. Press the saving the changes Set Print Parameters Printer Model Print Speed 4505 100% 4505+ 4510 50%Feature/Settings Label Printing Test LabelsPrint Test Label Connecting the Printer Quick Start CDRunning the Quick Start CD Connecting to a Personal Computer Connecting the CableData Communications CableConfiguring the Personal Computer Settings Control PanelPort Settings Value Bits per second Mode COMx9600,n,8,1Mode COMx9600,n,8,1 where x = the COM port number Sending Data to the PrinterType File.pal COMx Serial Port Specifications Cable ExamplesSeries Printer DCE Modem DB25 Connector Flow Control Hardware Flow ControlXon/Xoff Flow Control DSROperator Panel Settings for Data Communications Setting the Baud RateSetting the Flow Control Method Setting RTS PolaritySetting the DTR Polarity Setting the ParitySetting the Data Bits Setting the Stop BitsThis Page Intentionally Blank Media Settings Setting the Document DimensionsDie-Cut Labels Black Bar Labels Notch or Hole LabelProgramming the Label Dimensions Enter to save new defaults. PressPressing the settings Setting the Printing Method Programming the Print MethodSetting the Print Parameters Print Speed and DarknessSetting Print Speed and Darkness Speed DarknessAdjusting Print Position Presentation Distance Forward DistanceBar Code Quality Bar Code OrientationPicket Fence Horizontal Bar Code Ladder Vertical Bar Code Bar Code Print Settings This Page Intentionally Blank Operator Panel Reference Display and Panel KeysOff-line Menu Reference Accessing this parameter Parameter Values Description Print Speed %Printing Speed as a 80% 100% Percentage of the printer’sLabel Parameters Config Settings Label System ParamsFirmware Part No Firmware part number Revision are displayedDefault Parameter Values ConfigurationPrint Parameters System ParametersOff-Line Menu Map Maintenance Removing the Ribbon Take-up RollPrinthead Cleaning Paper Path CleaningHeater Line Location Troubleshooting Guide Response to Display MessagesRemove Ribbon Print or CANCEL? Media Feed Fault Print or CANCEL? Halt Print Quality Issues First Part of Label Content is MissingSides or Top of Label Content is Missing Ribbon Wrinkling Causing Poor PrintMissing Dots in Label Data Communications Issues PC Reports Write Fault Error Writing to Device COMxHost System Does Not Report Errors, But Nothing Prints Hex Dump Mode Controlling Hex Dump ModeAdjusting Sensor Sensitivity Adjusting the Gap Sensor SensitivityPrinter is Displaying Media Feed Fault Message Adjusting the Black Bar Sensor Sensitivity Press the Pause key. This takes you to the off-line menu Adjusting the Ribbon Sensor Sensitivity Printer Displays Ribbon Out Message in Thermal Transfer Mode Key until the Enter to Select Diagnostics is displayed Verifying the Sensor OperationThis Page Intentionally Blank Applications Overview Printer Application Language PALLabel Genesis PAL Fonts and Bar Codes FontsBar Codes Bar CodeEAN-13 EAN13 Codabar Postnet Maxicode MSI Plessy PAL Quick Start Establishing the Development EnvironmentFunction Keystroke Hex Value PAL will display the line as itHas been typed so far Undo Ctrl/U Label Tutorial Label OutputPAL Command Sequence Hello WorldPAL Coordinate System Printing a Line Applications Overview PAL Command Sequence Label Output World!Hello Hello WorldLabel Output World Printing a Bar CodeApplications Guide Specifications Power Input and OutputEnvironmental PhysicalMedia Serial CommunicationsPrinting ProcessingAdvanced Features High Speed Firmware Update Download ModeAuto-Baud Firmware Update Download Mode Flash Memory ManagementPAL Application Bootstrap Bypass Release Identification Message PauseSetting Contrast and Preheat Key until Enter to Select Expert Settings is displayedEnter to save new defaults . Press Print Darkness ControlAdvanced Features