summaryrefslogtreecommitdiff
path: root/flpsed.1
blob: cc9a9042debf7507e5c49ff264c5ea42093a6560 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
.Dd July 18 2007
.Dt FLPSED 1
.Os
.Sh NAME
.Nm flpsed
.Nd annotate PostScript and PDF files
.Sh SYNOPSIS
.Nm
.Op Fl bdh
.Op Fl t Ar tag=value
.Op Fl z Ar zoom
.Op Ar infile
.Op Ar outfile
.Sh DESCRIPTION
The
.Nm
utility allows to annotate Postscript files.
PDF files can be imported using the pdftops and exported
using the ps2pdf utility.
If the document was saved in Postscript format,
added text can be reedited later.
.Nm
is useful for filling in forms or adding short comments.
Batch mode can be used to automate form filling.
.Pp
The options are as follows:
.Bl -tag -width indent
.It Fl b
Batch mode (no GUI). In batch mode
.Nm
reads from stdin, if no
.Ar infile
is specified. Batch mode is useful in combination with the
.Ar Fl t
option.
.It Fl d
Dump tags and values from a document
to stdout (implies
.Fl b
).
.It Fl h
Show short help text.
.It Fl t Ar tag=value
Set text to
.Ar value
where tag is
.Ar tag
.
Multiple 
.Fl t
options are allowed.
.It Fl z Ar zoom
Set initial zoom value in percent.
.It Fl geometry Ar WxH+X+Y
Set initial geometry.
.It Fl iconic
Start iconified.
.It Fl scheme Ar string
Use fltk scheme
.Ar string
Currently fltk supports "plastic" and "gtk+".
.El
.Sh EXIT STATUS
.Ex -std
.Sh EXAMPLES
The command:
.Pp
.Dl "flpsed file1"
.Pp
will start flpsed and load
.Pa file1
for interactive editing.
.Pp
The command:
.Pp
.Dl "flpsed -b -t foo=bar file1 file2"
.Pp
will set the text of all text fields in
.Pa file1
carrying the tag "foo" to "bar" and write the
resulting Postscript document to
.Pa file2
.
.Sh SEE ALSO
.Xr pdftops 1 ,
.Xr ps2pdf 1
.Sh AUTHOR
Johannes Hofmann <Johannes.Hofmann@gmx.de>