Lines Matching refs:printer

47  * lpc -- line printer control program -- commands:
86 static void upstat(struct printer *_pp, const char *_msg, int _notify);
108 generic(void (*specificrtn)(struct printer *_pp), int cmdopts,
112 struct printer myprinter, *pp;
119 * that they give will be processed as a printer name.
121 printf("usage: %s {all | printer ...}", argv[0]);
124 printf(" or: down {all | printer} [<text> ...]");
142 * only the parameters which have to do with printer names.
168 printf("error: No printer name(s) specified before"
170 printf("usage: %s {all | printer ...}",
216 pp->printer);
235 printf("unknown printer %s\n", *argv);
373 upstat(struct printer *pp, const char *msg, int notifyuser)
405 abort_q(struct printer *pp)
411 printf("%s:\n", pp->printer);
662 clean_q(struct printer *pp)
673 printf("%s:\n", pp->printer);
692 printf("%s:\n", pp->printer);
700 printf("%s:\n", pp->printer);
708 printf("%s:\n", pp->printer);
873 * Enable queuing to the printer (allow lpr to add new jobs to the queue).
876 enable_q(struct printer *pp)
882 printf("%s:\n", pp->printer);
891 disable_q(struct printer *pp)
897 printf("%s:\n", pp->printer);
907 * parameter as the printer name, and all remaining parameters as the
922 * (if argc == 1 at this point, then *argv == name of printer).
933 * will not process them as printer-queue names).
943 down_q(struct printer *pp)
949 printf("%s:\n", pp->printer);
969 restart_q(struct printer *pp)
975 printf("%s:\n", pp->printer);
1011 setstatus_q(struct printer *pp)
1018 printf("%s:\n", pp->printer);
1040 * Enable printing on the specified printer and startup the daemon.
1043 start_q(struct printer *pp)
1049 printf("%s:\n", pp->printer);
1064 * Print the status of the printer queue.
1067 status(struct printer *pp)
1075 printf("%s:\n", pp->printer);
1130 stop_q(struct printer *pp)
1136 printf("%s:\n", pp->printer);
1149 * Put the specified jobs at the top of printer queue.
1157 struct printer myprinter, *pp = &myprinter;
1160 printf("usage: topq printer [jobnum ...] [user ...]\n");
1172 printf("unknown printer %s\n", *argv);
1180 printf("%s:\n", pp->printer);
1238 * Checks if specified job name is in the printer's queue.
1310 * Enable both queuing & printing, and start printer (undo `down').
1313 up_q(struct printer *pp)
1319 printf("%s:\n", pp->printer);