Add support for the second roll in DYMO Twin/DUO label printers.

Esse commit está contido em:
Michael R Sweet
2019-11-27 12:15:51 -05:00
commit d6ec252e9b
3 arquivos alterados com 17 adições e 10 exclusões
+2 -1
Ver Arquivo
@@ -1,4 +1,4 @@
CHANGES - 2.3.1 - 2019-11-18
CHANGES - 2.3.1 - 2019-11-27
============================
@@ -27,6 +27,7 @@ Changes in CUPS v2.3.1
- Fixed spelling of "fold-accordion".
- Fixed the default common name for TLS certificates used by `ippeveprinter`.
- Fixed the option names used for IPP Everywhere finishing options.
- Added support for the second roll of the DYMO Twin/DUO label printers.
Changes in CUPS v2.3.0
+8 -5
Ver Arquivo
@@ -23,12 +23,12 @@
/*
* This driver filter currently supports Dymo, Intellitech, and Zebra
* This driver filter currently supports DYMO, Intellitech, and Zebra
* label printers.
*
* The Dymo portion of the driver has been tested with the 300, 330,
* and 330 Turbo label printers; it may also work with other models.
* The Dymo printers support printing at 136, 203, and 300 DPI.
* The DYMO portion of the driver has been tested with the 300, 330,
* 330 Turbo, and 450 Twin Turbo label printers; it may also work with other
* models. The DYMO printers support printing at 136, 203, and 300 DPI.
*
* The Intellitech portion of the driver has been tested with the
* Intellibar 408, 412, and 808 and supports their PCL variant.
@@ -43,7 +43,7 @@
* Model number constants...
*/
#define DYMO_3x0 0 /* Dymo Labelwriter 300/330/330 Turbo */
#define DYMO_3x0 0 /* DYMO Labelwriter 300/330/330 Turbo */
#define ZEBRA_EPL_LINE 0x10 /* Zebra EPL line mode printers */
#define ZEBRA_EPL_PAGE 0x11 /* Zebra EPL page mode printers */
@@ -191,6 +191,9 @@ 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 */
break;
case ZEBRA_EPL_LINE :
+7 -4
Ver Arquivo
@@ -115,7 +115,7 @@ Attribute "FileSystem" "" "False"
Attribute "LandscapeOrientation" "" "Plus90"
Attribute "TTRasterizer" "" "Type42"
Copyright "Copyright (c) 2007-2018 by Apple Inc."
Copyright "Copyright (c) 2007-2019 by Apple Inc."
Copyright "Copyright (c) 1997-2007 by Easy Software Products."
Copyright ""
Copyright "Licensed under Apache License v2.0. See the file \"LICENSE\" for more"
@@ -125,11 +125,11 @@ Font *
Version "2.3"
// Dymo Label Printer
// DYMO Label Printer
{
Manufacturer "Dymo"
Manufacturer "DYMO"
ModelName "Label Printer"
Attribute NickName "" "Dymo Label Printer"
Attribute NickName "" "DYMO Label Printer"
PCFileName "dymo.ppd"
DriverType label
ModelNumber $DYMO_3x0
@@ -155,6 +155,9 @@ Version "2.3"
Resolution k 1 0 0 0 203dpi
*Resolution k 1 0 0 0 300dpi
*InputSlot 0 "Roll/Main Roll"
InputSlot 1 "Roll2/Second Roll (DUO/Twin Only)"
Darkness 0 Light
Darkness 1 Medium
*Darkness 2 Normal