O'Reilly logo

Mac OS X Tiger in a Nutshell by Jason McIntosh, Chuck Toporek, Chris Stone, Andy Lester

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required