]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
The EPL2 and ZPL sample drivers did not properly support the CutMedia option.
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Wed, 16 Dec 2015 18:35:12 +0000 (18:35 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Wed, 16 Dec 2015 18:35:12 +0000 (18:35 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@13021 a1ca3aef-8c08-0410-bb20-df032aa958be

CHANGES-2.1.txt
filter/rastertolabel.c

index 16fe4fdd50c6fdf10397cf46936767b32571c7e9..6a0107e378ca3b51c1b83fcabfdf976898e0ec84 100644 (file)
@@ -5,6 +5,8 @@ CHANGES IN CUPS V2.1.3
 
        - The scheduler should not exit under memory pressure
          (<rdar://problem/23255001>)
+       - The EPL2 and ZPL sample drivers did not properly support the CutMedia
+         option.
 
 
 CHANGES IN CUPS V2.1.2
index fe38f9340748b2589bde2a1a017e6e6deeb265d4..7edef8f649dae4d7d1a80a20798a22a5be706271 100644 (file)
@@ -471,6 +471,13 @@ EndPage(ppd_file_t *ppd,           /* I - PPD file */
        */
 
         puts("P1");
+
+       /*
+        * Cut the label as needed...
+        */
+
+       if (header->CutMedia)
+         puts("C");
        break;
 
     case ZEBRA_ZPL :
@@ -602,6 +609,13 @@ EndPage(ppd_file_t *ppd,           /* I - PPD file */
 
         puts("^IDR:CUPS.GRF^FS");
        puts("^XZ");
+
+       /*
+        * Cut the label as needed...
+        */
+
+       if (header->CutMedia)
+         puts("^CN1");
         break;
 
     case ZEBRA_CPCL :