CHANGES IN CUPS V1.3.1
+ - The TBCP and BCP port monitors did not handle the trailing
+ CTRL-D in some PostScript output properly.
- Fixed the localization instructions and German template for
the "Find New Printers" button (STR #2478)
- The web interface did not work with the Chinese localization
*
* Contents:
*
+ * main() - Main entry...
+ * psgets() - Get a line from a file.
+ * pswrite() - Write data from a file.
*/
/*
for (count = bytes; count > 0; count --, buf ++)
switch (*buf)
{
+ case 0x04 : /* CTRL-D */
+ if (bytes == 1)
+ {
+ /*
+ * Don't quote the last CTRL-D...
+ */
+
+ putchar(0x04);
+ break;
+ }
+
case 0x01 : /* CTRL-A */
case 0x03 : /* CTRL-C */
- case 0x04 : /* CTRL-D */
case 0x05 : /* CTRL-E */
case 0x11 : /* CTRL-Q */
case 0x13 : /* CTRL-S */
else
{
/*
- * No PJL stuff, add it...
+ * No PJL stuff, just add the UEL...
*/
- puts("\033%-12345X@PJL");
- puts("@PJL ENTER LANGUAGE = POSTSCRIPT");
+ fputs("\033%-12345X", stdout);
}
/*
for (count = bytes; count > 0; count --, buf ++)
switch (*buf)
{
+ case 0x04 : /* CTRL-D */
+ if (bytes == 1)
+ {
+ /*
+ * Don't quote the last CTRL-D...
+ */
+
+ putchar(0x04);
+ break;
+ }
+
case 0x01 : /* CTRL-A */
case 0x03 : /* CTRL-C */
- case 0x04 : /* CTRL-D */
case 0x05 : /* CTRL-E */
case 0x11 : /* CTRL-Q */
case 0x13 : /* CTRL-S */