diff options
author | smallsql <smallsql> | 2011-07-30 00:19:39 +0400 |
---|---|---|
committer | smallsql <smallsql> | 2011-07-30 00:19:39 +0400 |
commit | d1c867361aac43fc952a9d3380f1ccf456c8583b (patch) | |
tree | 026870e8debeca1ed9fe0028648f93ac8f3a6e29 /openjdk/sun | |
parent | d93afed5b01fbf79978fdb678ecd0a778c71aea3 (diff) |
Fix Print to file
Diffstat (limited to 'openjdk/sun')
-rw-r--r-- | openjdk/sun/print/Win32PrintJob.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openjdk/sun/print/Win32PrintJob.java b/openjdk/sun/print/Win32PrintJob.java index 0ec8fc14..e07bd713 100644 --- a/openjdk/sun/print/Win32PrintJob.java +++ b/openjdk/sun/print/Win32PrintJob.java @@ -499,6 +499,7 @@ public class Win32PrintJob implements CancelablePrintJob{ if(destination instanceof Destination){ File destFile = new File(((Destination)destination).getURI()); settings.set_PrintFileName(destFile.getAbsolutePath()); + settings.set_PrintToFile(true); } settings.set_Copies((short)copies); |