print pdf strange behavior
843810Apr 11 2005 — edited Oct 28 2005HI,
I am using the java 1.5 to print a pdf file in a java app. The printing is working and I am kind of wondering why. When I call up
PrintServiceLookup.lookupPrintServices()
with a flavor DocFlavor.INPUT_STREAM.PDF i find nothing. When I call up
PrintServiceLookup.lookupPrintServices() with flavor DocFlavor.INPUT_STREAM.AUTOSENSE I find three printers. When I send the pdf to my default printer it is printed perfect.
Is this a bug in the print API? Is this because my printer supports direct pdf print or does this behavior occures with every printer? I mean does java change the content to a standard print calls or does it send the pdf thee way it is?
Thanks in advance,
Patrick