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
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
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
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)
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
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
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
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
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
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
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
LEARN ABOUT SUSE
xplsprinters
xplsprinters(1x) xplsprinters(1x)
NAME
xplsprinters - shows a list of Xprint printers and it's attributes
SYNOPSIS
xplsprinters [-printer printername] [-d] [-l] [-dump] [-h]
DESCRIPTION
xplsprinters is a utility for Xprint, the printing system for the X Window system. It can deliver both a list of printers and attributes
supported for a specific list of printers.
OPTIONS
-printer printername
printer to use
-dump dump all available printer attributes
-h | -?
print usage
-d print description for each printer
-l list detailed printer attribute information
ENVIRONMENT
XPSERVERLIST
${XPSERVERLIST} must be set, identifying the available Xprint servers. See Xprint(7) for more details.
EXAMPLES
List all available "X Print Specifiers" (printer names)
% xplsprinters
would print:
printer: hplaserjet001@puck:33
printer: hpcolor4550_004@puck:33
printer: laser19@meridian:19
printer: xp_ps_spooldir_tmp_Xprintjobs@meridian:19
printer: xp_pdf_spooldir_tmp_Xprintjobs@meridian:19
Get information about the supported attributes of printer "ps002":
% xplsprinters -printer ps002 -l
would print:
printer: ps002@castor:18
description=
model-identifier=HPDJ1600C
default-medium=iso-a4
default-input-tray=
medium-source-sizes-supported=iso-a4 false 6.35 203.65 6.35 290.65
medium-source-sizes-supported=na-letter false 6.35 209.55 6.35 273.05
default-printer-resolution=300
resolution=300
default_orientation=
orientation=portrait
orientation=landscape
default_plex=
plex=simplex
NOTES
The list of builtin fonts supported by a printer can be obtained using the xlsfonts command.
SEE ALSO
Xprint(7), X11(7), xprehashprinterlist(1x), xphelloworld(1x), xpxmhelloworld(1x), xpawhelloworld(1x), xpxthelloworld(1x), xpsimplehel-
loworld(1x), xlsfonts(1x), Xserver(1x), Xprt(1x), libXp(3x), libXprintUtils(3x), libXprintAppUtils(3x), XmPrintShell(3x), Xaw-
PrintShell(3x), Xprint FAQ (http://xprint.mozdev.org/docs/Xprint_FAQ.html), Xprint main site (http://xprint.mozdev.org/)
8 October 2004 xplsprinters(1x)