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 Manoel Veríssimo dos Santos Neto <ma...@anatel.gov.br> on 2004/06/25 14:23:42 UTC

Printer PDF

	I tested an example FopPrintServlet, this Class get a default
printer with server and print the document. In this case the user don't see
the document in the browser, because the document has print. I need found
the default printer of client and redirect for this printer. The server can
redirect this document because the printers are network print. How can I do
that???

Thank's,

Manoel Veríssimo
Sytem Analisys - CastMeta - Brazil


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: Printer PDF

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Clay Leeds wrote:
> Is it possible to post-process the FOP output PDF with iText, to add 
> some sort of JavaScript 'print' command? I haven't tried such a thing, 
> but it should be possible. I definitely would like to hear if this sort 
> of thing has been tried before, and whether or not it works!

Well, someone actually posted some code to achieve this with FOP,
two or three years ago. There wass still some detailed knowledge of
the client necessary.

J.Pietschmann



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: Printer PDF

Posted by Clay Leeds <cl...@medata.com>.
On Jun 27, 2004, at 3:07 PM, J.Pietschmann wrote:
> Manoel Veríssimo dos Santos Neto wrote:
>> 	I tested an example FopPrintServlet, this Class get a default
>> printer with server and print the document. In this case the user 
>> don't see
>> the document in the browser, because the document has print. I need 
>> found
>> the default printer of client and redirect for this printer. The 
>> server can
>> redirect this document because the printers are network print. How 
>> can I do
>> that???
>
> You can't.
> There is no standardized way to get the client's printer setup into a
> web server short of writing a signed Java applet with appropriate
> rights or using an ActiveX control (if the clients are IEx 
> exclusively).
>
> Anyway, it's not a FOP problem. Try a more generalweb application
> development forum, preferably specializing in your client's browser.
>
> Oh, and what's wrong with pushing the PDF to the browser and tell the
> user to print it?
>
> J.Pietschmann

Is it possible to post-process the FOP output PDF with iText, to add 
some sort of JavaScript 'print' command? I haven't tried such a thing, 
but it should be possible. I definitely would like to hear if this sort 
of thing has been tried before, and whether or not it works!

Web Maestro Clay

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: Printer PDF

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Manoel Veríssimo dos Santos Neto wrote:
> 	I tested an example FopPrintServlet, this Class get a default
> printer with server and print the document. In this case the user don't see
> the document in the browser, because the document has print. I need found
> the default printer of client and redirect for this printer. The server can
> redirect this document because the printers are network print. How can I do
> that???

You can't.
There is no standardized way to get the client's printer setup into a
web server short of writing a signed Java applet with appropriate
rights or using an ActiveX control (if the clients are IEx exclusively).

Anyway, it's not a FOP problem. Try a more generalweb application
development forum, preferably specializing in your client's browser.

Oh, and what's wrong with pushing the PDF to the browser and tell the
user to print it?

J.Pietschmann


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org