<li><a href="#cupsFilePeekChar" title="Peek at the next character from a file.">cupsFilePeekChar</a></li>
<li><a href="#cupsFilePrintf" title="Write a formatted string.">cupsFilePrintf</a></li>
<li><a href="#cupsFilePutChar" title="Write a character.">cupsFilePutChar</a></li>
+<li><a href="#cupsFilePutConf" title="Write a configuration line.">cupsFilePutConf</a></li>
<li><a href="#cupsFilePuts" title="Write a string.">cupsFilePuts</a></li>
<li><a href="#cupsFileRead" title="Read from a file.">cupsFileRead</a></li>
<li><a href="#cupsFileRewind" title="Set the current file position to the beginning of the
</dl>
<h4 class="returnvalue">Return Value</h4>
<p class="description">0 on success, -1 on error</p>
+<h3 class="function"><span class="info"> CUPS 1.4 </span><a name="cupsFilePutConf">cupsFilePutConf</a></h3>
+<p class="description">Write a configuration line.</p>
+<p class="code">
+ssize_t cupsFilePutConf (<br>
+ <a href="#cups_file_t">cups_file_t</a> *fp,<br>
+ const char *directive,<br>
+ const char *value<br>
+);</p>
+<h4 class="parameters">Parameters</h4>
+<dl>
+<dt>fp</dt>
+<dd class="description">CUPS file</dd>
+<dt>directive</dt>
+<dd class="description">Directive</dd>
+<dt>value</dt>
+<dd class="description">Value</dd>
+</dl>
+<h4 class="returnvalue">Return Value</h4>
+<p class="description">Number of bytes written or -1 on error</p>
+<h4 class="discussion">Discussion</h4>
+<p class="discussion">This function handles any comment escaping of the value.
+
+</p>
<h3 class="function"><span class="info"> CUPS 1.2 </span><a name="cupsFilePuts">cupsFilePuts</a></h3>
<p class="description">Write a string.</p>
<p class="code">
</ul></li>
</ul>
<!--
- "$Id: api-filter.shtml 7677 2008-06-19 23:22:19Z mike $"
+ "$Id: api-filter.shtml 7962 2008-09-18 17:31:33Z mike $"
Filter and backend programming introduction for the Common UNIX Printing
System (CUPS).
<dt>CUPS_DATADIR</dt>
<dd>The directory where (read-only) CUPS data files can be found.</dd>
+ <dt>CUPS_FILETYPE</dt>
+ <dd>The type of file being printed: "job-sheet" for a banner page and
+ "document" for a regular print file.</dd>
+
<dt>CUPS_SERVERROOT</dt>
<dd>The root directory of the server.</dd>
.\"
.\" accept/reject man page for the Common UNIX Printing System (CUPS).
.\"
-.\" Copyright 2007 by Apple Inc.
+.\" Copyright 2007-2008 by Apple Inc.
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.\" which should have been included with this file. If this file is
.\" file is missing or damaged, see the license at "http://www.cups.org/".
.\"
-.TH accept 8 "Common UNIX Printing System" "12 February 2006" "Apple Inc."
+.TH cupsaccept 8 "Common UNIX Printing System" "12 February 2006" "Apple Inc."
.SH NAME
-accept/reject \- accept/reject jobs sent to a destination
+cupsaccept/cupsreject \- accept/reject jobs sent to a destination
.SH SYNOPSIS
-.B accept
+.B cupsaccept
[ -E ] [ -U
.I username
] [ -h
.I hostname[:port]
] destination(s)
.br
-.B reject
+.B cupsreject
[ -E ] [ -U
.I username
] [ -h
.I reason
] destination(s)
.SH DESCRIPTION
-\fIaccept\fR instructs the printing system to accept print jobs to the
+\fIcupsaccept\fR instructs the printing system to accept print jobs to the
specified destinations.
.LP
-\fIreject\fR instructs the printing system to reject print jobs to the
+\fIcupsreject\fR instructs the printing system to reject print jobs to the
specified destinations. The \fI-r\fR option sets the reason for rejecting
print jobs. If not specified the reason defaults to "Reason Unknown".
.SH OPTIONS
-The following options are supported by both \fIaccept\fR and
-\fIreject\fR:
+The following options are supported by both \fIcupsaccept\fR and
+\fIcupsreject\fR:
.TP 5
-E
.br
.br
http://localhost:631/help
.SH COPYRIGHT
-Copyright 2007 by Apple Inc.
+Copyright 2007-2008 by Apple Inc.
.\"
.\" End of "$Id: cupsaccept.man 7930 2008-09-10 22:25:54Z mike $".
.\"