PAPSTATUS(8)

✨ PAPSTATUS(8) ✨

okay bestie, welcome to the Netatalk AFP Fileserver Manual πŸ’– this is papstatus, and it's about to tell you what your printer is thinking.


πŸ’… NAME πŸ’…

papstatus β€” get the status of an AppleTalk-connected printer πŸ–¨οΈβœ¨


πŸŽ€ SYNOPSIS πŸŽ€

papstatus [-d] [-p printer] [retrytime]

🌸 DESCRIPTION 🌸

So papstatus is literally your little messenger to an AppleTalk-connected printer πŸ’Œ it goes and grabs the printer's current status message for you. It does this using the Printer Access Protocol (PAP) to pull that status info. no cap.

Now, if you don't specify a printer on the command line, papstatus goes looking for a file called .paprc in the current directory and reads it to get the name of a printer πŸ‘€ that's the vibe.

The .paprc file should contain a single line of the form:

object:type@zone

where each of object, :type, and @zone are optional 🫢 and heads up: type and zone must be preceded by : and @ respectively. Blank lines and lines that begin with a # are ignored, so go ahead and leave little notes for yourself, it's fine πŸ’–

Also, type and zone default to LaserWriter and the zone of the local host, respectively. slay.


✨ OPTIONS ✨

  • -d β€” turns on a debugging mode that prints some extra information to standard error πŸ‘€ very "let me see the receipts" of you.
  • -p printer β€” get status from printer, and do not consult any .paprc files to find a printer name. The syntax for printer is the same as discussed above for the .paprc file πŸ’…
  • retrytime β€” normally, papstatus only gets the status from the printer once. but if you specify retrytime, the status is obtained repeatedly, with a sleep of retrytime seconds between inquiring the printer πŸ” like it's checking in on the printer every retrytime seconds. so clingy. we love it. 🌈

πŸ¦‹ FILES πŸ¦‹

  • .paprc β€” file that contains printer name πŸ“„βœ¨

πŸ’œ SEE ALSO πŸ’œ

nbp(1), pap(1) 🫢 go read those too, they're iconic.


πŸ‘‘ AUTHOR πŸ‘‘

Contributors to the Netatalk Project (https://netatalk.io/contributors) β€” actual legends, every single one πŸ’–


okay that's the whole page bestie, you ate πŸ“ this was Netatalk 4.5.1 and we're out here repping PAPSTATUS(8) β€” periodt πŸ’…βœ¨

πŸ“¦ where this page comes from