Visit Our UNIX and Linux User Community


lp -orelay


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users lp -orelay
# 1  
Old 09-03-2002
lp -orelay

Hi,
This is my question: The banner printing is active in our TEST and PRODUCTION instances and we need to suppress it only for some reports. That's why I'm using the following instruction that works fine in TEST but not in PRODUCTION:

$ lp -orelay -d$printer $file_name

I'm not an expert in Unix, so I don't even know what the instruction "l -orelay" does. Can somebody help me? What this instruction does? Where should I start looking to find the solution?

THANKS!
Violeta
# 2  
Old 09-04-2002
man lp
# 3  
Old 09-04-2002
What OS is this? (and version)

Not Solaris since it does not have the -orelay option. The -o is an option. You can check the man page for lp to possibly find out what the relay option does.
$ man lp

I also checked HP-UX but it showed that options were printer specific in /etc/lp/interfaces (and none were set up on my server).

Check your TEST versus Production system once you know what the options are or where to find them. There is a difference between them (printer interface files) which is causing the banner to print on one and not the other.

Previous Thread | Next Thread
Test Your Knowledge in Computers #727
Difficulty: Medium
Radia Perlman Invented the Spanning Tree Protocol (STP).
True or False?

Featured Tech Videos