Lines Matching defs:to

4  * The contents of this file are subject to the terms of the
66 gettext("Failed to query service for %s: %s\n"),
287 * client to server using ipp
304 copy_file(char *from, char *to)
313 if ((ofd = open(to, O_WRONLY)) < 0) {
333 * list passed to this function.
334 * This file is then passed through lpsched and given to either
335 * a slow-filter or to the printer's interface script to process
339 * file - file pathname to create and put the attributes into.
373 * file - file pathname to create and put the attributes into.
390 * check file exist before try to modify it, if it doesn't
396 * attributes to the file otherwise exact the attributes
398 * writing them back to the file
442 * Parameters: file - pathname of file containing attributes to be modified
443 * attrs - list of attributes and their values to modify
599 gettext("unable to copy: %s -> %s: %s"),
611 * through lpsched and be given to the slow-filters and the printer's
612 * interface script to process them
618 detailed_error(svc, "unable to copy attributes to file: %s: %s",
627 detailed_error(svc, gettext("unable to save request: %s: %s"),
738 * through lpsched and be given to the slow-filters and the printer's
739 * interface script to process them
745 detailed_error(svc, "unable to copy attributes to file: %s: %s",
754 detailed_error(svc, gettext("unable to save request: %s: %s"),
851 * through lpsched and be given to the slow-filters and the printer's
852 * interface script to process them
858 detailed_error(svc, "unable to copy attributes to file: %s: %s",
870 detailed_error(svc, gettext("unable to save request: %s: %s"),
970 gettext("failed to read response from scheduler"));
1112 gettext("failed to write job: %s: %s"),
1119 detailed_error(svc, gettext("failed to read job: %s: %s"),
1171 * If it is job-id-requested then we need to
1179 "failed to initiate change for job (%s-%d): %s",
1194 * that was created by the original job request. We need to
1202 "unable to modify the attributes file: %s: %s",
1210 gettext("failed to write job: %s: %s"),
1216 detailed_error(svc, gettext("failed to read job: %s: %s"),
1233 * Extension to PAPI, a variation of this is slated for post-1.0
1265 /* convert the attributes to an lpsched REQUEST structure */
1277 * through lpsched and be given to the slow-filters and the printer's
1278 * interface script to process them
1284 detailed_error(svc, "unable to copy attributes to file: %s: %s",
1295 detailed_error(svc, gettext("unable to save request: %s: %s"),
1331 /* tell the scheduler that we want to change the job */
1343 gettext("failed to write job: %s: %s"),
1349 detailed_error(svc, gettext("failed to read job: %s: %s"),
1379 detailed_error(svc, gettext("unable to create sink (%s): %s"),
1385 /* add data file to job */
1395 detailed_error(svc, gettext("unable to load request: %s: %s"),
1406 detailed_error(svc, gettext("unable to save request: %s: %s"),