Committed by
GitHub
Update PrintingPlugin.java
Fixed page limit
Showing
1 changed file
with
0 additions
and
1 deletions
| @@ -125,7 +125,6 @@ public class PrintingPlugin implements MethodCallHandler { | @@ -125,7 +125,6 @@ public class PrintingPlugin implements MethodCallHandler { | ||
| 125 | PrintDocumentInfo info = | 125 | PrintDocumentInfo info = |
| 126 | new PrintDocumentInfo.Builder("badge.pdf") | 126 | new PrintDocumentInfo.Builder("badge.pdf") |
| 127 | .setContentType(PrintDocumentInfo.CONTENT_TYPE_DOCUMENT) | 127 | .setContentType(PrintDocumentInfo.CONTENT_TYPE_DOCUMENT) |
| 128 | - .setPageCount(1) | ||
| 129 | .build(); | 128 | .build(); |
| 130 | // Content layout reflow is complete | 129 | // Content layout reflow is complete |
| 131 | callback.onLayoutFinished(info, true); | 130 | callback.onLayoutFinished(info, true); |
-
Please register or login to post a comment