Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to add the landscape option... Post 302274325 by NycUnxer on Wednesday 7th of January 2009 10:19:27 AM
Old 01-07-2009
How to add the landscape option...

to an existing print que?
 

9 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

How to add Win2000, Win Me option to Lilo menu?

Hi All, I have installed RH Linux 7.1, windows 2000 and windows ME in the same machine. There are two booting menu: Lilo: Linux Dos Dos : Windows2000 WindowsME If I want to use windowME, I need to boot lilo and choose dos and final choose windows ME. Have any... (3 Replies)
Discussion started by: wilsonchan1000
3 Replies

2. UNIX for Dummies Questions & Answers

lpr landscape

Hi Can anybody tell me how to configure my printer to handle lpr -o landscape? Or what I need to do to print a text file in landscape format using the lpr command. Thanks Monique (1 Reply)
Discussion started by: squeakywheel
1 Replies

3. Solaris

landscape printing

hi everybody , i was just wondering if anyone could tell me how to setup printing landscape from Solaris 9 . We have a hp laser jet 1300 printer connected to an hp jetdirect 1.75x print server. We have set it up to print Portrait but not landscape. Is there some sort of generic script I can use... (3 Replies)
Discussion started by: ppass
3 Replies

4. Shell Programming and Scripting

trying to add an option to view before executing?

I am very new to scripting. I have the following script: for i in `ls -1 | grep $1 | grep -v $2` do x=`echo $i | sed 's/\.New/\.Old/g'` echo mv $i DONE/$x done This is taking files from the directory I am in and changing the name from .New to .Old and then echoing the command to move... (2 Replies)
Discussion started by: llsmr777
2 Replies

5. Shell Programming and Scripting

How do I add the option to change the path in a menu?

How do I add the option to change the path in a menu? I have this script. The user chooses a number and had the option of doing something, looking for log files etc. There is a possibility they might want to look at a different path other than what I have given them such as... (2 Replies)
Discussion started by: taekwondo
2 Replies

6. Shell Programming and Scripting

Interactive script to give user option of what text to add

Hello all, I have created a script that will remove the first two lines of one text file (body.txt) and then add the text from a different text file (header.txt) directly to the beginning of the freshly modified body.txt file. It is as follows: #!/bin/bash ## This script will add a header... (2 Replies)
Discussion started by: marcozd
2 Replies

7. Ubuntu

Add Option To Right Menu

hey all, I already installed nautilus-actions now , I want to add "print path" script(option) to the right context menu!.. I did : http://img853.imageshack.us/img853/6973/59818245.png http://img847.imageshack.us/img847/8758/37217230.png the script print located in... (2 Replies)
Discussion started by: eawedat
2 Replies

8. Shell Programming and Scripting

Add option to fstab

I need as script (awk/sed?) to add noatime option to fstab. It should append ,noatime to whatever is in column 4 if noatime isn't already there, leaving comments alone. input: # /etc/fstab # Created by anaconda on Mon Oct 31 20:44:41 2011 # # Accessible filesystems, by reference, are... (5 Replies)
Discussion started by: pblumenthal
5 Replies

9. Shell Programming and Scripting

How to add a Y/N option?

I want to be able to add to any script that gives the option to continue or not, after the the first loop thru and to keep giving you the option after the user answers "Y" then does their thing then gives that option again once done. I've been seeing examples online on how to do it, but not for it... (2 Replies)
Discussion started by: bud1738
2 Replies
GROLBP(1)						      General Commands Manual							 GROLBP(1)

NAME
grolbp - groff driver for Canon CAPSL printers (LBP-4 and LBP-8 series laser printers). SYNOPSIS
grolpb [ -l ] [ --landscape ] [ -v ] [ --version ] [ -cn ] [ --copies=numcopies ] [ -ppaper_size ] [ --papersize=paper_size ] [ -oorientation ] [ --orientation=orientation ] [ -wwidth ] [ --linewidth=width ] [ -Fdir ] [ --fontdir=dir ] [ -h ] [ --help ] [ files... ] DESCRIPTION
grolbp is a driver for groff that produces output in CAPSL and VDM format suitable for Canon LBP-4 and LBP-8 printers. For compatibility with grolj4 there is an additional drawing command available: D'R dh dv' Draw a rule (i.e. a solid black rectangle), with one corner at the current position, and the diagonally opposite corner at the cur- rent position +(dh,dv). OPTIONS
Note that there can be whitespace between a one-letter option and its argument; on the other hand, there must be whitespace and/or an equal sign (`=') between a long-name option and its argument. -cnumcopies --copies=numcopies Print numcopies copies of each page. -l --landscape Print the document with a landscape orientation. -ppaper_size --papersize=paper_size Set the paper size to paper_size, which must be a valid paper size description as indicated in the section PAPER SIZES. -oorientation --orientation=orientation Print the document with orientation orientation, which must be `portrait' or `landscape'. -wwidth --linewidth=width Set the default line thickness to width thousandths of an em. If this option isn't specified, the line thickness defaults to 0.04 em. -v --version Print the version number. -Fdir --fontdir=dir Prepend directory dir/devname to the search path for font and device description files; name is the name of the device, usually lbp. -h --help Print a short help text. TYPEFACES
The driver supports the Dutch, Swiss and Swiss-Narrow scalable typefaces, each one in the Regular, Bold, Italic and Bold-Italic styles. Additionally, the Courier and Elite monospaced typefaces at the sizes 8 and 12 points (for Courier) resp. 8 and 10 points (for Elite) are supported, each one in the Regular, Bold and Italic styles. The following chart summarizes the font names you can use to access these fonts: +----------------+-----------+--------+----------+--------------+ | Typeface | Regular | Bold | Italic | Bold-Italic | +----------------+-----------+--------+----------+--------------+ | Dutch | TR | TB | TI | TBI | +----------------+-----------+--------+----------+--------------+ | Swiss | HR | HB | HI | HBI | +----------------+-----------+--------+----------+--------------+ | Swiss Narrow | HNR | HNB | HNI | HNBI | +----------------+-----------+--------+----------+--------------+ | Courier | CR | CB | CI | | +----------------+-----------+--------+----------+--------------+ | Elite | ER | EB | EI | | +----------------+-----------+--------+----------+--------------+ PAPER SIZES
The paper size can be set in the DESC file or with command line options to grolbp. If the paper size is specified both ways, the command line options take precedence over the contents of the DESC file (this applies to the page orientation too). See groff_font(1) how to set the paper dimensions in the DESC file. To set the paper size in the command line, add -p paper-size or --papersize=paper-size to the other grolbp options, where paper-size is in the same format as in the DESC file. If no paper size is specified in the DESC file or the command line, a default size of A4 is used. PAGE ORIENTATION
As with the page size, the orientation of the printed page (portrait or landscape) can be set in the DESC file or with command line op- tions. It is also case insensitive. To set the orientation in the DESC file, insert a line with the following content: orientation [portrait|landscape] Only the first valid orientation command in the DESC file is used. To set the page orientation with command line options you can use the -o or --orientation option with the same parameters (portrait or landscape) as in the DESC file. Or you can use the -l option to force the pages to be printed in landscape. FONT FILE FORMAT
In addition to the usual commands described in groff_font(5), grolbp provides the command lbpname which sets the font name sent to the printer when requesting this font. The syntax of this command is: lbpname printer_font_name o For bitmapped fonts, printer_font_name has the form N<base_fontname><font_style> base_fontname is the font name as it appears in the printers font listings without the first letter, up to (but not including) the font size. font_style can be one of the letters R, I, or B, indicating the font styles Roman, Italic and Bold respectively. For instance, if the printer's font listing A shows font `Nelite12I.ISO_USA', the corresponding entry in the font description file is lbpname NeliteI Note that you may need to modify grolbp to add support for new bitmapped fonts, since the available font names and font sizes of bitmapped fonts (as documented above) are hard-coded into the program. o For scalable fonts, printer_font_name is identical to the font name as it appears in the printer's font listing A. For instance, to select the `Swiss' font in bold style, which appears in the printer's font listing A as `Swiss-Bold', the required lbpname command line is lbpname Swiss-Bold The argument of lbpname is case sensitive. FILES
/usr/share/groff/1.19.2/font/devlbp/DESC Device description file. /usr/share/groff/1.19.2/font/devlbp/F Font description file for font F. /usr/share/groff/1.19.2/tmac/lbp.tmac Macros for use with grolbp. SEE ALSO
groff(1), troff(1), groff_out(5), groff_font(5), groff_char(7) Groff Version 1.19.2 25 September 2015 GROLBP(1)
All times are GMT -4. The time now is 03:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy