Next: , Previous: , Up: Why Does...?   [Contents][Index]


10.1.5 Why Does it Print Junk?

What I get on the printer is long and incomprehensible. It does not seem to correspond to what I wanted to print.

You are probably printing a PostScript file or equivalent. Try to print with ‘-Z’: a2ps will try to do his best to find what is the program that can help you (see Your Delegations). In case of doubt, don’t hesitate to save into a file, and check the content with Ghostview, or equivalent:

$ a2ps my_weird_file -Z -o mwf.ps
$ gv mwf.ps

If your a2ps is correctly installed, you can use the ‘display’ fake-printer:

$ a2ps my_weird_file -Z -P display

If it is incorrect, ask for help around you.