IBM 1352 User Guide - Page 30

Customer Character Conversation Command

Page 30 highlights

Customer Character Conversation Command The Custom Character Conversion Command can be used to resolve some problems in printer data streams. An example might be to remove a special command character in an existing data stream that was used by your previous printer hardware. Without changing your data stream, these special characters can either be removed, converted to Nulls, or converted to other sets of data to accomplish what is required. An example of this might convert a Skip Command used by an older generation printer to multiple Carriage Return / Line Feed commands. You could also store a PCL5 command in our SIMM and call it with one character in your data stream. Only one type of conversion is permitted at any particular point in time, but the function can be modified within a data stream multiple times. The conversion information is stored in NVRAM and is retained through power off / power on cycles. This means you could send the command one time and all future print jobs would be converted. Special precautions are required if printer fonts and Macro's are downloaded to your printer. This might require you to disable the function during downloads and re-enable prior to your print data. &%STCxx[yy...]$ xx is a double-byte character to convert - the following characters are not allowed: &, %, S, T, C and $. yy...is a double-byte string to convert to - can be 0 to 16 caharcaters long $ command terminator Example: &%STC1E0D0A$ sets the convert character to 1E - the printer will replace any 1E character in the data stream with 0D 0A (carriage return, line feed) &%STC1E$ replace 1E with nothing - simply removes all 1E characters from the data &%STC00$ turn character conversion off Secure MICR Printer User's Guide July 2003 Page 26 © Source Technologies All rights reserved

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65

Secure MICR Printer User’s Guide
©
Source Technologies
July 2003
Page
26
All rights reserved
Customer Character Conversation Command
The Custom Character Conversion Command can be used to resolve some problems in printer data
streams.
An example might be to remove a special command character in an existing data stream that was
used by your previous printer hardware.
Without changing your data stream, these special characters can
either be removed, converted to Nulls, or converted to other sets of data to accomplish what is required.
An example of this might convert a Skip Command used by an older generation printer to multiple Carriage
Return / Line Feed commands.
You could also store a PCL5 command in our SIMM and call it with one
character in your data stream.
Only one type of conversion is permitted at any particular point in time, but
the function can be modified within a data stream multiple times.
The conversion information is stored in NVRAM and is retained through power off / power on cycles.
This
means you could send the command one time and all future print jobs would be converted.
Special precau-
tions are required if printer fonts and Macro’s are downloaded to your printer.
This might require you to
disable the function during downloads and re-enable prior to your print data.
&%STCxx[yy...]$
xx is a double-byte character to convert - the following characters are not allowed:
&, %, S, T, C and $.
yy...is a double-byte string to convert to - can be 0 to 16 caharcaters long
$ command terminator
Example:
&%STC1E0D0A$
sets the convert character to 1E - the printer will replace any 1E character in the
data stream with 0D 0A (carriage return, line feed)
&%STC1E$
replace 1E with nothing - simply removes all 1E characters from the data
&%STC00$
turn character conversion off