CPC G06Q 30/0237 (2013.01) [H04N 1/346 (2013.01)] | 11 Claims |
1. A non-transitory computer-readable recording medium storing computer-readable instructions for a server that provides a service related to a printer,
the server comprising:
a memory configured to store, for each of one or more benefit codes corresponding to one or more benefits of the service, the benefit code and first type of printer identification information identifying a printer in association with each other, and
a processor,
wherein the computer-readable instructions, when executed by the processor, cause the server to:
receive, from a terminal device, user identification information, first type of first printer identification information and a specific benefit code;
in a case where the user identification information, the first type of first printer identification information and the specific benefit code are received from the terminal device and the first type of first printer identification information and the specific benefit code are stored in the memory in association with each other, grant a specific benefit corresponding to the specific benefit code to a user identified by the user identification information,
the grant of the specific benefit being performed in conjunction with the computer-readable instructions further causing the server to:
generate a token, in response to a token request from the terminal device;
output the token to the terminal device; and
establish a constant connection between the terminal device and the server based on the token, and the constant connection allowing communication between the terminal device and the server, such that the server can send a communication to the terminal device over a firewall without receiving a request from the terminal device;
wherein in a case where the user identification information, the first type of first printer identification information and the specific benefit code are received from the terminal device and the first type of first printer identification information and the specific benefit code are not stored in the memory in association with each other, the specific benefit is not granted to the user; and
the specific benefit causing printing, of the printer, to incur a fee and/or discount, in conjunction with such printing.
|