background image

 

                                                                            

Copyright © 2007 • MCL Technologies • All Rights Reserved

www

.mcl-collection.com

Chapter 3 : Creating a Project  

 

 

 

 

Default Value 

 
 
 

 

Result Value 

 

 

Output Format 

Type a value or set a default value using the 
contents of a variable. If you use a variable, 
remember to assign a value to the variable 
someplace in your label program 

Select the variable in which the user input 
should be stored 

Set the format you want to use when saving the 
input from the external barcode reader. Several 
options are available such as fill blank on left, 
fill zeros on left. Select the appropriate format 
for your program design. 

 

October 2007 

 

Page     

 

 

 

72 

Содержание 123 Print v1.1x

Страница 1: ...Copyright 2007 MCL Technologies All Rights Reserved www mcl collection com Visualize Mobilize Realize MCL Collection 123 Print v1 1x User Manual Visualize printers with intelligence Realize 123 Print...

Страница 2: ...emark of Datamax Bar Code Products Corporation Seagull and BarTender are trademarks or registered trademarks of Seagull Scientific Inc Microsoft Windows Windows XP Windows 2000 and Windows 98 are trad...

Страница 3: ...Setup 110 4 Designing a Label 119 4 1 BarTender Integration 120 5 Using Processes 128 5 1 Introduction to 123 Print Variables 131 5 2 Branch 134 5 3 Date Operation 143 5 4 File Search 147 5 5 Mathemat...

Страница 4: ...n com October 2007 Page 4 Appendix A Sample License Certificate 218 Appendix B Datamax Printer Setup 220 Appendix C Supported Datamax Printers 221 Appendix D System Requirements 222 Appendix E Mapping...

Страница 5: ...er that explains the basic concepts of 123 Print and introduces you to its purpose and the philosophy behind it The goal of this Primer is to give you an understanding of the General capabilities of 1...

Страница 6: ...ystems from your printer application consider using MCL Designer for Datamax printers As a component of MCL Collection MCL Designer allows you create printer applications with easy host integration Pu...

Страница 7: ...123 Print provides the capability to associate and print variable data on labels Consider the sample labels shown below The labels on the left are templates that would be saved on your printer with yo...

Страница 8: ...Copyright 2007 MCL Technologies All Rights Reserved www mcl col lection com Chapter 1 Primer October 2007 Page 8...

Страница 9: ...Label Name Label name Qty to Print 1 2 3 The first screen 1 is a Welcome screen The second screen 2 is the Select Label screen The third screen 3 is the Quantity to Print screen These screens are dis...

Страница 10: ...Retry 4 This message will be displayed for example if the label roll is out of labels The User Interface function allows you to customize this error message Labels If you are only concerned with stat...

Страница 11: ...ded to complete the item label selected at 2 User input is required on screens at A and B The item code entered in A is saved in a variable at C A process at X is used to browse through a lookup file...

Страница 12: ...arted Overview Chapter 2 introduction This chapter describes the installation and setup of 123 Print Topics This chapter covers the following topics Topic Page 2 1 2 2 2 3 Installation Activation Gene...

Страница 13: ...troduction This section describes how to install 123 Print Installation 1 Double click on the 123 Print installation executable which you have downloaded The default folder in which 123 Print is insta...

Страница 14: ...shown below To accept the license terms and proceed 3 Click Yes As shown below a screen is displayed prompting you to enter the location where you want to install 123 Print 4 Click Next to use the def...

Страница 15: ...ghts Reserved www mcl col lection com Chapter 2 Getting Started As shown below a screen is displayed to show you the progress of the installation The following is displayed when installation is comple...

Страница 16: ...ol lection com Chapter 2 Getting Started Starting 123 Print Once 123 Print is installed start it by 1 Double click on the 123 Print shortcut icon on the Windows desktop The 123 Print splash screen is...

Страница 17: ...make your choice carefully The activation method you choose cannot be changed at a later stage Activation The first time you run 123 Print you will be prompted to Activate the software To do this you...

Страница 18: ...Copyright 2007 MCL Technologies All Rights Reserved www mcl col lection com Chapter 2 Getting Started 3 Enter the License Number found on your License Certificate 4 Click Next October 2007 Page 18...

Страница 19: ...down to the bottom of the terms 6 Check the checkbox to accept the license terms 7 Click Next The 123 Print software registration form is displayed 8 Enter the details of the company to whom the Licen...

Страница 20: ...icensing details over to a different PC if you want to install and run 123 Print on a different PC Hardware Activation This method of activation requires the purchase of a Hardware Serial Number Key U...

Страница 21: ...te if you want to use on line or off line activation 13 Click the appropriate radio button 14 Click Next Your system needs internet access for on line activation to be possible This example uses on li...

Страница 22: ...your registration information is accurate 17 Click Next to confirm the details you entered on the previous screens 123 Print now connects to MCL s Licensing Server and records your details on the serv...

Страница 23: ...ion You are now prompted to save a backup of your License Key It includes your license number serial number and activation key 20 Edit the entry or browse to the location where you want your License K...

Страница 24: ...ckup screen is displayed as shown here 22 Click Finish Starting 123 Print When the activation is completed 123 Print is started automatically To start 123 Print again in the future double click on the...

Страница 25: ...X F Please refer to your Datamax manual for more information DPL Mode is a one way communication between 123 Print and the printer MCL Mode refers to the mode in which 123 Print communicates with the...

Страница 26: ...Click on the DPL Connection tab If you want to use network communications for your DPL commands 2 Edit the Printer TCP port with the appropriate port number typically 9100 or 3000 If you want to use s...

Страница 27: ...on your network segment your printers into 3 groups of 250 printers each Assign each of the 250 printers to the same group and assign a Group ID of 001 002 or 003 for example to those printers Then a...

Страница 28: ...PC See Chapter 6 Simulating Your Project This Simulation setup lets you define the source emulation or peripheral connection to a port on your PC of these inputs for your simulation Assign Com 1 Prin...

Страница 29: ...ign Internal Printer Port To This option allows you to simulate label printing when you are running your project in simulation You can emulate the label print or send the label as output to a port on...

Страница 30: ...fault printer for label design for your project when you invoke BarTender from the 123 Print toolbar while creating your project 3 In the BTW Folder field navigate to the folder you plan to use as you...

Страница 31: ...tarted October 2007 Page Timer is used to set the duration in seconds of the display of the Welcome screen The Welcome screen is typically displayed momentarily only 5 Edit the timer value or 6 Use th...

Страница 32: ...You may associate several additional screens up to 50 with each label in your project As you create these additional screens you are creating what is called a label program Topics This chapter covers...

Страница 33: ...here are 6 fields available to describe the project you are creating Project Name Version Author Printer Type Printer Name Notes The name you wish to assign to your project application The build versi...

Страница 34: ...following buttons appear on the left hand side of the main window The functions associated with these buttons are discussed in the subsequent sections of this chapter These are the functions used to c...

Страница 35: ...ject Description It also uses this information to present a User Interface as shown below that is appropriate for the display type text display or graphical display available on the printer model sele...

Страница 36: ...ed www mcl col lection com Chapter 3 Creating a Project Text Display The User Interface for a text display printer is as shown here Graphical Display Large The User Interface for a large graphical dis...

Страница 37: ...ay printer is as shown here Graphical Display Status Toolbar The status toolbar across the top of the graphical display screens gives the following printer status Printer is Ready Printer is Paused Pr...

Страница 38: ...ttom of the window As with the Interface Screen the Welcome Screen varies according to the display type available on the printer model selected for the given project Text Display The Welcome Screen ed...

Страница 39: ...ance the application to the next screen To accept the changes made to the Welcome screen 7 Click OK Graphical Display Large To edit the Welcome screen for a graphical display project on the User Inter...

Страница 40: ...ay printers Although default content is provided each of the screens provides a number of options for screen content To edit the Welcome screen 4 Select a Header option 5 Select a Line 1 option 6 Sele...

Страница 41: ...conds or 13 Increment or decrement the value of the delay using the up and down arrows beside the delay entry field 14 Click OK If the delay is set to zero 0 seconds a user will have to press a button...

Страница 42: ...the window As with the Welcome Screen Section 3 2 1 Welcome Screen the Select Label Screen varies according to the display type available on the printer model selected for the given project Text Disp...

Страница 43: ...the Select Label screen or 2 Click the Select button at the bottom of the window Alternatively on the User Interface window 3 Simply double click on the thumbnail view of the Select Label screen The S...

Страница 44: ...s those described above for Select Label Text Displays 7 Select a Footer option 8 Click OK Alternatively instead of choosing one of the pre defined options 9 Type fixed text in any of the edit boxes 1...

Страница 45: ...ng window for a text display printer is as shown here This screen is the default screen displayed for a user to select the quantity of a label to be printed Line 1 automatically displays the name of t...

Страница 46: ...he graphical display Select Quantity Screen is equivalent to the text display Quantity to Print Screen To edit the Select Quantity screen on the User Interface window 1 Click on the Select Quantity sc...

Страница 47: ...those described above for Quantity to Print Text Displays 7 Select a Footer option 8 Click OK Alternatively instead of choosing one of the pre defined options 9 Type fixed text in any of the edit boxe...

Страница 48: ...displays the message Print Error By default Line 2 displays the actions available to the user when a print error occurs When a print error occurs two user actions are possible exit the project or retr...

Страница 49: ...being printed when this print error occurs Alternatively instead of choosing one of the pre defined options 9 Type fixed text in any of the edit boxes 10 Click OK The Printer Error Message screen also...

Страница 50: ...Copyright 2007 MCL Technologies All Rights Reserved www mcl col lection com Chapter 3 Creating a Project October 2007 Page 50...

Страница 51: ...can be a static label you simply want to print It can also be a static label you want to use as a template for creating dynamic labels This section also describes the functions available for creating...

Страница 52: ...your 123 Print project This number is displayed on the Select Label Screen when the user is choosing which label to print for a given operation Enter the path and name or browse to search for the labe...

Страница 53: ...e Edit allows you to modify your label design from within 123 Print See Section 3 3 1 Edit Variables allows you to add screen prompts and logic to your label design See Section 3 3 2 Variables Mapping...

Страница 54: ...bel open for editing If you do not have a BarTender label and are working directly with a txt or dpl file Edit will display the DPL code of the label for editing Edit 1 Click the Edit button to view a...

Страница 55: ...operties dialogue box 1 Click the Variables button Variables The Variables function allows you to build a dialogue between your label program see Section 1 3 Project Flow and the user via a series of...

Страница 56: ...nly one prompt screen is displayed at a time for large graphical displays Use the scroll bar provided to navigate through your prompt screens Graphical Display Small The 123Print Designer window for a...

Страница 57: ...rehouse The labels would then be applied to the shelving racks in the warehouse to assist customers in finding the product they want to purchase Text displays are used in the following example However...

Страница 58: ...lect Value From File Display Data The various Input Methods available for line 2 are discussed in Sections 3 3 2 1 to 3 3 2 7 Please see these sections for more detailed explanations about the Input M...

Страница 59: ...t Variable is the variable where the user s input will be saved when they enter a location on the screen prompt The Force Uppercase will prevent the user from entering lowercase letters when they ente...

Страница 60: ...ot applicable for use as a resultant variable and are grayed out whenever you are creating a resultant variable Please see Section 5 1 Introduction to 123 Print Variables for more detailed information...

Страница 61: ...screen of your label program For this Warehouse Shelving example repeat the above steps to create a second prompt screen Enter Product Name Create a Resultant Variable A1 Product_Name as the storage l...

Страница 62: ...ft hand side of the 123Print Designer window Then proceed as for Screen 1 and 2 by first entering the text to be displayed on Line 1 and then the action to be performed on Line 2 9 Type Product Name o...

Страница 63: ...y for the period you set in seconds 15 Set the Display Time to 2 seconds When completed the properties for Screen 3 are as shown above Continuing with the Warehouse Shelving example create a fourth sc...

Страница 64: ...Copyright 2007 MCL Technologies All Rights Reserved www mcl col lection com Chapter 3 Creating a Project When completed the properties for Screen 4 are as shown here October 2007 Page 64...

Страница 65: ...s are actions performed in between screen prompts in your label programs Please reference Chapter 5 Using Processes for complete information on all the processes available in 123 Print Processes are a...

Страница 66: ...to do is to choose the Variable on which the test is to be performed In this example the Yes or No input from screen 4 is stored in variable A2 Confirmation 22 Select A2 Confirmation in the If Value f...

Страница 67: ...int Designer window is displayed again as shown below with an entry for the Test Branch process you just defined 28 Click the OK button to accept the screen prompts program flow and processes you have...

Страница 68: ...s follows Increment Range Min Range Max Default Value Result Value Output Format Set the rate the number will increment with each up down click Set the minimum value for the range This is the lowest n...

Страница 69: ...uld be accepted e g Alphanumeric Numeric Decimal Enter the minimum number of characters needed for the input to be accepted Set the maximum number of characters allowed for the input to be accepted En...

Страница 70: ...put Users will not be able to enter lower case letters into a screen prompt if this option is selected Type a value or set a default value using the contents of a variable If you use a variable rememb...

Страница 71: ...Set which types of Barcode Symbologies may be read Set the minimum number of characters needed for the input to be accepted Set the maximum number of characters needed for the input to be accepted Se...

Страница 72: ...a variable If you use a variable remember to assign a value to the variable someplace in your label program Select the variable in which the user input should be stored Set the format you want to use...

Страница 73: ...ng on the printer For Weight Scale the property settings are as follows Data to Send Start With Data End With Check the Data to Send checkbox if your weight scale requires a request from the printer b...

Страница 74: ...roperty box the exact number of characters to be received from the weight scale Check the checkbox beside this option if you wish to extract only a specific set of characters from the received data Se...

Страница 75: ...t character followed by the command SP64 and ending with a CRLF Carriage Return Line Feed then your Data To Send settings should look as shown below If in return you weight scale s return data stream...

Страница 76: ...ct The remaining weight data may be further refined by selecting an output format such as stripping leading zeros The result may then be saved in a variable for additional processing or printing Below...

Страница 77: ...alue from a predefined list of values or from existing variables For Select Value From List the property settings are as follows Variable Value selection Result Variable Create the list from which the...

Страница 78: ...Copyright 2007 MCL Technologies All Rights Reserved www mcl col lection com Chapter 3 Creating a Project October 2007 Page 78...

Страница 79: ...ue From File the property settings are as follows Local File Name Select Record Using Field Start Browse With Keyboard Input to Search Data F1 Copy Value to Variable Select the file to be used to look...

Страница 80: ...nt to lookup The user input is then used to initiate a search in the file This approach can help find an item more quickly than browsing for the item by scrolling through the entire list If a match is...

Страница 81: ...lue using the contents of a variable If you use a variable remember to assign a value to the variable someplace in your label program Set the starting position if extracting only certain characters fr...

Страница 82: ...mapped must be of the format btw dpl or txt providing the txt file contains DPL code This section discusses 123 Print s Mapping function to create labels that print with variable content Mapping The...

Страница 83: ...el The original static default data for the field Original Field Data The data which should replace the default data Replace By Replace By Replace By allows you to associate your different Variables w...

Страница 84: ...n the Mapping table this element is the first of the two Barcodes on the example label The Variables list is displayed as shown here 3 Select the Location variable A0 Location 4 Click OK The variable...

Страница 85: ...e the text location was printed beneath the barcode on the static label 6 Repeat the above steps for the remaining elements of the label Select an element and assign a variable to it If no Replace By...

Страница 86: ...prompts will request Location and Product Name for a given product If you input a location of A78 25Z and a product name of OAK BOOKCASE then the variables you created will contain the following A0 L...

Страница 87: ...list view click the view list icon on the left of the Labels List window Your labels will be displayed in the Labels List as shown here Notice that in the Type column icons are displayed with your lab...

Страница 88: ...abel and choose duplicate If you wish to re arrange the sequence in which the labels appear in your labels list you can do so using the arrows in the bottom right hand corner of the window Deleting a...

Страница 89: ...eft hand side of the main 123 Print window or on the menu bar 1 Click Project 2 Click Lookup Files The Lookup Files window is displayed as shown here Lookup files Initially the only Lookup File option...

Страница 90: ...ct the file you want to delete 2 Click on the Delete button You are prompted to confirm the request to delete a Lookup File 3 Click Yes to proceed with the deletion The Lookup file is deleted from you...

Страница 91: ...files are saved in C 123Print Projects your project prj lookup On the Lookup Files window 1 Click the Add button The Lookup File Properties screen is displayed as shown here A file code is automatica...

Страница 92: ...is the Memory property The lookup file may be saved in flash RAM or optional flash memory on your Datamax printer when you download your 123 Print project and lookup files into your Datamax printer I...

Страница 93: ...rted and saved according to this sort selection 4 Select the desired sort field s if any The next file property is the Separator property 123 Print provides a variety of separators that can be used as...

Страница 94: ...ee Section 3 4 3 Add Lookup File from Scratch Add Lookup File from Import To create your lookup file from an existing data source 1 Complete the Lookup File Properties as described above 2 Click on th...

Страница 95: ...ile from import file In 123 Print you can create a Lookup File from an existing data source Several file types are valid for import dat txt xls cvs First complete the Lookup File Properties as describ...

Страница 96: ...t the appropriate file type of the file to be imported 5 Navigate to the file you want to use 6 Click Open The file you select appears in the Select a file Import structure data screen as shown here I...

Страница 97: ...lue in the field 10 Click on the Preview button The first few lines of the imported file are displayed as shown below Number of Lines is useful if you are importing from a large file and do not need t...

Страница 98: ...mes or field length may be edited at this time Edit the Product Description field length to 25 for example and the Manufacturer field length to 20 12 Double Click on the field to be edited 13 Enter th...

Страница 99: ...789012345 DMX M 4208 Datamax 4567890123456 DMX A 4210 Datamax If you decide you would like a different separator select the desired separator in the Lookup Files Properties window and click OK This ex...

Страница 100: ...omplete the Lookup File Properties as described in Section 3 4 Add Lookup File 123 Print assigns the next available file code LB to this new file Now create the structure for your lookup file 1 Enter...

Страница 101: ...your data to the Lookup File In the Lookup Files window 4 Click the Data button 5 Double click on the first field in the first row to edit it with the desired data 6 Press TAB or ENTER to move to the...

Страница 102: ...adding records until your Lookup File is completed Save Lookup File To save the Lookup File 7 Click OK You are prompted to confirm that you want to save the file 8 Click Yes The Lookup File is closed...

Страница 103: ...Copyright 2007 MCL Technologies All Rights Reserved www mcl col lection com Chapter 3 Creating a Project October 2007 Page 103...

Страница 104: ...may perform the following on your data records Add Insert Modify Delete Edit Data The Lookup File data may be edited at any time when the file is first being created or at a later time whenever change...

Страница 105: ...of the columns is shown A check mark beside a column indicates it is being displayed No check mark indicates the column is hidden To hide a column 4 Select the column name of column s you want to hide...

Страница 106: ...is added to the file 2 Enter the desired data for this record for example the product information for Seagull s BarTender software When all the data for the new record has been entered 3 Press ENTER...

Страница 107: ...lected record 3 Enter the desired data for this record for example the product information for Seagull s BarTender License Server Insertion at a desired point is only useful if you are inserting recor...

Страница 108: ...ecord is in the desired position Change record order is only useful if you are ordering the records in an unsorted file If the file is sorted the order change is not relevant since 123 Print automatic...

Страница 109: ...Copyright 2007 MCL Technologies All Rights Reserved www mcl col lection com Chapter 3 Creating a Project October 2007 Page 109...

Страница 110: ...e menu bar 1 Click Project 2 Click System Setup Text Display When you select System Setup for a text display printer the Aux Com Settings window is displayed as shown here These are the only project r...

Страница 111: ...hts Reserved www mcl col lection com Chapter 3 Creating a Project 3 Select the desired Date Format for your project 4 Select the desired Time Format for your project 5 Select the desired Font Code Pag...

Страница 112: ...he Datamax printer keys 123 Print allows you to define the function of these keys on a project by project basis thus making them Soft Keys This section describes how to Define the function of the Data...

Страница 113: ...wn here The keys found on your Datamax printer are depicted with a Key Code box beneath each key 5 Select the desired function for each of the keys from the drop down list of options as shown here Nex...

Страница 114: ...ect 6 Select the Text or Image radio button If you select Text simply edit the text box provided for each key to reflect the given function of the key as shown here Below shows what the Welcome screen...

Страница 115: ...Screen The Soft Key footer image for a large screen graphical display should be a monochrome bmp image with the following specifications Black and white 1 bit Uncompressed Max 240x320 px Graphical Di...

Страница 116: ...ions setup you must first have a project open Then Click the System Setup button on the left hand side of the main window or on the menu bar 1 Click Project 2 Click System Setup If using a graphical d...

Страница 117: ...3 Creating a Project Com 2 Com 2 if installed on your Datamax printer is typically used to support non barcode scanning peripherals such as weight scales Any serial device may be connected here 5 Sele...

Страница 118: ...s a Serial In process see Section 5 7 1 Serial In Any data received before the printer is in this Input mode will be ignored After Read the input buffer is cleared when the data is read from the input...

Страница 119: ...our convenience the printer setting is saved as part of the label format Therefore the next time you need to print the same labels all you need to do is load the format and print However Seagull also...

Страница 120: ...amax printer driver for the target printer be installed on your system as a Windows printer for the label you are creating The BarTender label you create must have a Datamax printer name saved in the...

Страница 121: ...target Datamax printer model is defined in Bartender s printer settings Design your label as you normally would Save your BarTender label On BarTender s menu bar 5 Click File 6 Click Save As 7 Save th...

Страница 122: ...BarTender Label To incorporate your new label into your project return to 123 Print 9 If not already done open your project 10 Click the Labels button on the left hand side of the main window Alternat...

Страница 123: ...bel 14 Click on the browse icon 15 123 Print looks for labels either in the last folder from which a label has been added or in the btw folder you selected during setup 16 Select a label from this fol...

Страница 124: ...ociating a label with your project 123 Print creates a working copy of your BTW label file in the label sub directory of the project folder 19 When the label conversion is completed the Labels Propert...

Страница 125: ...reen The BTW icon under type indicates that the label you have added is a BTW label The Label File and Label Name are the names you assigned in the Label Properties screen for the given label The Date...

Страница 126: ...as a warning icon in the labels list beside all the entries that use the given label If a label change is detected in an unselected label entry the entry is highlighted in red as shown below Note Lab...

Страница 127: ...message This message reminds you to check to see if your mapping has been affected by the label edits you have made The restrictions referenced here are discussed in Appendix E Mapping Label Graphic E...

Страница 128: ...covers the following topics and processes Topic Page 5 1 Introduction to 123 Print Variables 131 Processes Process 5 2 5 3 5 4 5 5 5 6 5 7 5 8 Branch 5 2 1 Case and Branch 5 2 2 Control and Branch 5...

Страница 129: ...a label 1 Open or create a new project 2 Click the Labels button 3 Add a label 4 Double click on the label or click label properties 5 Click Variables 6 Click the arrow icon between the screens where...

Страница 130: ...to be added or 9 Click in the tree view to view the processes available in a given group of processes 10 Click OK The processes described in this chapter start from step 8 in this procedure When a pro...

Страница 131: ...s contain system information that can be used by your label programs System variables contain information like the current date time the current record number in a local file the program name and vers...

Страница 132: ...Below is the list of all local variables available for a Price Label This list includes both those that have already been defined and those available for definition as user local variables This is whe...

Страница 133: ...s is a label program on the Variables dialogue box 16 Click on the Global tab To define a new global variable for your label program s 17 Select an undefined variable L2 for example in the above list...

Страница 134: ...ction This section describes the possible branching related operations that you can perform in your label program Branch Processes 1 Click the plus sign beside Branch in the Add Process dialogue box t...

Страница 135: ...or variable selected in the Case Value box 4 In the corresponding Goto boxes select the action to be performed or the screen to go to if the test results are true 5 In the Otherwise Goto box select th...

Страница 136: ...hod chosen is Select Value from List to set up a list of possible product types The user scrolls through this list and selects the appropriate product type NONE SOFTWARE or HARDWARE In the process scr...

Страница 137: ...etter The numbers 0 to 9 to specify a specific number The dollar sign stands for any numeric character The double quotes stand for any alphabetic character The underscore _ stands for any alphanumeric...

Страница 138: ...t can be set to identify a specific position in the program such as a certain line in a process Once a label reference is entered it always refers to the same position in your program When a label is...

Страница 139: ...o Screen To set a goto screen function proceed as follows 1 Add the process Goto Screen to your label program The Goto Screen dialogue box is displayed 2 Select the screen you want to jump to from the...

Страница 140: ...time out occurs 4 If you want to branch to an action or screen when the user presses the Clear Up Down PgUp PgDown or Enter key on the printer or connected keyboard assign the action or screen in the...

Страница 141: ...erence In this context a label is a reference point in your program that can be set to identify a specific position in the program such as a certain line in a process Once a label reference is entered...

Страница 142: ...ct the variable against which you want to test the variable selected in the first parameter You may also type any text here instead of selecting a variable 6 In the Then Goto box select a screen or ac...

Страница 143: ...5 Using Processes 5 3 Date Operation General introduction This section describes the possible operations that you can perform on a date in your label program Add Subtract Date Difference Conversion D...

Страница 144: ...stem variables 3 In the Input Format box select the format of the input date 4 In the Operation box select Add Subtract and the measure of time days weeks months etc 5 In the Value 2 box type the quan...

Страница 145: ...the available User Local variables All Local variables Global variables or System variables 3 In the Input Format box select the format of the input date 4 In the Operation box select Conversion 5 In...

Страница 146: ...variables or System variables 3 In the Input Format box select the format of the input date 4 In the Operation box select Date Difference 5 In the Value 2 box create or select a variable that contain...

Страница 147: ...he first field in the file Field 2 represents a lookup key for the second field in the file If your lookup file is unsorted you may use both the first and second fields in your search If your lookup f...

Страница 148: ...le The following example searches the first field of the lookup file Product Description for the value found in the variable A1 Product_Name When a matching record is found the contents of the record...

Страница 149: ...x to indicate the number of integers you want in the resulting number A 5 here will allow a maximum number of 99999 6 Enter a value in the Decimal box to indicate how many decimal positions you want i...

Страница 150: ...ntroduction This section describes the various miscellaneous processes that you can perform in your label program Other Processes 1 Click the plus sign beside Other in the Add Process dialogue box to...

Страница 151: ...sert a pause in your application This is used frequently to display a screen for a couple of seconds to give a user enough time to read it Delay To add a delay to your project proceed as follows 1 Add...

Страница 152: ...age command lines directly into your label program MCL Code To insert a process line in MCL Code proceed as follows 1 Add the process MCL Code to your label program 2 Type the MCL Code for the process...

Страница 153: ...3 Notes General introduction The Notes process allows you to insert comment lines in your label program This will help in the understanding of some special routines Notes To insert a comment proceed a...

Страница 154: ...follows 1 Add the process Print Label to your label program 2 In the Printer Port box identify the port you want to print on Select Internal if you want to print on the printer where your project is...

Страница 155: ...ibes the possible serial communications operations that you can perform in your label program Serial communication processes 1 Click the plus sign beside Serial Communication in the Add Process dialog...

Страница 156: ...eived Choose one of the other available options as appropriate 5 If you want to extract only part of the received data check the checkbox beside Extract from Received Data 6 To extract from the receiv...

Страница 157: ...ex Line Feed 0A hex Horizontal Tab 09 hex NULL 00 hex Note Any hexadecimal value can be entered in the serial data stream In order to define an ASCII character by its hexadecimal format use the back s...

Страница 158: ...as the first character in the data stream to be transmitted None if you do not want to wait for a special start character STX if you want to wait for a Start of Text character 4 In the End with box cl...

Страница 159: ...troduction This section describes the possible operations that you can perform on variables in your label program Variable Processes 1 Click the plus sign beside Variable in the Add Process dialogue b...

Страница 160: ...command allows you to assign a value to one or more variables Up to 10 variables can be assigned with one single variable assignment process Variable Assign To assign a value to a variable proceed as...

Страница 161: ...he value you want to assign to the corresponding variable This value can be Any fixed value Another user defined variable or A system variable 7 Click OK If you change your mind about an assignment si...

Страница 162: ...fixed value or select the variable you want to concatenate 3 To select a variable click beside one of the Data boxes to open the Variables dialogue box 4 Select the desired variable and click OK 5 Re...

Страница 163: ...your label program 2 In the Value box select the input variable from which you want to extract fields 3 In the Separator box select the separator used between the fields in the input variable The left...

Страница 164: ...col lection com Chapter 5 Using Processes Example In this example the variable C1 contains three fields separated by semi colons This process extracts the first and third fields and copies their conte...

Страница 165: ...sult Variable box 6 Select or create the variable that will contain the reformatted contents and click OK 7 Click OK Examples In this example the contents of variable B4 are reformatted as follows The...

Страница 166: ...CL Technologies All Rights Reserved www mcl col lection com Chapter 5 Using Processes If the above Variable Format processes are run with B4 001234 569 Then B5 1234 5690000000 And B6 000001234 57 Octo...

Страница 167: ...variable Variable Length To determine the length of a variable proceed as follows 1 Add the process Variable Length to your label program 2 In the Value box select the variable whose length you want...

Страница 168: ...riable after the From Position Last occurrence in the input variable before the To Position 5 Specific occurrence between the From Position and To Positions 6 Enter values for the From Position and To...

Страница 169: ...er or string of characters to be used in the search This can also be a variable if the search criteria is contained in a variable 4 In the Replace Value box type the character or string of characters...

Страница 170: ...to substring a certain number of characters 3 In the From Position box and the To Position box type respectively the starting and ending position of the characters to be substringed from the variable...

Страница 171: ...in your development environment Simulator mode Simulator Mode displays an image of the printer and lets you run a project to see how it will operate when loaded onto a printer Simulator Mode may also...

Страница 172: ...t panel buttons The buttons can be pushed under simulation with a mouse click Using the simulator The simulator is a valid option only if a project is already open in 123 Print To launch the simulator...

Страница 173: ...lating your project When you switch from Simulator mode to Debugger mode the project continues to run in Debugger mode from the point at which it was stopped in Simulator mode This allows you to run t...

Страница 174: ...x beside Interactive I O dialogue box With this option enabled whenever an I O instruction is executed in your project the simulator will stop An Aux comm Simulation dialogue box is displayed showing...

Страница 175: ...yed if there is a problem printing a label Simulating barcode input Barcode input simulation allows you to test routines by simulating the barcode scanning inputs you want to allow in your project To...

Страница 176: ...ode Viewer a view of the MCL code lines your project is executing Debugger mode also includes Break options not available in Simulator Mode You may switch at any time from Debugger Mode back to Simula...

Страница 177: ...our printer project consider using MCL Designer for Datamax printers MCL Screen View In MCL Screen Viewer you control the execution of the project in Debugger mode To simulate the user actions Rev Fwd...

Страница 178: ...window is displayed as shown here 2 Edit the value of the variable to the desired value 3 Click OK This may be useful to test some specific situations Local Files Viewer The Local Files viewer gives...

Страница 179: ...nal conditions to Perform step by step execution Stop automatically when the contents of any variable are modified Stop automatically when the contents of a specific variable are modified These break...

Страница 180: ...iting for user input Red a break condition has occurred execution is suspended When the execution is suspended red the Execute Next Line icon is enabled 5 Click this icon to execute the next MCL Code...

Страница 181: ...er Graphical Display Large Screen The MCL Screen Viewer presents a view that is representative of a given printer s display type Below shows the Debugger windows for a large graphical display printer...

Страница 182: ...nter at a time This chapter describes the printer management and control capabilities available in 123 Print Description The printer management and control capabilities available in 123 Print allow yo...

Страница 183: ...nce 123 Print is installed and activated you can connect to your Datamax printer at anytime You must open a project with the valid printer type selected before initiating the connection Notice the con...

Страница 184: ...rinter 3 Select the appropriate radio button for your choice of communications interface 4 Fill in MCL ID and IP Address as appropriate Please see Appendix B for more information 5 Click OK 123 Print...

Страница 185: ...he printer When the printer is successfully connected the connection status on the bottom left hand corner of the main 123 Print window shows in green letters that the printer is Connected If the conn...

Страница 186: ...nect To disconnect 123 Print from your printer 1 On the menu bar click Tools and then select Disconnect Alternatively 2 On the tool bar click the Disconnect icon The connection status on the bottom le...

Страница 187: ...tatus icon found on 123 Print tool bar The printer status screen is displayed as shown here The printer information given means the following Model The Datamax printer model to which 123 Print is conn...

Страница 188: ...of memory used In this example 0 RAM and 3 Flash memory are in use To refresh the printer status displayed on this screen 3 Click on the Refresh button Alternatively to automate the printer status re...

Страница 189: ...Copyright 2007 MCL Technologies All Rights Reserved www mcl col lection com Chapter 7 Deploying a Printer Project October 2007 Page 189...

Страница 190: ...te Time Reprint Last Label Print Label Load File Control Connect to a printer to enable these controls If no printer is connected these controls are not active and the control icons are grayed out Man...

Страница 191: ...nter for more information Following is a more detailed description about each control and how to execute it Feed Label 1 Click to perform a form feed and advance the label roll to the top of the next...

Страница 192: ...ect A Send Label dialogue box is displayed as show here 2 Enter the path and file name or click the browse icon to search for the label you want to print The label to be printed must be in dpl format...

Страница 193: ...udes Load options special to the given Load type Note The Actions available at any given time depend upon the physical connection to the printer and the printer Class involved For more information see...

Страница 194: ...nd MCL system menu options 2 Select the firmware you want to load into the printer or 3 Click the browse icon to browse for the firmware you want to load 4 Next select the MCL System Menu you want to...

Страница 195: ...owing error message Change your connection to a parallel or network connection and try again For more information see Appendix F Connectivity Function Matrix Note Be aware that there are differences b...

Страница 196: ...stem Menu into the printer when you are loading firmware Loads the selected firmware Reboots the printer Waits for the printer to boot up and restore its settings normally about 40 seconds Loads the s...

Страница 197: ...rinter You must enter a target file name If no target name is entered 123 Print will not load the font 5 Select the target Location This is the drive where the font file will be saved on the printer d...

Страница 198: ...to load 4 Enter the Target Name This is the name the graphic file will have when loaded on the printer You must enter a target file name If no target name is entered 123 Print will not load the graphi...

Страница 199: ...ol lection com Chapter 7 Deploying a Printer Project 7 Select the appropriate Type ASCII characters only or all characters 8 Click Load Note Graphic images must be monochrome Valid graphic file types...

Страница 200: ...to load 4 Enter the Target Name This is the name the label file will have when loaded on the printer You must enter a target file name If no target name is entered 123 Print will not load the label 5...

Страница 201: ...ile name of the lookup you want to load into the printer or 3 Click the browse icon to browse for the lookup you want to load 4 Enter the Target Name This is the name the lookup file will have when lo...

Страница 202: ...ea 2 Select the file name of the file you want to load into the printer or 3 Click the browse icon to browse for the file you want to load 4 Enter the Target Name This is the name the file will have w...

Страница 203: ...ame printer settings into other printers to configure them identically 123 Print can load a profile created using DMXNet Manager Profiles are of the type dmp If you used the default paths when install...

Страница 204: ...applications that run on Datamax printers To load a project into the printer 1 Select Load MCL Project A Load MCL Project dialogue box appears as shown here Load project options In the project option...

Страница 205: ...trol action A dialogue box is displayed giving DPL Command load options as shown here DPL command options 123 Print offers a list of preset DPL Commands for you to choose from These are the most commo...

Страница 206: ...07 MCL Technologies All Rights Reserved www mcl col lection com Chapter 7 Deploying a Printer Project 5 In the DPL Command box provided enter the DPL command you want to execute 6 Click Load October 2...

Страница 207: ...ly used MCL commands used in scripts However they are also available here for direct MCL control 1 Select the predefined MCL Agent command you want to send to the printer When would you use these comm...

Страница 208: ...t loads the open project onto the connected printer You must have a project open for this function to work On the 123 Print main window menu bar 1 Click File 2 Click Open 3 Select the project that is...

Страница 209: ...at a time into the connected printer By contrast scripting allows you to identify several files to be automatically loaded into the connected printer This section discusses how to create and use scri...

Страница 210: ...xception of a new action to Pause the printer the choice of actions available for scripting are the same as those described in Section 7 4 Load File Control The possible script actions are also availa...

Страница 211: ...ue adding all the actions you want to the script You save the script to be executed at a later time Pause The Pause action is a Scripting action that is not available as a Load File Control option in...

Страница 212: ...Menu does not show in the script it is included in the Load Firmware action options Script edit action The script you create may be modified at any time 1 Select the Script action you want to edit 2 D...

Страница 213: ...previously inserted in the script 1 Select the action you want to delete On the Script menu bar 2 Click Script 3 Click Delete Alternatively click the Delete button found at the bottom of the Script u...

Страница 214: ...e Save the script you have created On the Script menu bar 1 Click File 2 Click Save or 3 Click Save as A dialogue box is displayed as shown here 4 Enter a File name for your script 5 Click Save Script...

Страница 215: ...ing a Printer Project 7 6 4 Script Open Script open Once saved the Script you created may be opened and modified again at any time On the Script menu bar 1 Click File 2 Click Open A dialogue box is di...

Страница 216: ...ctions are sent to the connected printer To execute a script on the 123 Print tool bar 1 Click the script icon The Script utility screen is displayed The script that was last open when you last quit t...

Страница 217: ...d various dialogue boxes are displayed indicating the progress of the script execution Below are the progress dialogue boxes for a delay count down and a Lookup File transfer respectively for the exam...

Страница 218: ...ase access the http mcl mcl collection com website go to Section Download B To automatically activate On Line Mode your purchased MCL Collection Software follow instructions displayed at install To ma...

Страница 219: ...are confidential and may be legally privileged They are intended solely for the use of the intended recipient i e CUSTOMER The content of this e mail or any file or attachment transmitted with it may...

Страница 220: ...ter to apply the value 10 Make a note of this Group ID You will need it to set up 123 Print as described in Section 2 3 2 MCL Connection Printer IP address Next setup your printer for Serial or Ethern...

Страница 221: ...rinters List of Printers that 123 Print v1 1x supports A Class A 4212 A 4310 A 4408 A 4606 A 6212 A 6310 H Class H 4212X H 4310X H 4606X H 6212X H 6310X H 8308X H 4212 H 4310 H 4408 H 4606 H 6210 H 63...

Страница 222: ...nications interface 123 Print supports three physical means of communication with the Datamax printers Serial Com Network Ethernet TCP IP and UDP protocol stacks Ports 3000 9100 5001 Parallel Datamax...

Страница 223: ...be sure the label only includes one image Use native fonts For barcodes choose the Print Method option Bar codes and human readable text controlled by the printer These restrictions do not apply to l...

Страница 224: ...ires MCL mode or DPL mode at a given moment should not be of concern to you However you do need to be aware of the impact this sharing has on the functions supported depending on the connectivity you...

Страница 225: ...succeed If you attempt to perform an invalid communication action you will receive an Operation Failed dialogue box as shown here If this occurs verify that you have the appropriate physical connecti...

Страница 226: ...ie mcl collection com MCL Technologies NL Competence Centre Competence nl mcl collection com About MCL Technologies MCL Technologies is a recognized leader in delivering high productivity software dev...

Отзывы: