9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello.
First happy new year to everybody.
I have a script that generate a text file ( /tmp/part_list.txt for example ).
This file can be edited using a kde graphical text editor like kate or kwrite
The file can be printed out from command line or within the text editor using the print... (5 Replies)
Discussion started by: jcdole
5 Replies
2. Shell Programming and Scripting
Hi,
We have 1lac records in source file and unix script will genarate around 1000 files.
From target location the files are taking for printing on physical papers.
the page size limitation : 256 Lines
Can you please tell me how to insert the page break in a flat file for printer. (5 Replies)
Discussion started by: koti_rama
5 Replies
3. AIX
We have configured Network printers in AIX 6.1. We are facing a Weird problem in Printing. While printing the user is getting a blank page after 2 pages.
Please let us know the cause of this issue and ways to rectify it.
If this is problem with banner/feeds how to view the default banner... (1 Reply)
Discussion started by: sugan_p
1 Replies
4. Windows & DOS: Issues & Discussions
We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Discussion started by: rohan69
5 Replies
5. HP-UX
hi every body
i used " lpstat -o" to show the printer jobs and i already canceld it by "cancel -e -f jobid"
but the problem i found when used " lpstat -o" again it said that job in progress i think because it in the buffer but i don't know how to clear the printer. (9 Replies)
Discussion started by: maxim42
9 Replies
6. Shell Programming and Scripting
I have a shell script that runs periodic upgrades on machines. I want to print certain echo commands from the shell script onto a webpage. What command in shell should I use for doing this. (1 Reply)
Discussion started by: lassimanji
1 Replies
7. UNIX for Dummies Questions & Answers
How do I get my linux login ID to print on seperator page on print jobs. Right now it prints " Remote User"
thanks
Jim (0 Replies)
Discussion started by: jdmowrer
0 Replies
8. UNIX for Dummies Questions & Answers
I have a problem where my printer formfeeds a blank page prior to printing a job. Anyone know where I can turn this off?
AIX O/S - RS-6000 (2 Replies)
Discussion started by: Docboyeee
2 Replies
9. Shell Programming and Scripting
I am trying to attach a company logo to the top of a laser report can anyone tell me how to attach a .jpg or .bmp file to a report?? (1 Reply)
Discussion started by: hughes0928
1 Replies
LP(1) General Commands Manual LP(1)
NAME
lp, lpd - copy a file to the line printer
SYNOPSIS
lp [file ...]
DESCRIPTION
Each file argument to lp is send to the line printer to be printed. Standard input is read and printed if there are no arguments. Lp exe-
cutes /usr/lib/lpd with each file as input. Lpd puts the file in /usr/spool/lpd and starts printing the jobs on /dev/lp unless another lpd
is already running. If lpd finds any character in the input that it doesn't know how to handle then it will print the rest of the file
without any special treatment. This also means that no formfeed is sent after the file has been printed to force out the page. Lpd simply
assumes that you know what you are doing. (dumb, eh?)
Note: Don't do anything with a file until it is printed, lpd only makes a copy of a file in the spool directory when it is not world read-
able. If it can be read then it is printed directly.
FILES
/usr/spool/lpd/jobXXXXX
Information about a job.
/usr/spool/lpd/tmpXXXXX
Associated file to be printed.
/etc/termcap The 'lp' entry describes the printer by the "li#" and "co#" fields. By default 66 lines (li#66), and 80 columns
(co#80).
SEE ALSO
lp(4), termcap(5), termcap(7).
BUGS
Not spooling a world readable file may not be such a smart idea.
A formfeed should be printed and the printer reset after a job full of escape codes, but this may cost paper.
No banner page.
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
LP(1)