Nitin Gopal
Nitin Gopal

Reputation: 31

Flutter: Print PDF in a printer using IP address without preview

I need to print a pdf data in a wifi thermal printer from my android app. I have the ip address of the printer already, so I need to send the pdf data to the printer and print the data without the android preview

I have tried using the Printing package but cannot implement the system. Help me, thanks in advance

My code:

await Printing.layoutPdf(
    onLayout: (PdfPageFormat format) async => pdf.save());

Upvotes: 0

Views: 766

Answers (0)

Related Questions