summaryrefslogtreecommitdiff
path: root/psprint
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-12-12 13:55:25 +0000
committerKurt Zenker <kz@openoffice.org>2007-12-12 13:55:25 +0000
commit4dacae86abd9e447d589bf2cc14d19b03fc180e8 (patch)
tree64837d32026cda160b55b1d6a420045a86d614a0 /psprint
parent9557bd62d6c52c3a2e87185d4e0dad25ceb6a38b (diff)
INTEGRATION: CWS kprinter (1.17.30); FILE MERGED
2007/11/12 13:27:30 pl 1.17.30.1: #i83505# implement external print dialog on a queue
Diffstat (limited to 'psprint')
-rw-r--r--psprint/inc/psprint/printerinfomanager.hxx13
1 files changed, 9 insertions, 4 deletions
diff --git a/psprint/inc/psprint/printerinfomanager.hxx b/psprint/inc/psprint/printerinfomanager.hxx
index 19c142f56503..0d37758c93f0 100644
--- a/psprint/inc/psprint/printerinfomanager.hxx
+++ b/psprint/inc/psprint/printerinfomanager.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: printerinfomanager.hxx,v $
*
- * $Revision: 1.17 $
+ * $Revision: 1.18 $
*
- * last change: $Author: ihi $ $Date: 2007-04-16 14:15:57 $
+ * last change: $Author: kz $ $Date: 2007-12-12 14:55:25 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -69,8 +69,10 @@ struct PrinterInfo : JobData
rtl::OUString m_aComment;
// a command line to pipe a PS-file to
rtl::OUString m_aCommand;
+ // a command line to pipe a PS-file to in case of direct print
+ rtl::OUString m_aQuickCommand;
// a list of special features separated by ',' not used by psprint
- // but assigned from the outside (currently only for "fax")
+ // but assigned from the outside (currently for "fax","pdf=","autoqueue","external_dialog")
rtl::OUString m_aFeatures;
// a mapping of fonts to other fonts.
// this provides a method for the user
@@ -225,7 +227,7 @@ public:
// abstract print command
// returns a stdio FILE* that a postscript file may be written to
// this may either be a regular file or the result of popen()
- virtual FILE* startSpool( const rtl::OUString& rPrinterName );
+ virtual FILE* startSpool( const rtl::OUString& rPrinterName, bool bQuickCommand );
// close the FILE* returned by startSpool and does the actual spooling
// returns a numerical job id
virtual int endSpool( const rtl::OUString& rPrinterName, const rtl::OUString& rJobTitle, FILE* pFile, const JobData& rDocumentJobData );
@@ -234,6 +236,9 @@ public:
virtual bool addOrRemovePossible() const;
bool getUseIncludeFeature() const { return m_bUseIncludeFeature; }
+
+ // check whether a printer's feature string contains a subfeature
+ bool checkFeatureToken( const rtl::OUString& rPrinterName, const char* pToken ) const;
};
} // namespace