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
PAP(8)							      System Manager's Manual							    PAP(8)

NAME
pap - download files to or communicate interactively with an AppleTalk network connected printer SYNOPSIS
/usr/sbin/pap [ -d ] [ -p printer ] [ -s statusfile ] [ files ] DESCRIPTION
pap is used to connect and send files to an AppleTalk connected printer using the Apple Printer Access Protocol (PAP). pap can also be used to conduct an interactive session with a PostScript printer. When pap starts execution, it first tries obtain the status of the printer. It then tries to open a session with the printer using PAP, and then downloads the files to the printer. If no files are given on the command line, pap begins reading from standard input. If no printer is specified on the command line, pap looks for a file called .paprc in the current directory and reads it to obtain the name of a printer. The .paprc file should contain a single line of the form object:type@zone where each of object, :type, and @zone are optional. type and zone must be proceeded by `:' and `@' respectively. Lines the begin with a `#' are ignored. type and zone default to LaserWriter and the zone of the local host, respectively. Note that pap is designed to be useful as a communication filter for sending lpd(8) spooled print jobs to AppleTalk connected printers. See psf(8) for hints on how to use it this way. OPTIONS
-p printer Connect to the printer named printer (do not consult the .paprc file to find a printer name). The syntax for printer is the same as discussed above for the .paprc file. -s statusfile Update the file called statusfile to contain the most recent status message from the printer. pap gets the status from the printer when it is waiting for the printer to process input. The statusfile will contain a single line terminated with a newline. This is useful when pap is invoked by lpd(8) within lpd's spool directory. -c Take cuts. The PAP protocol specified a simple queuing procedure, such that the clients tell the printer how long they've been waiting to print. This option causes pap to lie about how long it's been waiting. -e Send stdout to stderr. This causes information that the printer returns to be recorded as error output for lpd. -E Don't wait for EOF from the printer. This option is useful for printers which don't implement PAP correctly. In a correct imple- mentation, the client side should wait for the printer to return EOF before closing the connection. Some clients don't wait, and hence some printers have related bugs in their implementation. -w Wait for the printer's status to contain the word "waiting" before sending the job. This is to defeat printer-side spool available on HP IV and V printers. FILES
.paprc file that contains printer name ~/.paprc secondary file to look in for printer name SEE ALSO
nbp(1), pap(4), lpd(8), papstatus(8), psf(8). BUGS
pap will send a quit command to exit interactive mode when it gets an end-of-file on a tty. If the user has already typed quit themselves, the quit that pap sends is spurious and will cause a PostScript error. The fix would be for pap to watch what the user types and look for quit, but this is impractical. netatalk 1.2 13 Dec 1991 PAP(8)
All times are GMT -4. The time now is 07:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy