How to change default print option in Android print class
问题 I write a print class in Android app, and I want to save the printAttribute before rotation and reconnect to the printer using the former printAttribute, but when I pass the oldPrintAttribute it does not work, the print dialog still shows the default option, this is my code. PrintManager printManager = (PrintManager) context.getSystemService(Context.PRINT_SERVICE); String jobName = PdfFragment.sProjectPrefix + " " + getFileNameFromPath(mPdfDocumentName); printManager.print(jobName, new