~ubuntu-branches/ubuntu/saucy/hplip/saucy-proposed

« back to all changes in this revision

Viewing changes to prnt/hpijs/ljmono.cpp

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2012-05-26 11:20:39 UTC
  • mfrom: (1.5.6) (31.1.3 precise)
  • Revision ID: package-import@ubuntu.com-20120526112039-bevxczegxnbyr5m7
Tags: 3.12.4-1
* New upstream release
* Switch to source/format 3.0 (quilt) - drop dpatch
* Refreshed debian/patches
* dh_autoreconf debian/autogen.sh & set local-options single-debian-patch
* Update to debian/compat -> 9
* Fix "hardened build flags" patch from Moritz - thanks (Closes: #667828)
* Fix "duplex descriptor uninitialized" patch from Matej (Closes: #583273)
* Fix "please migrate to kde-runtime" patch from Pino (Closes: #666544)

Show diffs side-by-side

added added

removed removed

Lines of Context:
212
212
    err = thePrinter->Send ((const BYTE *) res, strlen (res));
213
213
    ERRCHECK;
214
214
 
 
215
//  Binding directive
 
216
 
 
217
    strcpy (res, "@PJL SET BINDING=LONGEDGE\015\012");
 
218
 
 
219
#ifdef APDK_AUTODUPLEX
 
220
    if (thePrintContext->QueryDuplexMode () == DUPLEXMODE_TABLET)
 
221
    {
 
222
        strcpy (res, "@PJL SET BINDING=SHORTEDGE\015\012");
 
223
    }
 
224
#endif
 
225
    err = thePrinter->Send ((const BYTE *) res, strlen (res));
 
226
    ERRCHECK;
 
227
 
215
228
    err = thePrinter->Send ((const BYTE*) EnterLanguage, sizeof (EnterLanguage));
216
229
    ERRCHECK;
217
230