Name

atprint

Synopsis

atprint [printer]

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 [name[:type[@zone]]] 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.

Examples

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

Get Mac OS X in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.