To print a file to an AppleTalk realm printer with the given name:
acprint [-b] [-d] [-o] [-t] printername [file...]
To display the printer's PAP status string:
acprint -s printername