Main Page | Data Structures | File List | Globals

include/queueinfo.h

00001 /*
00002 ** mouse:~ppr/src/include/queueinfo.h
00003 ** Copyright 1995--2004, Trinity College Computing Center.
00004 ** Written by David Chappell.
00005 **
00006 ** Redistribution and use in source and binary forms, with or without
00007 ** modification, are permitted provided that the following conditions are met:
00008 **
00009 ** * Redistributions of source code must retain the above copyright notice,
00010 ** this list of conditions and the following disclaimer.
00011 ** 
00012 ** * Redistributions in binary form must reproduce the above copyright
00013 ** notice, this list of conditions and the following disclaimer in the
00014 ** documentation and/or other materials provided with the distribution.
00015 **
00016 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00017 ** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00018 ** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00019 ** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 
00020 ** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
00021 ** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
00022 ** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
00023 ** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
00024 ** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
00025 ** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
00026 ** POSSIBILITY OF SUCH DAMAGE.
00027 **
00028 ** Last modified 10 February 2004.
00029 */
00030 
00031 enum QUEUEINFO_TYPE { QUEUEINFO_SEARCH, QUEUEINFO_ALIAS, QUEUEINFO_GROUP, QUEUEINFO_PRINTER };
00032 void *queueinfo_new(enum QUEUEINFO_TYPE qit, const char name[]);
00033 void queueinfo_delete(void *p);
00034 void *queueinfo_new_load_config(enum QUEUEINFO_TYPE qit, const char name[]);
00035 void queueinfo_add_printer(void *p, const char name[]);
00036 void queueinfo_add_hypothetical_printer(void *p, const char name[], const char ppdfile[], const char installed_memory[]);
00037 
00038 void queueinfo_set_warnings_file(void *p, FILE *errors);
00039 void queueinfo_set_debug_level(void *p, int debug_level);
00040 
00041 const char *queueinfo_name(void *p);
00042 const char *queueinfo_comment(void *p);
00043 gu_boolean  queueinfo_transparentMode(void *);
00044 gu_boolean queueinfo_psPassThru(void *p);
00045 gu_boolean  queueinfo_binaryOK(void *);
00046 const char *queueinfo_ppdFile(void *p);
00047 const char *queueinfo_product(void *p);
00048 int         queueinfo_psLanguageLevel(void *p);
00049 const char *queueinfo_shortNickName(void *p);
00050 const char *queueinfo_psVersionStr(void *p);
00051 double      queueinfo_psVersion(void *p);
00052 int         queueinfo_psRevision(void *p);
00053 int         queueinfo_psFreeVM(void *p);
00054 const char *queueinfo_resolution(void *p);                              /* "300dpi", "600x300dpi" */
00055 gu_boolean  queueinfo_colorDevice(void *p);
00056 const char *queueinfo_faxSupport(void *p);                              /* "Base" */
00057 const char *queueinfo_ttRasterizer(void *p);                    /* "None", "Type42", "Accept68K" */
00058 int         queueinfo_fontCount(void *p);
00059 const char *queueinfo_font(void *p, int index);
00060 gu_boolean  queueinfo_fontExists(void *p, const char name[]);
00061 const char *queueinfo_optionValue(void *p, const char name[]);
00062 const char *queueinfo_computedMetaFontMode(void *p);
00063 const char *queueinfo_computedDefaultFilterOptions(void *p);
00064 
00065 /* end of file */

Generated on Fri Feb 20 15:17:48 2004 for PPR Libraries by doxygen 1.3.5