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.0.014
copyright: | 2004-2008 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 211]

`HEAD_MAGNIFICATION = 1.1`

magnification factor for titles
[ Top ]

### K_BLANK_IMAGE [line 101]

`K_BLANK_IMAGE = K_PATH_IMAGES.'_blank.png'`

blank image
[ Top ]

### K_CELL_HEIGHT_RATIO [line 216]

`K_CELL_HEIGHT_RATIO = 1.25`

height of cell repect font height
[ Top ]

### K_PATH_CACHE [line 86]

`K_PATH_CACHE = K_PATH_MAIN.'cache/'`

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

### K_PATH_FONTS [line 81]

`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 96]

`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 75]

`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 91]

`K_PATH_URL_CACHE = K_PATH_URL.'cache/'`

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

### K_SMALL_RATIO [line 226]

`K_SMALL_RATIO = 2/3`

reduction factor for small font
[ Top ]

### K_TITLE_MAGNIFICATION [line 221]

`K_TITLE_MAGNIFICATION = 1.3`

title magnification respect main font size
[ Top ]

### PDF_AUTHOR [line 121]

`PDF_AUTHOR = 'TCPDF'`

document author
[ Top ]

### PDF_CREATOR [line 116]

`PDF_CREATOR = 'TCPDF'`

document creator
[ Top ]

### PDF_FONT_MONOSPACED [line 201]

`PDF_FONT_MONOSPACED = 'courier'`

default monospaced font name
[ Top ]

### PDF_FONT_NAME_DATA [line 191]

`PDF_FONT_NAME_DATA = 'helvetica'`

default data font name
[ Top ]

### PDF_FONT_NAME_MAIN [line 181]

`PDF_FONT_NAME_MAIN = 'helvetica'`

default main font name
[ Top ]

### PDF_FONT_SIZE_DATA [line 196]

`PDF_FONT_SIZE_DATA = 8`

default data font size
[ Top ]

### PDF_FONT_SIZE_MAIN [line 186]

`PDF_FONT_SIZE_MAIN = 10`

default main font size
[ Top ]

### PDF_HEADER_LOGO [line 136]

`PDF_HEADER_LOGO = 'tcpdf_logo.jpg'`

image logo
[ Top ]

### PDF_HEADER_LOGO_WIDTH [line 141]

`PDF_HEADER_LOGO_WIDTH = 30`

header logo image width [mm]
[ Top ]

### PDF_HEADER_STRING [line 131]

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

header description string
[ Top ]

### PDF_HEADER_TITLE [line 126]

`PDF_HEADER_TITLE = 'TCPDF Example'`

header title
[ Top ]

### PDF_IMAGE_SCALE_RATIO [line 206]

`PDF_IMAGE_SCALE_RATIO = 1`

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

### PDF_MARGIN_BOTTOM [line 166]

`PDF_MARGIN_BOTTOM = 25`

bottom margin
[ Top ]

### PDF_MARGIN_FOOTER [line 156]

`PDF_MARGIN_FOOTER = 10`

footer margin
[ Top ]

### PDF_MARGIN_HEADER [line 151]

`PDF_MARGIN_HEADER = 5`

header margin
[ Top ]

### PDF_MARGIN_LEFT [line 171]

`PDF_MARGIN_LEFT = 15`

left margin
[ Top ]

### PDF_MARGIN_RIGHT [line 176]

`PDF_MARGIN_RIGHT = 15`

right margin
[ Top ]

### PDF_MARGIN_TOP [line 161]

`PDF_MARGIN_TOP = 27`

top margin
[ Top ]

### PDF_PAGE_FORMAT [line 106]

`PDF_PAGE_FORMAT = 'A4'`

page format
[ Top ]

### PDF_PAGE_ORIENTATION [line 111]

`PDF_PAGE_ORIENTATION = 'P'`

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

### PDF_UNIT [line 146]

`PDF_UNIT = 'mm'`

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

Documentation generated on Wed, 26 Aug 2009 08:57:57 +0200 by phpDocumentor 1.4.1