zebra printers - Need to print the captured user signature in the specified position in java -
we capture user signature through tablet. (we done part) need replace captured signature "$signature" in below content , send printer.
"the content similar below. hereby declare that, to the best of knowledge and belief, the particular given above and the declaration made therein are true.
name $name date $date signature $signature"
we need solutions in java
if want replace string other string, can use replace()
method of string
class. example:
string name = "somename"; string content = "name $name date $date signature $signature"; string result = content.replace("$name", name); system.out.println(result);
output:
name somename date $date signature $signature
apply same other parameters.
Comments
Post a Comment