Parametros por defecto de la conversion de htm a pdf que se pueden cambiar con formato.
@html2ps {
package {
PerlMagick: 0;
ImageMagick: 0;
pbmplus: 0;
netpbm: 0;
djpeg: 0;
Ghostscript: 0;
TeX: 0;
dvips: 0;
libwww-perl: 0;
geturl: “”;
check: “”;
path: “”;
}
paper {
type: A4;
height: “”;
width: “”;
}
option {
twoup: 0;
base: “”;
check: 0;
toc: “”;
debug: 0;
DSC: 0;
encoding: “ISO-8859-1”;
rcfile: “”;
frame: 0;
grayscale: 0;
help: 0;
hyphenate: 0;
scaleimage: 1;
cookie: “”;
language: “”;
landscape: 0;
scalemath: 1;
mainchapter: 1;
number: 0;
startno: “”;
output: “”;
original: 0;
rootdir: “”;
xref: 0;
scaledoc: 1;
style: “”;
titlepage: 0;
text: 0;
underline: 0;
colour: 0;
version: 0;
web: “”;
duplex: “”;
}
margin {
middle: 2cm;
}
xref {
text: “[p $N]”;
passes: 1;
}
quote {
en {
open: ““”;
close: “””;
open2: “`”;
close2: “‘”;
}
sv {
open: “””;
close: “””;
open2: “‘”;
close2: “‘”;
}
da {
open: “»”;
close: “«”;
}
no {
open: “«”;
close: “»”;
}
fr {
open: “« ”;
close: “ »”;
}
de {
open: “„”;
close: ““”;
open2: “‚”;
close2: “`”;
}
fi: sv;
es: en;
it: no;
nn: no;
nb: no;
}
toc {
heading: “<H1>Table of Contents</H1>”;
level: 6;
indent: 1em;
}
titlepage {
content: “<DIV align=center>
<H1><BIG>$T</BIG></H1>
<H2>$[author]</H2></DIV>”;
margin-top: 4cm;
}
font {
times {
names: “Times-Roman
Times-Italic
Times-Bold
Times-BoldItalic”;
}
new-century-schoolbook {
names: “NewCenturySchlbk-Roman
NewCenturySchlbk-Italic
NewCenturySchlbk-Bold
NewCenturySchlbk-BoldItalic”;
}
helvetica {
names: “Helvetica
Helvetica-Oblique
Helvetica-Bold
Helvetica-BoldOblique”;
}
helvetica-narrow {
names: “Helvetica-Narrow
Helvetica-Narrow-Oblique
Helvetica-Narrow-Bold
Helvetica-Narrow-BoldOblique”;
}
palatino {
names: “Palatino-Roman
Palatino-Italic
Palatino-Bold
Palatino-BoldItalic”;
}
avantgarde {
names: “AvantGarde-Book
AvantGarde-BookOblique
AvantGarde-Demi
AvantGarde-DemiOblique”;
}
bookman {
names: “Bookman-Light
Bookman-LightItalic
Bookman-Demi
Bookman-DemiItalic”;
}
courier {
names: “Courier
Courier-Oblique
Courier-Bold
Courier-BoldOblique”;
}
}
hyphenation {
min: 8;
start: 4;
end: 3;
en {
file: “”;
extfile: “”;
}
}
header {
left: “”;
center: “”;
right: “”;
odd-left: “”;
odd-center: “”;
odd-right: “”;
even-left: “”;
even-center: “”;
even-right: “”;
font-family: Helvetica;
font-size: 8pt;
font-style: normal;
font-weight: normal;
color: black;
alternate: 1;
}
footer {
left: “”;
center: “”;
right: “”;
odd-left: “”;
odd-center: “”;
odd-right: “”;
even-left: “”;
even-center: “”;
even-right: “”;
font-family: Helvetica;
font-size: 8pt;
font-style: normal;
font-weight: normal;
color: black;
alternate: 1;
}
frame {
width: 0.6pt;
margin: 0.5cm;
color: black;
}
justify {
word: 15pt;
letter: 0pt;
}
draft {
text: DRAFT;
print: “”;
dir: 0;
font-family: Helvetica;
font-style: normal;
font-weight: bold;
color: F0F0F0;
}
colour {
black: 000000;
green: 008000;
silver: C0C0C0;
lime: 00FF00;
gray: 808080;
olive: 808000;
white: FFFFFF;
yellow: FFFF00;
maroon: 800000;
navy: 000080;
red: FF0000;
blue: 0000FF;
purple: 800080;
teal: 008080;
fuchsia: FF00FF;
aqua: 00FFFF;
}
html2psrc: “$HOME/.html2psrc”;
imgalt: “[IMAGE]”;
datefmt: “%e %b %Y %R”;
locale: “”;
doc-sep: “<!–NewPage–>”;
ball-radius: 0.25em;
numbstyle: 0;
showurl: 0;
seq-number: 0;
extrapage: 1;
break-table: 0;
forms: 1;
textarea-data: 0;
page-break: 1;
expand-acronyms: 0;
spoof: “”;
ssi: 0;
prefilled: 0;
}
BODY {
font-family: Times;
font-size: 11pt;
text-align: left;
background: white;
}
H1, H2, H3, H4, H5, H6 {
font-weight: bold;
margin-top: 0.8em;
margin-bottom: 0.5em;
}
H1 { font-size: 19pt }
H2 { font-size: 17pt }
H3 { font-size: 15pt }
H4 { font-size: 13pt }
H5 { font-size: 12pt }
H6 { font-size: 11pt }
P, OL, UL, DL, BLOCKQUOTE, PRE {
margin-top: 1em;
margin-bottom: 1em;
}
P {
line-height: 1.2em;
text-indent: 0;
}
OL, UL, DD { margin-left: 2em }
TT, KBD, PRE { font-family: Courier }
PRE { font-size: 9pt }
BLOCKQUOTE {
margin-left: 1em;
margin-right: 1em;
}
ADDRESS {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
TABLE {
margin-top: 1.3em;
margin-bottom: 1em;
}
DIV.noprint { display: none }
DEL { text-decoration: line-through }
A:link, HR { color: black }
@page {
margin-left: 2.5cm;
margin-right: 2.5cm;
margin-top: 3cm;
margin-bottom: 3cm;
}