--- prnt/hpijs/ljmono.cpp.3000cn 2005-05-09 16:08:29.000000000 -0400
+++ prnt/hpijs/ljmono.cpp 2005-07-18 17:32:21.000000000 -0400
@@ -237,15 +237,14 @@
// Default is single sided printing
- strcpy (res, "\033&l0S");
#ifdef APDK_AUTODUPLEX
DUPLEXMODE eDupMode = thePrintContext->QueryDuplexMode ();
if (eDupMode != DUPLEXMODE_NONE)
{
sprintf (res, "\033&l%dS", (eDupMode == DUPLEXMODE_BOOK) ? 1 : 2);
+ err = thePrinter->Send ((const BYTE *) res, strlen (res));
}
#endif
- err = thePrinter->Send ((const BYTE *) res, strlen (res));
ERRCHECK;
/*
--- prnt/hpijs/ljcolor.cpp.3000cn 2005-05-09 16:08:29.000000000 -0400
+++ prnt/hpijs/ljcolor.cpp 2005-07-18 17:32:34.000000000 -0400
@@ -356,16 +356,14 @@
// Default is single sided printing
- strcpy (res, "\033&l0S");
-
#ifdef APDK_AUTODUPLEX
DUPLEXMODE eDupMode = thePrintContext->QueryDuplexMode ();
if (eDupMode != DUPLEXMODE_NONE)
{
sprintf (res, "\033&l%dS", (eDupMode == DUPLEXMODE_BOOK) ? 1 : 2);
+ err = thePrinter->Send ((const BYTE *) res, strlen (res));
}
#endif
- err = thePrinter->Send ((const BYTE *) res, strlen (res));
ERRCHECK;
/*