Sponsored Content
Top Forums UNIX for Advanced & Expert Users Directory where spooled file is stored Post 30404 by babulilly on Monday 21st of October 2002 07:25:22 PM
Old 10-21-2002
Directory where spooled file is stored

I am spooling a text file to printer under Sun Solaris m/c (solaris 7). I want to know which directory the spooled text file is stored before it goes to printer.

B'se my main problem is to find the escape sequence from the
text file to get landscape orientation. Now when ever I spool a file
it prints portriate orientation. So I want to check what is the escape sequence it adds from word when I choose landscape orientation. If anyone guide me, it will be appreciated.

Thanks for your help

Regars
Prabahar
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Need to capture spooled print files

Hi. I run hpux 10.20. My problem is that I need to save or hold print spool files. I print using lp, and the printers are connected to HP jetdirect print servers. Any thoughts would be appreciated. Stephen Roberts (1 Reply)
Discussion started by: serware
1 Replies

2. UNIX for Dummies Questions & Answers

spooled file getting distorted when sending through unix mail

Hi Folks, I'm spooling a file through sqlplus and sending using mailx but the output got distorted in MS-outlook. Thanks in advance (2 Replies)
Discussion started by: chgopi
2 Replies

3. UNIX for Advanced & Expert Users

Where is the crontab file stored

i want find the place where the crontab file is stored i dont mean in /etc/cron. when we list crontab -l it will list the schedule jobs , does this content is stored in some directory as a file.. Please clarify (3 Replies)
Discussion started by: rajbptl
3 Replies

4. OS X (Apple)

Where are package contents stored for a file, or why aren't they visible w/o right clicking the file

I was wondering about the "Show Package Contents" option in OS X. I have a keynote file that I'm looking at. Exactly where are these contents or its directory stored, because they aren't visible in the Finder window, unless I obviously right click and choose to view them. And I don't think I can... (2 Replies)
Discussion started by: Straitsfan
2 Replies

5. Shell Programming and Scripting

Extract rows from file based on row numbers stored in another file

Hi All, I have a file which is like this: rows.dat 1 2 3 4 5 6 3 4 5 6 7 8 7 8 9 0 4 3 2 3 4 5 6 7 1 2 3 4 5 6 I have another file with numbers like these (numbers.txt): 1 3 4 5 I want to read numbers.txt file line by line. The extract the row from rows.dat based on the... (3 Replies)
Discussion started by: shoaibjameel123
3 Replies

6. Shell Programming and Scripting

Get filesize and checksum of spooled file in a log file ...

Hi All, I have spooled some data in a file (a.dat, b.dat etc..) and after that I want to get the size and checksum of spooled file (a.dat, b.dat etc..) in a log file(file_info.log). By the way I dont want lost the previous output file info(Append data). View of log file that I want to... (5 Replies)
Discussion started by: ce_emre21
5 Replies

7. Shell Programming and Scripting

In Outlook spooled file data is not getting displayed properly

I am fetching a database table in spool file and send that details as a email. The Spooled file content is properly being displayed in UNIX. See Example below : ID|FILENAME |ABCDEF_DT |PROCESSED_DT |STATUS... (4 Replies)
Discussion started by: Ravi_007
4 Replies

8. Shell Programming and Scripting

Want to Insert few lines which are stored in some file before a pattern in another file

Hello, I have few lines to be inserted in file_lines_to_insert. In another file final_file, I have to add lines from above file file_lines_to_insert before a particular pattern. e.g. $ cat file_lines_to_insert => contents are abc def lkj In another file final_file, before a... (6 Replies)
Discussion started by: nehashine
6 Replies

9. Shell Programming and Scripting

Eliminating words from a file through ngrams stored in another file

Hello, I have a large data file which contains a huge amount of garbage i.e. words which do not exist in the language. An example will make this clear: kpaware nlupset rrrbring In other words these words are invalid in English and constitute garbage in the data. I have identified such... (2 Replies)
Discussion started by: gimley
2 Replies

10. Shell Programming and Scripting

Search if file exists for a file pattern stored in array

Hi experts, I have two arrays one has the file paths to be searched in , and the other has the files to be serached.For eg searchfile.dat will have abc303 xyz123 i have to search for files that could be abc303*.dat or for that matter any extension . abc303*.dat.gz The following code... (2 Replies)
Discussion started by: 100bees
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(5) 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. ENVIRONMENT
GROFF_FONT_PATH A list of directories in which to search for the devname directory in addition to the default ones. See troff(1) and groff_font(5) for more details. FILES
/usr/share/groff/1.22.2/font/devlbp/DESC Device description file. /usr/share/groff/1.22.2/font/devlbp/F Font description file for font F. /usr/share/groff/1.22.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.22.2 9 June 2014 GROLBP(1)
All times are GMT -4. The time now is 01:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy