Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 962cf04c authored by John Hoford's avatar John Hoford
Browse files

change the max print resolution

Change-Id: Ie2cc1c3f40675ae163438c9b09f26e4ac1881367
parent cdd4b82b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -38,7 +38,9 @@ import java.io.FileOutputStream;
import java.io.IOException;

public class PrintJob {
    private final static int MAX_PRINT_SIZE = 2048;
    // will be <= 300 dpi on A4 (8.3×11.7) paper
    // with a worst case of 150 dpi
    private final static int MAX_PRINT_SIZE = 3500;

    public static void printBitmap(final Context context, final String jobName,
            final Bitmap bitmap) {