1pbm2g3(1) mgetty+sendfax manual pbm2g3(1)
2
3
4
6 pbm2g3 - convert portable bitmaps (PBM) into G3 fax files
7
9 pbm2g3 [-r] [-w<pagewidth>] [-h<blanklines>] [-d] [-a] [pbmfile]
10
12 Reads a portable bitmap as input, converting it into a G3 fax file on
13 stdout. That file is suitable for faxing it with sendfax(8) or queueing
14 it for faxing with faxspool(1) (provided that it gets a ``.g3'' suf‐
15 fix).
16
17 faxspool(1) uses pbm2g3(1) internally to convert various bitmap formats
18 into fax g3 format.
19
21 -a byte-aligns the end-of-line codes, inserting padding bits as
22 necessary.
23
24 -w <page width>
25 sets the width of the resulting G3 page. Default is 1728. If you
26 want to be able to fax it with sendfax, don't use anything else.
27 For other fax programs, 2048, 2432, 864 and 1216 may be useful.
28 For other purposes, use what you like.
29
30 If you set it to 0, the width of the pbm file will be used.
31
32 -h <blank lines>
33 specifies the number of blank lines pbm2g3 should prepend to
34 each page. Default is 0.
35
36 To produce identical output as pbmplus' pbm2g3 program (with my
37 patch!) does, use ``-h 4''.
38
39 -r reverse the bit order in the bytes.
40
41 -d will one day make pbm2g3 prepend a digifax header to the page.
42
43
45 The standard for Group 3 fax is defined in CCITT Recommendation T.4.
46
48 The -d option isn't implemented yet.
49
50 If a raw pbm file is converted, and the width of the g3 file is smaller
51 than the width of the pbm file, the former is rounded up to the next
52 multiple of 8.
53
55 g32pbm(1), pbm(5), sendfax(8)
56
58 pbm2g3 is Copyright (C) 1993 by Gert Doering, <gert@greenie.muc.de>. It
59 is similar to the pbmtog3 program in Jef Poskanzers pbmplus package,
60 but it's a complete re-write. No code is copied.
61
62
63
64greenie 27 Oct 93 pbm2g3(1)