Lines Matching refs:printer
48 "Usage:\t%s [ -A address ] [ -c ] [ -d ] [ -e ] [ -E ] [ -p printer ]\n"
50 " -A address - printer Appletalk address\n"
54 " -E - don't wait for EOF from printer\n"
55 " -p printer - printer name\n"
56 " -s statusfile - put current printer status in statusfile\n"
57 " -w - wait for printer status = 'waiting'\n"
58 " -W - wait for printer status = 'idle'\n"
59 " FILES - send FILES to printer\n"
91 static char *printer = NULL;
195 printer = optarg;
220 if ( printer == NULL && (( printer = paprc()) == NULL )) {
221 fprintf( stderr, "No printer specified and ./.paprc not found.\n" );
228 if ( nbp_name( printer, &obj, &type, &zone ) < 0 ) {
229 fprintf( stderr, "%s: Bad name\n", printer );
233 fprintf( stderr, "%s: Bad name\n", printer );