HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › Automatically open print dialog › Re: Re: Automatically open print dialog
January 13, 2010 at 02:43
#27652
@PD4ML wrote:
The missing mapping custom tags (
<pd4ml:params>,<pd4ml:key>,<pd4ml:value>) for the method will be available with the final release v360.
Thanks! although i think that the tags are <pd4ml:parameters> and <pd4ml:parameter>
The following code works for me:
<pdf:transform screenWidth="800" adjustScreenWidth="true" pageFormat="LETTER" pageOrientation="portrait" pageInsets="3,3,3,3,mm" enableImageSplit="false" inline="true" fileName="file.pdf" interpolateImages="false"> <pdf:parameters> <pdf:parameter key="pd4ml.print.dialog.popup" value="true"></pdf:parameter> </pdf:parameters> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>JSP Page</title> </head> <body> <h1>Hello World!</h1> </body> </html> </pdf:transform>
