ATPRINT(1) — NEWS-OS Programmer’s Manual
NAME
atprint − sends data to PAP server
SYNOPSIS
atprint [object[:type[@zone]]]
DESCRIPTION
atprint communicates with PAP servers on an AppleTalk network using the AppleTalk PAP (Printer Access Protocol) to send data received from standard input to the server.
Examples of PAP servers include printer devices such as LaserWriters and print spoolers.
This command does not process data in special ways for different servers. In other words, data to be sent to a LaserWriter should already be in PostScript format.
Servers can be specified from the command line using server names obtained using atlookup or a similar tool. If the type name (type) is omitted, the type is assumed to be LaserWriter. If the character “∗” is specified as the zone, atprint assumes the current zone. In addition, server name can be specified by the envirnment variable ATPRINTER. % atprint ’my_printer:LaserWriter’ < test.ps The above example will send the file “test.ps” to the specified server, my_printer:LaserWriter, to be printed out.
Responses from the PAP server are written to standard output.
BUGS
atprint does not do special device-specific processing of data, so it is possible that data of an unexpected type could be sent to a server. Should this happen, the printer may lock up.
SEE ALSO
atlookup(1), atstatus(1), atpscnv(1), atconfig(8), apsd(8)
NEWS-OSRelease 4.2.1R