Sends data from standard input to AppleTalk printer
printer, or the printer chosen with at_cho_prn if no printer is specified. Specify
printer using the
]]] syntax as described for atlookup. If the printer is a PostScript device, you must first reformat non-PostScript data, such as plain text, to PostScript before printing with atprint. You can do this easily using enscript, as shown in the first example.
Print text file addresslist to the AppleTalk PostScript printer sales:
enscript -p- | atprint addresslist | sales
Print grep's manpage to the at_cho_prn chosen printer, using man's -t option to format it for PostScript printing:
man -t grep| atprint