Anchor | ||||
---|---|---|---|---|
|
Search Optifacts User Documentation
Live Search | ||||
---|---|---|---|---|
|
Table of Contents (on this page)
Table of Contents | ||||
---|---|---|---|---|
|
Introduction
This document provides instructions for enabling and printing a customized Watermark text on the LayCom work ticket form in Optifacts GR8 or higher. The font style, size, location, rotation, justification, and density of the watermark is customizable for each individual setup.
Procedure
Determine what text you wish to print in the watermark. The text for this watermark is taken from data that is stored within the job_data table. Printing of the watermark can be triggered by any method available in the job triggers or other menus to set a job data item. This document will example a watermark of ‘NEW ACCOUNT’ that will be triggered by the account number.
Begin by creating the placeholder for the watermark.
Job Data Definitions
From the Optifacts main menu:
Type 3 - Editor Utilities and press enter.
Type 6 - Configuration Editor and press enter.
Type 7 – Edit Job Data Definitions and press enter.
The Prompt Configuration for Miscellaneous Job Related data screen displays.
- Press Q to Query to perform a search for the table shown below.
- You can then use N and P to scroll forwards and backwards in the results list, and press U to update an existing record. (If you need more assistance with navigating this screen, please refer to the appropriate SOP for navigating Perform Screens.)
If the table does not exist:
- Type A to add a new record for work ticket watermark.
- Enter all the information as shown in the diagram below.
- Press Escape to save the data.
- Repeat this procedure for each watermark configuration you will be making.
- Type E to exit.
Field Name
- Must begin as WT WATERMARK, followed by a space, and then a number 1 through 20. WT WATERMARK 1, WT WATERMARK 2, etc.
- This entry matches the Field Name from the Custom Configuration screen.
- Each entry must be uniquely named, from WT WATERMARK 1 through WT WATERMARK 20.
Prompt Order
- A numerical value. Since this configuration is not prompting an operator for input, this value is not used, but still required. 30 is being used in this example.
Order Within Prompt Grp
- May be left blank
Prompt Title
- May be left blank, but advise placing something in this field.
Validation Mask
- May be left blank.
Include or Limit
- May be left blank.
Minimum Characters
- Numerical value. May be left as 0.
Comment
- Comment this entry as you see fit.
Print in Invoice Box
- Leave this as N to prevent the watermark text from printing in one of the invoice boxes.
Invoice Prefix
- Leave blank. If printing to an invoice box, text here would prefix the data printed.
XML Tag
- Leave blank.
Mandatory
- Set to F to signify this as a flag that will not require operator input.
Prompt Station
- Set to NONE, since no operator input is required.
Local Use Only
- Set to Y, as this data will not be included on routed jobs.
Right, Left, or Job
- Set to J, as the the watermark applies applies to the job.
Tibco Use
- Leave blank.
Relaunch Use:
- Leave blank or set to Y if you know you would desire this barcode to be pre-configured for any relaunched jobs. It is better to leave the unset and allow the system to automatically enable a barcode on a relaunched job.
Press the Escape key to complete adding your entry. Repeat this procedure from “Press A to begin adding” for each barcode configuration you will be making.
Watermark Message
Next, we are creating a new job_data for MESSAGE. This is a job_data field we can place text into, and whatever text we place into this field will become the watermark later. You can also attach existing job_data fields to watermark.
- Press A or U to add or Update (if needed) an entry for ‘MESSAGE’, since we will be printing a message tied to an account in this watermark example: Refer to the instructions shown above.
- Press the Escape key to complete adding your entry.
Press the E key to exit this screen and return to the Configuration Menu.
- .
Job Data Triggers
Next, define the trigger for each watermark, in this example we are using the actual account number as the trigger.
From the Optifacts main menu:
Type 3 – Editor Utilities and press enter.
Type 6 – Configuration Editor and press enter.
Type 7 – Edit Job Data Triggers and press enter.
The Triggers to Cause Prompts for Miscellaneous Job Related Data window displays.
- Press Q to Query to search if the table you are looking for exists.
- Press Escape to search. You can then use N and P to scroll forwards and backwards in the results list, and press U to update an existing record. (If you need more assistance with navigating this screen, please refer to the appropriate SOP for navigating Perform Screens.)
This screen defines what data will trigger the appearance of the barcode, and points to
If the table does not exist:
- Type A to add a new record.
- Enter all the information as shown in the diagram below.
- Press Escape to save the data.
- Repeat this procedure for each watermark configuration you will be making.
- Type E to exit.
This screen defines what data will trigger the appearance of the barcode, and points to the job data element that contains the barcode text.
Account Number
- This example uses account 12345.
Ship To Code
- Leave blank
Lite-Up (num)
- Leave blank
Lite-Up (bit)
- Leave blank
Lite-Up On/Off
- Set to N since this entry is not using light up configuration.
Account Segment
- Leave blank
Account Sub-Segment
- Leave blank
Sales Group
- Leave blank
Buying Group
- Leave blank
Chain Group
- Leave blank
Business Type
- Leave blank
Field Name
- Set to WT WATERMARK 1 (or what name you are using for the WT WATERMARK.. ie WT WATERMARK 2, etc)
Default Value
- Set to MESSAGE ( for this example. You can also enter the name of any other valid job data field here)
Message Data.
Repeat the process above to add a record for the MESSAGE data. Here is where we will input the text associated with the MESSAGE job_data. Remember, the Default Value associated with this field will become the watermark text.
Define the text of the MESSAGE job data value:
So far, we have defined everything needed to save job data for the watermark whenever account 12345 is used on a job entered through layout/order entry.
Custom Configuration
The last step is to define information about where and how the information will print on the ticket. Some of this may require trial and error to obtain the optimal placement and size of the text to meet your desired outcome.
From the Optifacts main menu:
Type 3 - Editor Utilities and press enter.
Type 6 - Configuration Editor and press enter.
Type 6 – Edit Custom Configuration and press enter.
The Custom Configuration Editor displays.
- Press Q to Query to search if the table you are looking for exists.
- Press Escape to search. You can then use N and P to scroll forwards and backwards in the results list, and press U to update an existing record. (If you need more assistance with navigating this screen, please refer to the appropriate SOP for navigating Perform Screens.)
If the table does not exist:
- Type A to add a new record.
- Enter all the information as shown in the diagram below.
- Character Setting, Float and Integer values may vary by lab. This is only an example.
- Press Escape to save the data.
- Repeat this procedure for each barcode configuration you will be making.
- Type E to exit.
Calling Program
- Must be LAYOUT, no other options exists.
Field Name
- Must begin as WT WATERMARK, followed by a space, and then a number 1 through 20. WT WATERMARK 1, WT WATERMARK 2, etc.
- Each entry must be uniquely named, from WT WATERMARK 1 through WT WATERMARK 20.
Enabled
- Set to Y to enable, N to disable this barcode.
Character Setting
- This field is filled with five parameters separated by a comma delimiter. ( separated with a semi-colon delimiter in non-US locations where a comma is used for decimal notation)
- Font parameter – choices are (Upper/Lowercase lettering is important to match exactly!)
- Times, Times-Bold, Times-Italic, Times-BoldItalic
- Courier, Courier-Bold, Courier-Italic, Courier-BoldItalic
- Helvetica, Helvetica-Bold, Helvetica-Italic, Helvetica-BoldItalic
- Size parameter
- A numerical value, representing approximate height of lettering in mm. Size of font includes space for super and sub scripted characters, so font size here of 40mm might only print characters 36mm tall.
- Rotation parameter
- A numerical value, representing axis to print along. 0 = normal left to right, 180 upside down, etc. Orientation of 0 is when holding paper in portrait mode. (taller than it is wider) See Appendix A for more information.
- Density parameter
- A numerical value range from 0.0 to 1.0, where 0.0 is solid black and 1.0 is solid white. Good watermark values will differ between printer brands, 0.6 or 0.7 are good starting values to create a watermark effect where other items are visible through the text.
- Alignment parameter – one of the following: (See Appendix A for more information)
- Right, prints text aligned with the ending character of the watermark text at the coordinates specified.
- Center, prints text aligned with the middle character of the watermark text at the coordinates specified.
- Left, prints text aligned with the beginning character of the watermark text at the coordinates specified. (‘normal’ printing and is the default)
- Font parameter – choices are (Upper/Lowercase lettering is important to match exactly!)
Float Setting
- This is a numerical value. The ‘X’ coordinate, or measurement from the left margin to where you wish to print. Value is entered in mm format. See Appendix A for more information.
- Left most printable margin is 5.0
- Right most printable margin is 210.0
Integer Setting
- This is a numerical value. The ‘Y’ coordinate, or measurement from the bottom margin to where you wish to print. Value is entered in mm format. See Appendix A for more information.
- Bottom most printable margin is 5.0
- Top most printable margin is 275.0
Comment:
- Enter comments about this entry. An Optifacts default is to input comments about the field requirements, as shown in the example above.
- Enter an appropriate test job to validate the new text/barcode appears on the work ticket.
Appendix A
Work Ticket Layout , Dimensions and Font orientation
Below is the default layout of the ticket. Imagine the ticket separated into 2 sides. The left side would be considered inspection and finishing, while the right side is considered for surfacing and frame/lens preparation/supply.
The conventional way of viewing the printed ticket is in landscape orientation. When the ticket is created by the software, it is mapped out and drawn in portrait orientation.
Info | ||
---|---|---|
| ||
*** A very important thing to remember is that when printing text or watermark, the orientation of the ticket is referenced and drawn based on portrait mode. *** |
You will notice that one side of the ticket appears rotated compared to the other side of the ticket. The difference between these ‘sides’ doesn’t matter when you are placing watermarks. All watermarks are overlaid onto the entire page in portrait mode, and orientated according to portrait layout of the page.
By changing the orientation of the watermark text, you can make the text appear to be upside down or print along a diagonal line. If you want to print a watermark on the right side of the ticket and have it align with the ticket text for the surfacing area, you would specify the watermark to print with orientation 90.
Now that you know a little about the orientation of the text on the page, you’ll need to know how to place the watermark where you want on the page.
All measurements are transcribed in millimeters, starting horizontally at 0 on the left and continuing to the right for 215 mm. Vertical measurement starts at 0 at the bottom, and 279mm at the top edge of the page layout. The lower left corner is at location 0,0 and the upper right corner is at location 215, 279.
Info |
---|
*** Keep in mind that most printers can not physically print within about 5mm of the edge of the paper. For this reason, we suggest trying to keep printing within the boundaries of 5,5 and 210, 274. *** |
When choosing a location you would like to print the text, you can also choose how you want that text to align to your starting location.
In the image below, we have drawn a cross at the coordinates so you may see how the text will align to the X, Y coordinates when printing. Normal, or left justified text will begin printing at this location and continue in the direction of the orientation. You can use the same coordinates and specify text to be Right justified and the text will print to the left of the coordinates, with the text ending at the coordinates given. Centered text will center the text around the coordinates.
Below is a listing of the various font choices you can use to create text or watermarks. All the fonts are the same ‘size’ but note how the various font and options will alter how many characters will print within a specified dimension.
There is also an example of a ‘10’ size font printing inside of a ’10’ height box. While you are not able to draw boxes, the box is drawn to show how a font is leaving space at the top for superscript, and the font also has descenders and subscript that could be placed below the vertical measurement when printing the font.