Hi,

When printing, I can specify the filename to print to...  But what file
type will it be?  

My code is...

            // get ready to print the doc
            XPrintable xPrintable = (XPrintable)
                UnoRuntime.queryInterface(XPrintable.class, document);

            // Setting the property "Pages" so that only the desired
pages
            // will be printed.
            PropertyValue[] printOpts = new PropertyValue[2];
            printOpts[0] = new PropertyValue();
            printOpts[0].Name = "Pages";
            printOpts[0].Value = "1";
            printOpts[1] = new PropertyValue();
            printOpts[0].Name = "FileName";
            printOpts[0].Value = outputFile; 

            // print the file
            xPrintable.print(printOpts)

But I don't know what type of file that will create and I can't find
that in the doc or forum anywhere.  Does anybody know what type of file
I should specify as my output?

Aaron


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to