The CUPS scheduler (cupsd) uses the
/etc/cups/subscriptions.conf file to store the list
of active subscriptions. Each directive is listed on a line by
itself followed by its value. Comments are introduced using the
number sign ("#") character at the beginning of a line.
While the subscriptions configuration file consists of plain
text and can be modified using your favorite text editor, you
should normally use the command-line programs (lp(1) and lpr(1)) or specific applications via IPP
requests to manage your subscriptions.
The ExpirationTime directive specifies the
expiration time of the subscription as a UNIX time value. It is 0
for subscriptions with no predefined expiration time.
The ExpirationTime directive must appear inside a
Subscription
section.
The LeaseDuration directive specifies the number
of seconds that the subscription is valid. A value of 0 means
that the subscription will last forever or the life of the print
job the subscription is attached to.
The LeaseDuration directive must appear inside a Subscription section.
The NextEventId directive specifies the
notify-sequence-number value for the next
notification event. It starts at 1 and increases for every event
that is delivered for the subscription.
The NextEventId directive must appear inside a Subscription section.
The Recipient directive specifies the
notify-recipient-uri value for push-type
notifications. The URI scheme name determines which notifier
program is used to send the event(s).
The Recipient directive must appear inside a Subscription section.
The UserData directive specifies the
notify-user-data value, which is normally the "from"
address used in mailto notifications. Binary values
are introduced by encoding the bytes as hexadecimal values inside
angle brackets, e.g. "<1234>".
The UserData directive must appear inside a Subscription section.