Document Print Manager
Manager for printing PDF documents via Android built-in print framework.
Functions
Link copied to clipboard
Link copied to clipboard
Test if document has either PRINT_HIGH_QUALITY or PRINTING flags set.
Link copied to clipboard
Test if printing is available on current device and is enabled in .
Link copied to clipboard
open fun isPrintingEnabled(@NonNull configuration: PdfActivityConfiguration, @NonNull document: PdfDocument): Boolean
Test if printing is enabled.
Link copied to clipboard
Print specified document.
open fun print(@NonNull context: Context, @NonNull document: PdfDocument, @NonNull printOptions: PrintOptions)
open fun print(@NonNull context: Context, @NonNull document: PdfDocument, @NonNull processorTask: PdfProcessorTask)
Print specified document using provided sharing options.