]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Always send roll select command.
authorMichael R Sweet <michael.r.sweet@gmail.com>
Wed, 27 Nov 2019 17:23:48 +0000 (12:23 -0500)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Wed, 27 Nov 2019 17:23:48 +0000 (12:23 -0500)
filter/rastertolabel.c

index c576edaa0f98f65624ec8507586a013ad9b3c6d8..73ac4d76eb9c8ebaedb0e8dc78280ed9274f8785 100644 (file)
@@ -191,9 +191,7 @@ StartPage(ppd_file_t         *ppd,  /* I - PPD file */
        printf("\033D%c", header->cupsBytesPerLine);
 
        printf("\033%c", header->cupsCompression + 'c'); /* Darkness */
-
-       if (header->MediaPosition)
-         printf("\033q%d", header->MediaPosition + 1); /* Roll Select */
+       printf("\033q%d", header->MediaPosition + 1);    /* Roll Select */
        break;
 
     case ZEBRA_EPL_LINE :