Menu

printqdc

Dirk Krause
← Previous ↑ Home → Next

printqdc — Client to communicate with printqd

Description

The printqdc program (print quota daemon client) communicates to a printqd daemon.

The program has two modes:

Pipe mode (default)

The program is configured as a filter/pipe either in the LPRng system using

:af=/path.../printqdc

or in the pjsnmp program using

:pjsnmp-accounting-file=|/path.../printqdc

The program reads accounting requests either in LPRng or printqd format from standard input line by line, converts LPRng lines into printqd lines, opens a connection to the printqd daemon, sends the lines, optionally waits for a response and processes the response.
In this mode the program produces not output at all, neither to stdout nor to stderr. The exit status code is set depending on the first request line requiring a response.

Interactive mode (option -i).

In interactive mode all requests and responses are shown on standard output, error messages (if any) are shown on standard error output.
The exit code indicates success or failure (any error occured).
This mode is intended for interactive maintenance operations.


See also

Program Purpose
[printqdc manual] Full documentation for printqdc.
LPRng Enhanced print spooler.
[printqd] Print quota daemon for the LPRng print system.
[pjsnmp] Print job transfer filter for the LPRng print system.
[wxpqdic] GUI program to query quota information from printqd.

← Previous ↑ Home → Next

Related

Wiki: Home
Wiki: pjsnmp
Wiki: printqd manual
Wiki: printqd
Wiki: printqdc manual
Wiki: wxpqdic

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.