X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=filter%2Frastertolabel.c;h=35d678db730a409341d86e86a5d3069590ce8d96;hb=e2eb28cfcf10ef163253a65f631e0cc98fe34804;hp=226a3740f4bcb3f6ae589e00a00569b54f280de3;hpb=140af001d687afc4177ec08dc6f2f1e87e84a2d4;p=thirdparty%2Fcups.git diff --git a/filter/rastertolabel.c b/filter/rastertolabel.c index 226a3740f..35d678db7 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. */ /* @@ -613,7 +614,14 @@ EndPage(ppd_file_t *ppd, /* I - PPD file */ */ puts("^XZ"); + + /* + * Delete the label image... + */ + + puts("^XA"); puts("^IDR:CUPS.GRF^FS"); + puts("^XZ"); /* * Cut the label as needed...