save setupstring in sqlite

How i can save printer setupstring
What data type i can use to save

If I understand your question correctly, you have a few options:

  1. You could stick the printer setup string in a text file (probably easiest)
  2. You could stick it in an SQLite database (a waste of resource, IMHO)

If you’re up to going with #1, take a look at TextOutputStream and TextInputStream. If you really want to use an SQLite database, then you can store the string in a varchar or text field there.