Can anyone please help me as to how to print in java? Please tell me the basics first and then how to change the configurations.Actually I need to print in a thermal paper for issuing tickets. Can anyone please help?
Actually I am trying to print from a thermal printer.. it will be a bill. so can anyone please mention the attributes required, like page,page size etc. I know java has the interface PrintRequestAttributeSet which is an interface for a set of
print request attributes.so can anyone please tell me the attributes reqd for thermal printing?
Ah sorry, I missed that part of your original question.
I have no idea what settings you need either. I assume that if you have the thermal paper there, you can measure it and get a rough estimate of what page size etc you'll need. Experimentation will eventually give you the settings that you need to use.
**how to solve invalid keystore error in android studio here is error report----------------------->
here is error report--------> error:Error:java.lang.RuntimeException: com.android.ide.common.signing.KeytoolException: Failed to read key palash from store "D:\MyApplication3.idea\workspace.xml": Invalid keystore format ...