summaryrefslogtreecommitdiff
path: root/psprint
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-05-24 11:02:03 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-05-24 11:02:03 +0000
commitc519f45716f75a373d739f799f72d97edeb9b9f6 (patch)
tree5fb660750e0713d194034e9fe91e1502123a4bcb /psprint
parent432f037a6ce79fb434d47d5d51c2d75b05874a89 (diff)
INTEGRATION: CWS macosxcups (1.12.56); FILE MERGED
2006/05/13 18:17:42 obr 1.12.56.1: #i63376# Enabled CUPS printing code for MACOSX
Diffstat (limited to 'psprint')
-rw-r--r--psprint/inc/psprint/printerinfomanager.hxx34
1 files changed, 2 insertions, 32 deletions
diff --git a/psprint/inc/psprint/printerinfomanager.hxx b/psprint/inc/psprint/printerinfomanager.hxx
index b74f438da0c1..77499fc5151a 100644
--- a/psprint/inc/psprint/printerinfomanager.hxx
+++ b/psprint/inc/psprint/printerinfomanager.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: printerinfomanager.hxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 16:35:29 $
+ * last change: $Author: vg $ $Date: 2006-05-24 12:02:03 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -54,36 +54,6 @@
#endif
#include <cstdio>
-#ifdef MACOSX
-/* MacOS X print system discovery constants:
- *
- * These values enumerate Apple OS printing systems we could use.
- * They are used as indications _as well as_ indexes into the
- * aParms structure used below for print commands.
- */
-#define kApplePrintingFailure 0 /* For whatever reason, we can't print at all */
-#define kApplePrintingLPR 1 /* Darwin 5.x style LPR printing */
-#define kApplePrintingCUPS 2 /* MacOS X 10.2/Darwin 6 and later style CUPS (also CUPS installed by users on 10.1) */
-#define kApplePrintingPrintCenter 3 /* MacOS X 10.1 /usr/sbin/Print printing */
-
-/* Constants for PostScript vs PDF printing */
-#define kApplePrintingUsePDF 1 /* Default; Run PS through ps2pdf first (requires GhostScript) */
-#define kApplePrintingUsePS 2 /* Optional, print PS directly to printer (less compatible, requires PS printer) */
-
-/* Define various printing commands */
-#define kApplePCPrintCommand "/usr/sbin/Print" /* Mac OS X 10.1 Print Center Printing command */
-#define kApplePS2PDFLocation "/usr/local/bin/ps2pdf" /* PS -> PDF conversion command using ghostscript */
-#define kApplePsToPdfLocation "/usr/bin/pstopdf" /* Mac OS X 10.3 and above builtin PS->PDF conversion utility */
-#define kApplePCQueueName "Apple Print Center Default Printer" /* Name that appears in Print... dialog as the default */
- /* printer for 10.1 Print Center printing */
-
-/* Prototype for print method discovery function. Returns
- * a constant defined in printerinfomanager.hxx
- */
-sal_Int32 macxp_GetSystemPrintMethod( void );
-#endif
-
-
namespace psp
{