\r
lComp = ReduceColor(ucCol, &ucCommand[9], 5);//,1016);\r
lCommandSize += 10;\r
+\r
+ if (color=='y') info("Download Yellow color");\r
+ else if (color=='m') info("Download Magenta color");\r
+ else if (color=='c') info("Download Cyan color");\r
+\r
numwritten = fwrite(ucCommand, sizeof(unsigned char), lCommandSize, stdout);\r
if (numwritten != lCommandSize) {\r
fatal("DP32NC Error: Fails printf %d... \n", numwritten);\r
//fprintf(stderr, "**************** EVOLIS DP64NC taille apres compression %d... \n",lComp);\r
strncpy(&ucCommand[lCommandSize + 9], "\015", 1);\r
lCommandSize += 10;\r
+\r
+ if (color=='y') info("Download Yellow color");\r
+ else if (color=='m') info("Download Magenta color");\r
+ else if (color=='c') info("Download Cyan color");\r
+\r
+\r
numwritten = fwrite(ucCommand, sizeof(unsigned char), lCommandSize, stdout);\r
if (numwritten != lCommandSize)\r
{\r
lComp = ReduceColor(ucCol, &ucCommand[10], 7);//,1016);\r
strncpy(&ucCommand[lCommandSize + 10], "\015", 1);\r
lCommandSize += 11;\r
+\r
+ if (color=='y') info("Download Yellow color");\r
+ else if (color=='m') info("Download Magenta color");\r
+ else if (color=='c') info("Download Cyan color");\r
+\r
numwritten = fwrite(ucCommand, sizeof(unsigned char), lCommandSize, stdout);\r
if (numwritten != lCommandSize)\r
{\r
lComp = ReduceBlack(ucCol, &ucCommand[8],1016);\r
strncpy(&ucCommand[lCommandSize + 8], "\015", 1);\r
lCommandSize += 9;\r
+\r
+ info("Download Black");\r
numwritten = fwrite(ucCommand, sizeof(unsigned char), lCommandSize, stdout);\r
if (numwritten != lCommandSize)\r
{\r
strcpy(ucCommand, "\033Db;o;2;");\r
strncpy(&ucCommand[lCommandSize + 8], "\015", 1);\r
lCommandSize += 9;\r
+ info("Download varnish - statut : no varnish");\r
numwritten = fwrite(ucCommand, sizeof(unsigned char), lCommandSize, stdout);\r
if (numwritten != lCommandSize)\r
{\r
strcpy(ucCommand, "\033Db;o;2;");\r
strncpy(&ucCommand[lCommandSize + 8], "\015", 1);\r
lCommandSize += 9;\r
+ info("Download varnish - statut : full varnish");\r
numwritten = fwrite(ucCommand, sizeof(unsigned char), lCommandSize, stdout);\r
if (numwritten != lCommandSize)\r
{\r
\r
strncpy(&ucCommand[lCommandSize + 8], "\015", 1);\r
lCommandSize += 9;\r
+ info("Download varnish - statut : cover overlay");\r
numwritten = fwrite(ucCommand, sizeof(unsigned char), lCommandSize, stdout);\r
if (numwritten != lCommandSize)\r
{\r