diff options
author | Michael R Sweet <michael.r.sweet@gmail.com> | 2019-05-24 08:12:26 -0400 |
---|---|---|
committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2019-05-24 08:12:26 -0400 |
commit | 5098fdde631b3f583df119164ec2b9fcae038b36 (patch) | |
tree | 4de0abdbef08133c50bf5fa591b889781cb50adb /filter | |
parent | 0cf87cf506f484d0260d5879feb4fe1043c88f17 (diff) | |
download | cups-5098fdde631b3f583df119164ec2b9fcae038b36.tar.gz |
Swap ^IDR and ^XZ commands to make sure that page image is deleted on the label
printer. (Why is this even a thing?)
Diffstat (limited to 'filter')
-rw-r--r-- | filter/rastertolabel.c | 9 |
1 files changed, 5 insertions, 4 deletions
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... |