com-tecnick-tcpdf

# Procedural File: tcpdf_config.php

Source Location: /config/tcpdf_config.php

## Page Details:

Configuration file for TCPDF.

#### Tags:

author: | Nicola Asuni
version: | 4.9.005
copyright: | 2004-2010 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
link: | http://tcpdf.sourceforge.net
since: | 2004-10-27
license: | LGPL

### HEAD_MAGNIFICATION [line 212]

`HEAD_MAGNIFICATION = 1.1`

magnification factor for titles
[ Top ]

### K_BLANK_IMAGE [line 102]

`K_BLANK_IMAGE = K_PATH_IMAGES.'_blank.png'`

blank image
[ Top ]

### K_CELL_HEIGHT_RATIO [line 217]

`K_CELL_HEIGHT_RATIO = 1.25`

height of cell repect font height
[ Top ]

### K_PATH_CACHE [line 87]

`K_PATH_CACHE = K_PATH_MAIN.'cache/'`

cache directory for temporary files (full path)
[ Top ]

### K_PATH_FONTS [line 82]

`K_PATH_FONTS = K_PATH_MAIN.'fonts/'`

path for PDF fonts

use K_PATH_MAIN.'fonts/old/' for old non-UTF8 fonts

[ Top ]

### K_PATH_IMAGES [line 97]

`K_PATH_IMAGES = K_PATH_MAIN.'images/'`

images directory
[ Top ]

### K_PATH_MAIN [line 58]

`K_PATH_MAIN = $k_path_main`

Installation path (/var/www/tcpdf/).

By default it is automatically calculated but you can also set it as a fixed string to improve performances.

[ Top ]

### K_PATH_URL [line 76]

`K_PATH_URL = $k_path_url`

URL path to tcpdf installation folder (http://localhost/tcpdf/).

By default it is automatically calculated but you can also set it as a fixed string to improve performances.

[ Top ]

### K_PATH_URL_CACHE [line 92]

`K_PATH_URL_CACHE = K_PATH_URL.'cache/'`

cache directory for temporary files (url path)
[ Top ]

### K_SMALL_RATIO [line 227]

`K_SMALL_RATIO = 2/3`

reduction factor for small font
[ Top ]

### K_TCPDF_CALLS_IN_HTML [line 238]

`K_TCPDF_CALLS_IN_HTML = true`

if true allows to call TCPDF methods using HTML syntax IMPORTANT: For security reason, disable this feature if you are printing user HTML content.
[ Top ]

### K_THAI_TOPCHARS [line 232]

`K_THAI_TOPCHARS = true`

set to true to enable the special procedure used to avoid the overlappind of symbols on Thai language
[ Top ]

### K_TITLE_MAGNIFICATION [line 222]

`K_TITLE_MAGNIFICATION = 1.3`

title magnification respect main font size
[ Top ]

### PDF_AUTHOR [line 122]

`PDF_AUTHOR = 'TCPDF'`

document author
[ Top ]

### PDF_CREATOR [line 117]

`PDF_CREATOR = 'TCPDF'`

document creator
[ Top ]

### PDF_FONT_MONOSPACED [line 202]

`PDF_FONT_MONOSPACED = 'courier'`

default monospaced font name
[ Top ]

### PDF_FONT_NAME_DATA [line 192]

`PDF_FONT_NAME_DATA = 'helvetica'`

default data font name
[ Top ]

### PDF_FONT_NAME_MAIN [line 182]

`PDF_FONT_NAME_MAIN = 'helvetica'`

default main font name
[ Top ]

### PDF_FONT_SIZE_DATA [line 197]

`PDF_FONT_SIZE_DATA = 8`

default data font size
[ Top ]

### PDF_FONT_SIZE_MAIN [line 187]

`PDF_FONT_SIZE_MAIN = 10`

default main font size
[ Top ]

### PDF_HEADER_LOGO [line 137]

`PDF_HEADER_LOGO = 'tcpdf_logo.jpg'`

image logo
[ Top ]

### PDF_HEADER_LOGO_WIDTH [line 142]

`PDF_HEADER_LOGO_WIDTH = 30`

header logo image width [mm]
[ Top ]

### PDF_HEADER_STRING [line 132]

`PDF_HEADER_STRING = "by Nicola Asuni - Tecnick.com\nwww.tcpdf.org"`

header description string
[ Top ]

### PDF_HEADER_TITLE [line 127]

`PDF_HEADER_TITLE = 'TCPDF Example'`

header title
[ Top ]

### PDF_IMAGE_SCALE_RATIO [line 207]

`PDF_IMAGE_SCALE_RATIO = 1.25`

ratio used to adjust the conversion of pixels to user units
[ Top ]

### PDF_MARGIN_BOTTOM [line 167]

`PDF_MARGIN_BOTTOM = 25`

bottom margin
[ Top ]

### PDF_MARGIN_FOOTER [line 157]

`PDF_MARGIN_FOOTER = 10`

footer margin
[ Top ]

### PDF_MARGIN_HEADER [line 152]

`PDF_MARGIN_HEADER = 5`

header margin
[ Top ]

### PDF_MARGIN_LEFT [line 172]

`PDF_MARGIN_LEFT = 15`

left margin
[ Top ]

### PDF_MARGIN_RIGHT [line 177]

`PDF_MARGIN_RIGHT = 15`

right margin
[ Top ]

### PDF_MARGIN_TOP [line 162]

`PDF_MARGIN_TOP = 27`

top margin
[ Top ]

### PDF_PAGE_FORMAT [line 107]

`PDF_PAGE_FORMAT = 'A4'`

page format
[ Top ]

### PDF_PAGE_ORIENTATION [line 112]

`PDF_PAGE_ORIENTATION = 'P'`

page orientation (P=portrait, L=landscape)
[ Top ]

### PDF_UNIT [line 147]

`PDF_UNIT = 'mm'`

document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch]
[ Top ]

Documentation generated on Sat, 04 Dec 2010 11:25:42 +0100 by phpDocumentor 1.4.3