I am looking to program an Android app which is simply a print driver that converts a file to postscript and/or PCL and then sends it to a network printer. My first concern is printing pdf files. Do any of you know of a Java (or I guess I could use C/C++ and JNI) library for converting pdf to PS/PCL? The key issue here is that I can't use any of the built-in Java print libraries, since those aren't included on Android.
I don't have any ambition to sell the app, or distribute it under my name, or anything of that nature, so if you can poi开发者_如何学编程nt me to some open-source converters which I can use directly, that would be great.
The "send to a network printer" part of this question is a duplicate of existing Stack Overflow questions, Printing API in Android and Android Printing API on Galaxy Tab.
The answer, thanks to Horcrux7 in August 2011:
Currently there are some bad working third party apps. Nothing is a professional solution.... All which need a printing API in Android should vote for it.
- http://code.google.com/p/android/issues/detail?id=1148
- http://code.google.com/p/android/issues/detail?id=13275
精彩评论