You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Ing. Atilio Ranzuglia Buteler" <ar...@yahoo.com> on 2002/10/21 18:55:18 UTC

automatic printing of pdf documents

is there a 'free' way of printing a pdf document instantly
(maybe using a driver)?

i've trying some things but it is still not working. i
haven written an html document that opens a new window (in
javascript) asking for a pdf document and then tries to
print it:

var newWindow = window.open(...
newWindow.print();

it shows the print dialog before the document is loaded,
then i tried:

var newWindow = window.open(...
newWindow.onload = printIt;
function printIt() { newWindow.print(); }

and the same result, there is no waiting for the document
to load.

i've been trying with netscape using 'codebase principals',
is there a way of using something like that on IE?

thanks, any idea would help me

atilio

__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

Re: automatic printing of pdf documents

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Ing. Atilio Ranzuglia Buteler wrote:
> is there a 'free' way of printing a pdf document instantly
> (maybe using a driver)?

See
  http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12610

> i've trying some things but it is still not working. i
Its better to ask JavaScript related questions in a more
browser oriented forum.

J.Pietschmann