Printing PDF directly using PrintManager Android 4.4
问题 http://developer.android.com/training/printing/index.html documentation tells how to print a custom content by rendering it on a PDF canvas and sending thus created PDF document for printing. But has no information about if we already have a PDF document, how to send it for printing? Does similar to bitmap printing, there is some method like printHelper.printPDF? 回答1: Use the following code fragment in your onWrite() method should do it: InputStream input = null; OutputStream output = null;