Next: Why Does it Refuse to Change the Font Size, Previous: Why Does it Print Junk?, Up: Why Does...? [Contents][Index]
complains that my file is binary though it is not.
There are several reasons that can cause a2ps to consider a file is binary:
file(1)
said the type of the file is ‘data’, in
which case a2ps prefers not to print the file. Then you can either:
binary: <data*>
# Load the system’s sheets.map include(/usr/local/share/a2ps/sheets/sheets.map) # Override the rule for files with type ‘data’ according to file(1) plain: <data*>
But this is not very good, since then this rule is always the first
tested, which means that any file with type ‘data’ according to
file(1)
will be printed in ‘plain’ style, even if the file
is called foo.c.
# file(1) says it’s data, but it’s pure text plain: /*.txx/