Deleted Added
sdiff udiff text old ( 79746 ) new ( 83684 )
full compact
1/*
2 * ------+---------+---------+---------+---------+---------+---------+---------*
3 * Copyright (c) 2001 - Garance Alistair Drosehn <gad@FreeBSD.org>.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 19 unchanged lines hidden (view full) ---

28 * are those of the authors and should not be interpreted as representing
29 * official policies, either expressed or implied, of the FreeBSD Project.
30 *
31 * ------+---------+---------+---------+---------+---------+---------+---------*
32 */
33
34#ifndef lint
35static const char rcsid[] =
36 "$FreeBSD: head/usr.sbin/lpr/common_source/ctlinfo.c 79746 2001-07-15 05:29:38Z gad $";
37#endif /* not lint */
38
39/*
40 * ctlinfo - This collection of routines will know everything there is to
41 * know about the information inside a control file ('cf*') which is used
42 * to describe a print job in lpr & friends. The eventual goal is that it
43 * will be the ONLY source file to know what's inside these control-files.
44 */

--- 133 unchanged lines hidden (view full) ---

178 * appear multiple times in a control file (once per datafile):
179 *
180 * N - "name" of file (for display purposes, used by 'lpq')
181 * S - "stat() info" used for symbolic link ('lpr -s')
182 * security checks.
183 *
184 * The following indicate actions to take on a given datafile. The same
185 * datafile may appear on more than one "print this file" command in the
186 * control file. Note that ALL ids with lowercase letters are commands
187 * to "print this file":
188 *
189 * f - "file name", a plain-text file to print
190 * l - "file name", text file with control chars to print (some
191 * printers recognize this id as a request to print a
192 * postscript file)
193 * p - "file name", text file to print with pr(1)
194 * t - "file name", troff(1) file to print
195 * n - "file name", ditroff(1) file to print
196 * d - "file name", dvi file to print
197 * g - "file name", plot(1G) file to print
198 * v - "file name", plain raster file to print
199 * c - "file name", cifplot file to print
200 *
201 * U - "file name" of datafile to unlink (ie, remove file
202 * from spool directory. To be done in a 'Pass 2',
203 * AFTER having processed all datafiles in the job).
204 *
205 */
206
207void

--- 644 unchanged lines hidden ---