http://convert.html2pdf.seven49.net/?parameter1=x¶meter2=y etc.
or for SSL connections (optional)
https://convert.html2pdf.seven49.net/?parameter1=x¶meter2=y etc.
Do not forget to encode your URL if you use any url_to_render with querystring! If you forget to encode the URL not all Parameters will have an effect.
Font
String, Examples: Helvetica, Times-Roman, Courier
FooterFontColor
String, Example: String = "255 0 0" for red (RGB), be sure to URL encode the string
FooterFontSize
Integer, Example: 9
Hint: The following "inset"-Parameters define margins.
FooterText
String, Example: Page <CurrentPage> of <TotalPages> Url: <Url>
Hint: Use the value blank if you want no text in the footer.
(do not forget to url encode the value)
FooterTemplateUrl (for complex footers)
URL, Example: http%3A%2F%2Fwww.qualidator.com (encoded URL http://www.qualidator.com)
The FooterTemplateUrl should simply be a page the contains the desired elements you want to show in the footer behind the text. If you want to change the size, position of anything etc. simply change your footer template. The URL must contain a HTML Template that can contain an Image embedded in HTML/CSS. The target of the URL has to be html page not a image. This allows you to position your elements as you like und the provided footer area.
FooterPageOffset
Integer, Example: 1
Will not ad a footer to the first n pages. Can be used for "cover pages".
FooterInsetHorizontal
Integer, Example: 40
InsetHorizontal
Integer, Example: 20
InsetVertical
Integer, Example: 40
ContentDisposition
String, valid values: "attachment", "inline"
Size
String, Values: A4, B5 or leave empty for US letter size
Orientation
String, valid values: "portrait", "landscape"
MaxNrOfPages
Integer: Example: 1 --> only render the first page of the URL
Default value is 25. If you set the value higher, the cost per PDF rendering will be more than 1 credit. Formula for more than 25 page PDF: Nr of pages in PDF / 10 = Credits needed. 10 is the average nr of pages your documents should not exceed, please see terms of use.
ImageQuality
Integer: Values from 1 to 100 resp. 101. Default is 101 (lossless compression)
Can be used to decrease PDF files size. The smaller the value the smaller the PDF file size. A reasonable value is 75.
AddLinks
Integer: 0 (Default) = do not add links, 1 = do add links. Example: url_to_render=http://www.yahoo.com&add_links=1
FileName
String: Changes the default value for the PDF file name. Example: somefilename
Title
String: Changes the default value for the PDF Title that can be found in the PDF Properties. Example: "Your Title" (do not forget to url encode the value)
Author
String: Changes the default value for the PDF Author that can be found in the PDF Properties. Example: "John Smith" (do not forget to url encode the value)
Subject
String: Changes the default value for the PDF Subject that can be found in the PDF Properties. Example: "Your Subject" (do not forget to url encode the value)
Please be aware that not all these encryption parameters will have a real effect on your PDF (yet). For instance html form fields are not rendered as PDF form fields.
CanAssemble
Integer: 1 (Default), 0 = assembling disallowed
CanEdit
Integer: 1 (Default), 0 = content can not be edited
Hint: Defined as adding or modifying text annotations, filling in interactive form fields.
CanFillForms
Integer: 1 (Default), 0 = form fields can not be filled
CanChange
Integer: 1 (Default), 0 = content can not be changed
Hint: Defined as modifying the PDF in any way other than CanEdit, CanAssemble or CanFillForms.
CanCopy
Integer: 1 (Default), 0 = content can not be copied
CanExtract
Integer: 1 (Default), 0 = content can not be extracted
Important: If you set CanCopy and CanExtract to 0 the document is not accessible to many disabled users!
CanPrint
Integer: 1 (Default), 0 = content can not be printed
CanPrintHi
Integer: 1 (Default), 0 = content can not be printed in high resolution