Showing
2 changed files
with
2 additions
and
1 deletions
@@ -424,7 +424,7 @@ public class PrintingJob extends PrintDocumentAdapter { | @@ -424,7 +424,7 @@ public class PrintingJob extends PrintDocumentAdapter { | ||
424 | void setDocument(byte[] data) { | 424 | void setDocument(byte[] data) { |
425 | documentData = data; | 425 | documentData = data; |
426 | 426 | ||
427 | - PrintDocumentInfo info = new PrintDocumentInfo.Builder(jobName + ".pdf") | 427 | + PrintDocumentInfo info = new PrintDocumentInfo.Builder(jobName) |
428 | .setContentType(PrintDocumentInfo.CONTENT_TYPE_DOCUMENT) | 428 | .setContentType(PrintDocumentInfo.CONTENT_TYPE_DOCUMENT) |
429 | .build(); | 429 | .build(); |
430 | 430 |
-
Please register or login to post a comment