From 5098fdde631b3f583df119164ec2b9fcae038b36 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 24 May 2019 08:12:26 -0400 Subject: [PATCH] Swap ^IDR and ^XZ commands to make sure that page image is deleted on the label printer. (Why is this even a thing?) --- CHANGES.md | 3 ++- filter/rastertolabel.c | 9 +++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 92775846a..257dc2b9d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,4 @@ -CHANGES - 2.3.0 - 2019-05-23 +CHANGES - 2.3.0 - 2019-05-24 ============================ @@ -6,6 +6,7 @@ Changes in CUPS v2.3.0 ---------------------- - Fixed an issue with `EXPECT !name WITH-VALUE ...` tests. +- Fixed a command ordering issue in the Zebra ZPL driver. Changes in CUPS v2.3rc1 diff --git a/filter/rastertolabel.c b/filter/rastertolabel.c index 226a3740f..510cec7cd 100644 --- a/filter/rastertolabel.c +++ b/filter/rastertolabel.c @@ -1,10 +1,11 @@ /* * Label printer filter for CUPS. * - * Copyright 2007-2016 by Apple Inc. - * Copyright 2001-2007 by Easy Software Products. + * Copyright © 2007-2019 by Apple Inc. + * Copyright © 2001-2007 by Easy Software Products. * - * Licensed under Apache License v2.0. See the file "LICENSE" for more information. + * Licensed under Apache License v2.0. See the file "LICENSE" for more + * information. */ /* @@ -612,8 +613,8 @@ EndPage(ppd_file_t *ppd, /* I - PPD file */ * End the label and eject... */ - puts("^XZ"); puts("^IDR:CUPS.GRF^FS"); + puts("^XZ"); /* * Cut the label as needed... -- 2.39.2