Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

lp lpr command

Status
Not open for further replies.

240860

Technical User
Oct 8, 2001
2
FI
i am french and my english is not very good. I'm Sorry
whit AIX V4
i need to print a banner whit the command lp or lpr command
Are you on solution.
Thank you
@+
 
Hi,
use /etc/qconfig file to configure queuing, the variable for the header page is header :
header=never
header=always
header=group one header before each group of jobs for the same user.

lpr -T titre : print titre instead of the name of file.

Regards.

Fcail


 
Thank you for your first help
I'm Sorry my question is not complete
whit AIX V4
My printer is in self service (network printer.
I need to print a banner whit lp or lpr command
this banner must have a login name of a print user.
Are you on solution.
Thank you very well
@+
 
set header to group and you should have the username on the header page. it appears like the result of banner command.

Fcail
 
@+,

u can try it in a command line:

1. To display a banner at the workstation, enter:

banner SMILE!

2. To display more than one word on a line, enclose the text in quotation marks, as follows:

banner "Out to" Lunch

This displays Out to on one line and Lunch on the next.

From "man pages"

BUT IF YOU WANT TO PRINT IT:

'just add:

| lp -d <queue_name> for each sample 1 & 2


banner SMILE!| lp -d <queue_name>

banner &quot;Out to&quot; Lunch| lp -d <queue_name>

<queue_name = your printer queue_name>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top