summaryrefslogtreecommitdiff
path: root/src/main/print-escp2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/print-escp2.h')
-rw-r--r--src/main/print-escp2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/print-escp2.h b/src/main/print-escp2.h
index 7280629..976ffd6 100644
--- a/src/main/print-escp2.h
+++ b/src/main/print-escp2.h
@@ -1,5 +1,5 @@
/*
- * "$Id: print-escp2.h,v 1.139 2010/12/19 02:51:37 rlk Exp $"
+ * "$Id: print-escp2.h,v 1.140 2014/01/23 13:22:41 rlk Exp $"
*
* Print plug-in EPSON ESC/P2 driver for the GIMP.
*
@@ -28,8 +28,8 @@
* Maximum number of channels in a printer. If Epson comes out with an
* 8-head printer, this needs to be increased.
*/
-#define PHYSICAL_CHANNEL_LIMIT 8
#define MAX_DROP_SIZES 3
+#define PHYSICAL_CHANNEL_LIMIT ((STP_CHANNEL_LIMIT) / ((MAX_DROP_SIZES)+1))
#define XCOLOR_R (STP_NCOLORS + 0)
#define XCOLOR_B (STP_NCOLORS + 1)
@@ -624,5 +624,5 @@ extern void stpi_escp2_terminate_page(stp_vars_t *v);
#endif /* GUTENPRINT_INTERNAL_ESCP2_H */
/*
- * End of "$Id: print-escp2.h,v 1.139 2010/12/19 02:51:37 rlk Exp $".
+ * End of "$Id: print-escp2.h,v 1.140 2014/01/23 13:22:41 rlk Exp $".
*/