printPDF method

Future<bool> printPDF(
  1. String pdfPath, {
  2. int commandType = 0,
  3. int printerWidth = 350,
  4. int printerHeight = 350,
  5. int rotation = 0,
  6. double scale = 0.91,
  7. int? startPage,
  8. int? endPage,
  9. String? password,
})

Print PDF document.

Implementation

Future<bool> printPDF(
  String pdfPath, {
  int commandType = 0,
  int printerWidth = 350, // Updated default
  int printerHeight = 350, // Updated default
  int rotation = 0,
  double scale = 0.91,
  int? startPage,
  int? endPage,
  String? password,
}) {
  throw UnimplementedError('printPDF() has not been implemented.');
}