aboutsummaryrefslogtreecommitdiffstats
path: root/fbgs.man
blob: 90e714e68b3f2719b145bbc8d0ab106db610ca63 (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
89
90
91
92
93
94
.TH FBGS 1 "(c) 1999\-2012 Gerd Knorr" "FBGS 2.08" "PostScript/pdf viewer for the linux framebuffer console"
\#
\#
.SH NAME
fbgs \- Poor man's PostScript/pdf viewer for the linux framebuffer console.
\#
\#
.SH SYNOPSIS
\fBfbgs\fP\
 [\fB\-l\fP|\fB\-xl\fP|\fB\-xxl\fP|\fB\-r\fP \fIn\fP]\
 [\fB\-c\fP]\
 [\fB\-b\fP]\
 [\fB\-p\fP\ \fIpassword\fP]\
 [\fB\--fp\fP\ \fInumber\fP]\
 [\fB\--lp\fP\ \fInumber\fP]\
 [\fIfbi\ options\fP]\
 \fIfile\fP
\#
\#
.SH DESCRIPTION
.BR Fbgs
is a simple wrapper script which takes a \fIPostScript\fP (PS) or
\fIPortable Document Format\fP (PDF) file as input, renders the pages
using
.BR gs (1) 
\- GhostScript \- into a temporary directory and finally calls
.BR fbi (1)
to display them.
.SH OPTIONS
.BR Fbgs
understands all
.BR fbi (1)
options (they are passed through), except: store, list, text, (no)comments, e,
(no)edit, (no)backup, (no)preserve, (no)readahead, cachemem, blend.
.P
Additionally you can specify:
.TP
.B -h, --help
Print usage info (overwrites fbi option).
.TP
.B -b, --bell
Emit a beep when the document is ready.
.TP
.B -c, --color
To render the pages in color (default is N&B).
.TP
.B -l
To get the pages rendered with 100 dpi (default is 75).
.TP
.B -xl
To get the pages rendered with 120 dpi.
.TP
.B -xxl
To get the pages rendered with 150 dpi.
.TP
.BI "-r" "\ n" ", --resolution" "\ n"
To get the pages rendered with \fIn\fP dpi (overwrites fbi option).
.TP
.BI "-fp" "\ number" ", --firstpage" "\ number"
Begins interpreting on the designated page of the document.
.TP
.BI "-lp" "\ number" ", --lastpage" "\ number"
Stops interpreting after the designated page of the document.
.TP
.BI "-p" "\ password" ", --password" "\ password"
You can use this option if your PDF file requires a \fIpassword\fP.
\#
\#
.SH AUTHOR
Gerd Knorr
.BR <kraxel@bytesex.org>
\#
\#
.SH SEE ALSO
.BR fbi (1),
.BR gs (1)
\#
\#
.SH COPYRIGHT
Copyright (c) 1999-2012 Gerd Knorr <kraxel@bytesex.org>
.P
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.P
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
.P
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.