From 5098fdde631b3f583df119164ec2b9fcae038b36 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 24 May 2019 08:12:26 -0400 Subject: Swap ^IDR and ^XZ commands to make sure that page image is deleted on the label printer. (Why is this even a thing?) --- filter/rastertolabel.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'filter') 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... -- cgit v1.2.1