1847474 Members
2835 Online
110265 Solutions
New Discussion

Re: /usr/bin/sh:

 
Jeff Hagstrom
Regular Advisor

/usr/bin/sh:

At the top of some reports, this message is printing. Does anybody know why and how?
6 REPLIES 6
John Poff
Honored Contributor

Re: /usr/bin/sh:

Hi,

Maybe your report code is doing something like this:?

echo $SHELL

JP
harry d brown jr
Honored Contributor

Re: /usr/bin/sh:


To the same printer or to any? It could be a printer interface issue.

live free or die
harry
Live Free or Die
James R. Ferguson
Acclaimed Contributor

Re: /usr/bin/sh:

Hi Jeff:

To what reports do you refer?

...JRF...
MANOJ SRIVASTAVA
Honored Contributor

Re: /usr/bin/sh:

I think this the o/p line from the interface file of the printer defined /etc/lp/ineterface/printername (which also gets printed if u are not using the correct file like if ua re using raw or dumb model )while defining the printer.


Try using with /ithout banner options .



Manoj Srivastava
Jeff Hagstrom
Regular Advisor

Re: /usr/bin/sh:

The reports are out of our companies software system. It's not happening on the print of the report. What I found out is that the report is generated to a file first and then printed. It is also not happening to all of the reports/files.
Bill Hassell
Honored Contributor

Re: /usr/bin/sh:

No simple answer to this one as the reason is wrapped up in the software used to produce the reports. The software includes the generation as well as the printing technique. Start by looking at the actual file produced by the software. Is it OK? If not, back to the developers of the code to fix it.

If the file is OK but the printing is not correct, you'll need to define exactly how the file is being printed. Is it a script or series of scripts? You'll need to trace them to find the error. It definitely looks like a scripting error.


Bill Hassell, sysadmin