 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
barilla Guest
|
Posted: Fri Sep 02, 2005 2:05 pm Post subject: printing pdf with java / cups : working. |
|
|
hello,
i print pdfs from java, under linux it is possible because the print
server (cups) is filtering and transforming pdf
(and a lot of formats) in the printer langage (ps,raster,pcl,...)
automagically.
when i use java 1.4.2, if i ask supported flavors for the printer,
the flavor for pdf is not visible,
but it is visible (and working) with java 1.5.
for the same printer without changing cups.
do you have any info to make the flavor appear on java 1.4 ?
another question : do you have a way to print html
with java without launching a gui ?
i have the flavor listed, but the HTML source is printed ...
thanks, paul.
FLAVOR = 0 / 129 = application/mozilla-ps; class="[B"
FLAVOR = 1 / 129 = application/mozilla-ps; class="java.io.InputStream"
FLAVOR = 2 / 129 = application/mozilla-ps; class="java.net.URL"
FLAVOR = 3 / 129 = application/netscape-ps; class="[B"
FLAVOR = 4 / 129 = application/netscape-ps; class="java.io.InputStream"
FLAVOR = 5 / 129 = application/netscape-ps; class="java.net.URL"
FLAVOR = 6 / 129 = application/pdf; class="[B"
FLAVOR = 7 / 129 = application/pdf; class="java.io.InputStream"
FLAVOR = 8 / 129 = application/pdf; class="java.net.URL"
FLAVOR = 9 / 129 = application/postscript; class="[B"
FLAVOR = 10 / 129 = application/postscript; class="java.io.InputStream"
FLAVOR = 11 / 129 = application/postscript; class="java.net.URL"
FLAVOR = 12 / 129 = application/x-java-jvm-local-objectref;
class="java.awt.print.Pageable"
FLAVOR = 13 / 129 = application/x-java-jvm-local-objectref;
class="java.awt.print.Printable"
FLAVOR = 14 / 129 = application/vnd.cups-command; class="[B"
FLAVOR = 15 / 129 = application/vnd.cups-command;
class="java.io.InputStream"
FLAVOR = 16 / 129 = application/vnd.cups-command; class="java.net.URL"
FLAVOR = 17 / 129 = application/vnd.cups-form; class="[B"
FLAVOR = 18 / 129 = application/vnd.cups-form; class="java.io.InputStream"
FLAVOR = 19 / 129 = application/vnd.cups-form; class="java.net.URL"
FLAVOR = 20 / 129 = application/vnd.cups-postscript; class="[B"
FLAVOR = 21 / 129 = application/vnd.cups-postscript;
class="java.io.InputStream"
FLAVOR = 22 / 129 = application/vnd.cups-postscript; class="java.net.URL"
FLAVOR = 23 / 129 = application/vnd.cups-raster; class="[B"
FLAVOR = 24 / 129 = application/vnd.cups-raster; class="java.io.InputStream"
FLAVOR = 25 / 129 = application/vnd.cups-raster; class="java.net.URL"
FLAVOR = 26 / 129 = application/vnd.cups-raw; class="[B"
FLAVOR = 27 / 129 = application/vnd.cups-raw; class="java.io.InputStream"
FLAVOR = 28 / 129 = application/vnd.cups-raw; class="java.net.URL"
FLAVOR = 29 / 129 = application/vnd.hp-hpgl; class="[B"
FLAVOR = 30 / 129 = application/vnd.hp-hpgl; class="java.io.InputStream"
FLAVOR = 31 / 129 = application/vnd.hp-hpgl; class="java.net.URL"
FLAVOR = 32 / 129 = application/x-cshell; class="[B"
FLAVOR = 33 / 129 = application/x-cshell; class="java.io.InputStream"
FLAVOR = 34 / 129 = application/x-cshell; class="java.net.URL"
FLAVOR = 35 / 129 = application/x-perl; class="[B"
FLAVOR = 36 / 129 = application/x-perl; class="java.io.InputStream"
FLAVOR = 37 / 129 = application/x-perl; class="java.net.URL"
FLAVOR = 38 / 129 = application/x-shell; class="[B"
FLAVOR = 39 / 129 = application/x-shell; class="java.io.InputStream"
FLAVOR = 40 / 129 = application/x-shell; class="java.net.URL"
FLAVOR = 41 / 129 = image/gif; class="[B"
FLAVOR = 42 / 129 = image/gif; class="java.io.InputStream"
FLAVOR = 43 / 129 = image/gif; class="java.net.URL"
FLAVOR = 44 / 129 = image/jpeg; class="[B"
FLAVOR = 45 / 129 = image/jpeg; class="java.io.InputStream"
FLAVOR = 46 / 129 = image/jpeg; class="java.net.URL"
FLAVOR = 47 / 129 = image/png; class="[B"
FLAVOR = 48 / 129 = image/png; class="java.io.InputStream"
FLAVOR = 49 / 129 = image/png; class="java.net.URL"
FLAVOR = 50 / 129 = image/tiff; class="[B"
FLAVOR = 51 / 129 = image/tiff; class="java.io.InputStream"
FLAVOR = 52 / 129 = image/tiff; class="java.net.URL"
FLAVOR = 53 / 129 = image/x-alias; class="[B"
FLAVOR = 54 / 129 = image/x-alias; class="java.io.InputStream"
FLAVOR = 55 / 129 = image/x-alias; class="java.net.URL"
FLAVOR = 56 / 129 = image/x-bitmap; class="[B"
FLAVOR = 57 / 129 = image/x-bitmap; class="java.io.InputStream"
FLAVOR = 58 / 129 = image/x-bitmap; class="java.net.URL"
FLAVOR = 59 / 129 = image/x-photocd; class="[B"
FLAVOR = 60 / 129 = image/x-photocd; class="java.io.InputStream"
FLAVOR = 61 / 129 = image/x-photocd; class="java.net.URL"
FLAVOR = 62 / 129 = image/x-portable-anymap; class="[B"
FLAVOR = 63 / 129 = image/x-portable-anymap; class="java.io.InputStream"
FLAVOR = 64 / 129 = image/x-portable-anymap; class="java.net.URL"
FLAVOR = 65 / 129 = image/x-portable-bitmap; class="[B"
FLAVOR = 66 / 129 = image/x-portable-bitmap; class="java.io.InputStream"
FLAVOR = 67 / 129 = image/x-portable-bitmap; class="java.net.URL"
FLAVOR = 68 / 129 = image/x-portable-graymap; class="[B"
FLAVOR = 69 / 129 = image/x-portable-graymap; class="java.io.InputStream"
FLAVOR = 70 / 129 = image/x-portable-graymap; class="java.net.URL"
FLAVOR = 71 / 129 = image/x-portable-pixmap; class="[B"
FLAVOR = 72 / 129 = image/x-portable-pixmap; class="java.io.InputStream"
FLAVOR = 73 / 129 = image/x-portable-pixmap; class="java.net.URL"
FLAVOR = 74 / 129 = image/x-sgi-rgb; class="[B"
FLAVOR = 75 / 129 = image/x-sgi-rgb; class="java.io.InputStream"
FLAVOR = 76 / 129 = image/x-sgi-rgb; class="java.net.URL"
FLAVOR = 77 / 129 = image/x-sun-raster; class="[B"
FLAVOR = 78 / 129 = image/x-sun-raster; class="java.io.InputStream"
FLAVOR = 79 / 129 = image/x-sun-raster; class="java.net.URL"
FLAVOR = 80 / 129 = image/x-xbitmap; class="[B"
FLAVOR = 81 / 129 = image/x-xbitmap; class="java.io.InputStream"
FLAVOR = 82 / 129 = image/x-xbitmap; class="java.net.URL"
FLAVOR = 83 / 129 = image/x-xpixmap; class="[B"
FLAVOR = 84 / 129 = image/x-xpixmap; class="java.io.InputStream"
FLAVOR = 85 / 129 = image/x-xpixmap; class="java.net.URL"
FLAVOR = 86 / 129 = text/html; charset="utf-8"; class="[B"
FLAVOR = 87 / 129 = text/html; charset="utf-8"; class="[B"
FLAVOR = 88 / 129 = text/html; charset="utf-8"; class="[B"
FLAVOR = 89 / 129 = text/html; charset="utf-16"; class="[B"
FLAVOR = 90 / 129 = text/html; charset="utf-16be"; class="[B"
FLAVOR = 91 / 129 = text/html; charset="utf-16le"; class="[B"
FLAVOR = 92 / 129 = text/html; charset="us-ascii"; class="[B"
FLAVOR = 93 / 129 = text/html; charset="utf-8"; class="java.io.InputStream"
FLAVOR = 94 / 129 = text/html; charset="utf-8"; class="java.io.InputStream"
FLAVOR = 95 / 129 = text/html; charset="utf-16"; class="java.io.InputStream"
FLAVOR = 96 / 129 = text/html; charset="utf-16be";
class="java.io.InputStream"
FLAVOR = 97 / 129 = text/html; charset="utf-16le";
class="java.io.InputStream"
FLAVOR = 98 / 129 = text/html; charset="us-ascii";
class="java.io.InputStream"
FLAVOR = 99 / 129 = text/html; charset="utf-8"; class="java.net.URL"
FLAVOR = 100 / 129 = text/html; charset="utf-8"; class="java.net.URL"
FLAVOR = 101 / 129 = text/html; charset="utf-16"; class="java.net.URL"
FLAVOR = 102 / 129 = text/html; charset="utf-16be"; class="java.net.URL"
FLAVOR = 103 / 129 = text/html; charset="utf-16le"; class="java.net.URL"
FLAVOR = 104 / 129 = text/html; charset="us-ascii"; class="java.net.URL"
FLAVOR = 105 / 129 = text/plain; charset="utf-8"; class="[B"
FLAVOR = 106 / 129 = text/plain; charset="utf-8"; class="[B"
FLAVOR = 107 / 129 = text/plain; charset="utf-16"; class="[B"
FLAVOR = 108 / 129 = text/plain; charset="utf-16be"; class="[B"
FLAVOR = 109 / 129 = text/plain; charset="utf-16le"; class="[B"
FLAVOR = 110 / 129 = text/plain; charset="us-ascii"; class="[B"
FLAVOR = 111 / 129 = text/plain; charset="utf-8";
class="java.io.InputStream"
FLAVOR = 112 / 129 = text/plain; charset="utf-8";
class="java.io.InputStream"
FLAVOR = 113 / 129 = text/plain; charset="utf-16";
class="java.io.InputStream"
FLAVOR = 114 / 129 = text/plain; charset="utf-16be";
class="java.io.InputStream"
FLAVOR = 115 / 129 = text/plain; charset="utf-16le";
class="java.io.InputStream"
FLAVOR = 116 / 129 = text/plain; charset="us-ascii";
class="java.io.InputStream"
FLAVOR = 117 / 129 = text/plain; charset="utf-8"; class="java.net.URL"
FLAVOR = 118 / 129 = text/plain; charset="utf-8"; class="java.net.URL"
FLAVOR = 119 / 129 = text/plain; charset="utf-16"; class="java.net.URL"
FLAVOR = 120 / 129 = text/plain; charset="utf-16be"; class="java.net.URL"
FLAVOR = 121 / 129 = text/plain; charset="utf-16le"; class="java.net.URL"
FLAVOR = 122 / 129 = text/plain; charset="us-ascii"; class="java.net.URL"
FLAVOR = 123 / 129 = text/plain; charset="utf-16"; class="[C"
FLAVOR = 124 / 129 = text/plain; charset="utf-16"; class="java.lang.String"
FLAVOR = 125 / 129 = text/plain; charset="utf-16"; class="java.io.Reader"
FLAVOR = 126 / 129 = application/octet-stream; class="[B"
FLAVOR = 127 / 129 = application/octet-stream; class="java.io.InputStream"
FLAVOR = 128 / 129 = application/octet-stream; class="java.net.URL"
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|