Android Question SD_ESC_POS image printing

elitevenkat

Active Member
Licensed User
Longtime User
hi
B4X:
        U_Printer.PrintBitmap(LoadBitmap(File.DirAssets,"qr.jpg")) ' works fine
How do i print an image displayed in b4ximageview ?
B4X:
    Dim bm As Bitmap=B4XImageView1.Bitmap
     U_Printer.PrintBitmap(bm) ' This prints non stop (all junk). I need to switch off the printer
Where i am committing mistake ?
 

Star-Dust

Expert
Licensed User
Longtime User
hi
B4X:
        U_Printer.PrintBitmap(LoadBitmap(File.DirAssets,"qr.jpg")) ' works fine
How do i print an image displayed in b4ximageview ?
B4X:
    Dim bm As Bitmap=B4XImageView1.Bitmap
     U_Printer.PrintBitmap(bm) ' This prints non stop (all junk). I need to switch off the printer
Where i am committing mistake ?
To be accepted the image must be a maximum of 330 points wide and in black and white.
What type of image do you want to print?
 
Upvote 0
Top