String.toBytes()

M

matafbtt

I have string I will use for printing.
String.getBytes() converts -1 to 63. (i.e. hexa FF to hexa 3F).
I use a DocPrintJob that supports byte array flavor. so I need to
initialize SimpleDoc with a byte array. This ends up with the printer
printing ? instead of recognizing the FF as a char to skip over.

Any help?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,781
Messages
2,569,615
Members
45,302
Latest member
endevsols

Latest Threads

Top