I am attempting to encode a magnetic stripe on a CR80 card using:
Simulsoft Reports.Net v.2014.2.2000 on .Net Framework v.4.0.30319 (see JPG for Help screen) via the TopTix SRO4 Document Designer of which it is part. I am told by the printer manufacturer (an IDP Smart-50D with mag encoder) that this is done by the printer driver at low level IF the printer sees code like ~SP:M:H:2:{Client.CrmId}? i.e the db string {Client.CrmId} is enclosed by the escape characters of ~ and ?
Their actual words are:
Having attempted this in the Report Designer, all I can do is make the printer print the string minus the bracketed Client.CrmId rather than do a mag encode at low level. My questions are: Am I attempting this the wrong way (I put the string in a text box on the card template). Should the string be placed in a lower level place in the template and if so, where? Is the Report.Net product capable of being used like this? It prints the Client.CrmId as a barcode perfectly.To do magnetic encoding using a 3rd Party application a user can encode by using a ‘Text string’ on the applications badge template. The text string usually needs to be on the body of the template or in a plain text box. In this case, the magnetic encoding data is defined by making use of defined text strings.
The text string will not print on to the card but will be picked up by the printer driver and encoded as magnetic data.
The text string rule is as following.
~SP:M:H/L:1/2/3:data?
Below details each part of the string…
~SP:M The first text to accept as magnetic encoding.
: Delimiter.
H/L Selecting used magnetic card among (H)iCo and (L)oCo.
: Delimiter.
1/2/3 Selecting the data track done encoding.
: Delimiter.
data Inputting the encoded data.
? End text.
Your advise would be much appreciated. Kind regards, Matt