Open wellRoundedAppDev opened 1 year ago
printing via Wi-Fi produces disjoint and unproper arabic characters, but it works well when connecting printer to direct cable. My code: ` final pdf = pw.Document();
printing
pdf.addPage(pw.MultiPage( pageTheme: pw.PageTheme( textDirection: pw.TextDirection.rtl, theme: pw.ThemeData.withFont( base: arFont, ), //depends on printer pageFormat: PdfPageFormat.a4), crossAxisAlignment: pw.CrossAxisAlignment.end, mainAxisAlignment: pw.MainAxisAlignment.start, build: (context) {
return [ pw.Text("هلا"); } ])); await Printing.layoutPdf( onLayout: (PdfPageFormat format) async => pdf.save(), );`
same issue , any update on this point please ?
printing
via Wi-Fi produces disjoint and unproper arabic characters, but it works well when connecting printer to direct cable. My code: ` final pdf = pw.Document();return [ pw.Text("هلا"); } ])); await Printing.layoutPdf( onLayout: (PdfPageFormat format) async => pdf.save(), );`