1make.coverpg(1) mgetty+sendfax manual make.coverpg(1)
2
3
4
6 make.coverpg - create a fax coverpg on stdout
7
9 make.coverpg [options] <pages> <sender-ID> <sender-NAME> <receiver-ID>
10 <receiver-NAME> <date> <time>
11
13 make.coverpg is called from faxspool(1) to generate a cover page for
14 the just-processed fax. It has to create a proper G3 file (e.g. via
15 pbm2g3(1) or hp2hig3(1) or ghostscript(1)) and output that on stdout.
16 If the program doesn't exist, or can't be executed, the fax simply
17 won't get a coverpage (so, if you don't want a fax coverpage, do not
18 install it...)
19
20 make.coverpg can put anything it wants on the page, but note that there
21 are certain legal requirements in certain countries about the contents
22 that *have* to be on the cover page, for example, the fax phone number
23 of the sender and the recepient, the number of pages, or similar
24 things.
25
26 make.coverpg gets the informations about the fax to be sent from the
27 command line, in the order listed above.
28
29 If the environment variable normal_res is set to something non-empty,
30 faxspool requests that make.coverpg creates a cover page in normal res‐
31 olution (98 lpi). Default is fine resolution (196 lpi).
32
33 NO make.coverpg program is installed by default, since everyones needs
34 differ too wildly.
35
36 Some sample coverpage programs are provided in the mgetty source tree,
37 in the samples/ subdirectory (coverpg.pbm shows how to do it with "pbm‐
38 text|pbm2g3", coverpg.ps shows how I do it with ghostscript).
39
40 In this directory, you can also find two shell scripts (fax and
41 faxmemo) that will take advantage of one more esoteric feature of my
42 coverpage programs: if called with the option "-m <memo-file>", the
43 sample programs will put a text file "<memo-file>" on the cover page
44 (used for short notes or such). To make use of it, faxspool is called
45 with the option '-C "make.coverpg -m <memo-file>"' (the double quotes
46 are needed!).
47
48
50 none
51
52
54 A five-page fax sent from me to my second number could result in a call
55 like this:
56
57 make.coverpg 5 "+49-89-3243328" "Gert Doering" "3244814" "myself" "Sep
58 15 94" "22:10:00"
59
60
62 /usr/lib64/mgetty+sendfax/make.coverpg
63 the program itself
64
65
67 faxspool(1), pbm2g3(1), ghostscript(1)
68
69
71 The idea behind make.coverpg is Copyright (C) 1993 by Gert Doering,
72 <gert@greenie.muc.de>, the implementation will most likely have
73 yours...
74
75
76
77greenie 27 Oct 93 make.coverpg(1)