~ubuntu-branches/ubuntu/raring/hplip/raring

« back to all changes in this revision

Viewing changes to prnt/hpijs/ljcolor.cpp

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2012-10-06 15:03:44 UTC
  • mfrom: (1.6.1) (20.1.16 quantal)
  • Revision ID: package-import@ubuntu.com-20121006150344-2p3xz26br0t3hu2q
Tags: 3.12.10-1
* New upstream release
  - Fixes "Network scanning fails (Closes: #683033)
* quilt refresh hplip-syslog-fix-debug-messages-to-error.dpatch
* Fix "error in clean build env" updated debian/rules (Closes: #687129)

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;