"Michael Kraemer @ home" <
[email protected]> writes:
John D Groenveld wrote:
In article <[email protected]>,
Michael Kraemer @ home <[email protected]> wrote:
Apparently the Solaris 10 lp prints three banner pages by default.
How can I reduce this to just one page, i.e. the middle one?
I know there's the "nobanner" option, but this switches off all banners. >>>I *want* a banner, but just the one which makes sense to me.
I don't recall that bug in S10 but its been years.
Do you get the extra banners only when printing from your application
or also when using lp(1)?
What is your printer configuration?
I used
lpadmin -p xx -v /dev/null -m netstandard -o dest=xx -T PS -I postscript enable xx
accept xx
to define the printer and
lp -d xx file.ps
to print a PostScript file.
I get the one-page ps file plus three pages of banner.
I only want one specific page of banner (the middle one).
Why do you want the middle page of the banner rather than the first
or last? What do the three pages of banner look like? Is the
banner printed *before* your ps file? Are you certain that your
ps file is only one page? Is the ps file itself printed correctly?
What does "echo hello | lp -d xx" print?
I wonder if the contents of the banner are defined by a file
somewhere. Running lp under truss or strace should tell you what
files lp is opening.
--
Keith Thompson (The_Other_Keith)
[email protected]
Working, but not speaking, for Philips Healthcare
void Void(void) { Void(); } /* The recursive call of the void */
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)