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

« back to all changes in this revision

Viewing changes to prnt/hpijs/ljcolor.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:
330
330
 
331
331
    err = thePrinter->Send ((const BYTE *) res, strlen (res));
332
332
 
 
333
//  Binding directive
 
334
 
 
335
    strcpy (res, "@PJL SET BINDING=LONGEDGE\015\012");
 
336
 
 
337
#ifdef APDK_AUTODUPLEX
 
338
    if (thePrintContext->QueryDuplexMode () == DUPLEXMODE_TABLET)
 
339
    {
 
340
        strcpy (res, "@PJL SET BINDING=SHORTEDGE\015\012");
 
341
    }
 
342
#endif
 
343
 
 
344
    err = thePrinter->Send ((const BYTE *) res, strlen (res));
 
345
 
333
346
 
334
347
    err = thePrinter->Send ((const BYTE*) EnterLanguage, sizeof (EnterLanguage));
335
348
    ERRCHECK;