Programming placeholders in the I-Mark Software

Published by Marc Steele on

Q: How to program layout for ASCII placeholders? Which code do you use the %P# or the %###? How do you determine the size of the placeholder?

A: When programming text the following box will be seen on the I-Mark screen:

The %P# is used for is the proper command for programming a Serial data string variable. The %### is used to print ASCII characters within the marking layout.

In the command string “%P#” the only item that is changed is #. This is replaced with a variable from 0 through 9. The number relates to the field number in the incoming data string. The text box will automatically be size to fit the information in the data string. The three elements that the programmer may control are: 1) The size of the Text 2) The spcaing of the Text 3) The location of the Lower Left Hand corner of the Text box.

Followup Question:

Q: When sending the serial data, per the help instructions in the software:

[ : ]   “DATA TO BE MARKED”   [CRLF] 

Start of string = [ : ]

Data to be printed by marking head =   ”DATA TO BE MARKED”

End of String = [CRLF]

Is the CRLF as noted above the same as the CR in the ascii table (hex “D”)

Is that correct?  If written in Hex would it read  3A   “Serial Data”  D

A: Yes that would be the Hex equivalent – please note that our system understands and accepts ASCII strings only.

Categories: I-Mark Software FAQ

Marc Steele

Marc has been in the marking business for over 15 years. He provides technical assistance through emails and online chat.