How work:
Define what to do after the pdf is created on the server. The options are:
|
None
| The PDF is simple created |
Download Download and delete
| The PDF is created and the extension insert in the page an IFRAME where open in download the PDF. The standard browser panel "SAVE AS" is open and the user can choose where save the PDF. With the second option the PDF is deleted from the server after download. |
View in browser View in browser and delete
| The extension open the PDF in a pop-up window. Require Adobe Acrobat Reader installed on the client. With the second option the PDF is deleted from the server after open. |
Link | Creale a simple link to the PDF file. |
|
The better solutions are Download and View in browser because when you use the link the browser can get the file from the client cache and if the user create more time the pdf can receive all the time the same pdf. The Download and View in browser method are write to prevent the browser cache. |
Redirect page:
Optional the page where redirect after the PDF is created. Usefull when you want only create the PDF on the server without open in preview or direct download.
Pdf folder:
The folder where the extension save the PDF file.
Can be a dynamic value like: $my_pdf_folder
In this case you must define a variable in your php page like:
$my_pdf_folder = "/folder/pdf/"
Pdf name:
The name of the PDF file.
Can be a dynamic value like: $my_pdf_name
In this case you must define a variable in your php page like:
$my_pdf_name = "myPdf.pdf"
Conflict handling:
Should a file already exist on the server, you can specify how you would like to handle the new file. Choices include overwriting, giving the file a unique name and skipping the file.
If You select "Unique name" and a file exist my code add e progressive number to the file name.
ex: Existing file is MyFile.txt the new name will be MyFile
(0).txt
Page size:
Select the page size.
The available page format are: A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, B0, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, RA0, RA1, RA2, RA3, RA4, SRA1, SRA2, SRA3, SRA4, LETTER, LEGAL, FOLIO, EXECUTIVE, Custom.
When you choose Custom the custom size field are enabled and you can define your page size format in millimeters or inches.
Orientation:
Define if use the page Vertical or Horizontal
Margins:
Define the page margins for each side of the page: top / bottom / left / right.
The margins top and bottom are very important when you setup the header and the footer because in this case the margins top and bottom must be height in order to contain all the text for the header and for the footer.
Bg color:
The color of the page background
Bg image:
Define an image background for all the pages. The text will be on top of the image . With the
button you can get the image path from a recordset or other Data Source.
Bg image position:
Define where place the image in the page.
The available value are:
Top left, Top center, Top right, Middle left, Middle center, Middle right, Bottom left, Bottom center, Bottom right, Custom
With the custom option you can define the X and Y position of the image in the page.
Bg image width:
Define how setup the image dimension. You can only setup the with because the height will be proportionally defined. The size can be in % in mm in px or in pt.
Print on open:
If checked open the Windows Printer panel to choose the printer for print the pdf after the pdf is open in the browser
Script timeout:
The Server.ScriptTimeout of Your ASP page.
Default font:
The font used when in the source page is not defined a font for a text
Html format:
If checked the extension reformat the html to be XHTML compatible and close all the unclosed tags.
Html entities replace:
If checked the extension replace htmlentities with extended chars, only if Html format is checked