Lines Matching defs:orientation
40 static int orientation = -1; // orientation
161 if (orientation < 0)
162 orientation = 0; // Default orientation is portrait
175 lbpprintf("\033[%dp", (papersize | orientation));
177 lbpprintf("\033[%d;%d;%dp", (papersize | orientation),
247 if (orientation) // Landscape
589 // orientation command
590 if (strcasecmp(command, "orientation") == 0) {
592 if (orientation > 0)
596 "`orientation' command requires an argument");
599 orientation = 0;
602 orientation = 1;
605 "invalid argument to `orientation' command");
612 { "orientation", required_argument, NULL, 'o' },
629 " -o --orientation=[portrait|landscape]\n"
669 orientation = 1;
677 orientation = 0;
680 orientation = 1;
682 error("unknown orientation '%1'", optarg);