cougars:~>sudo lpforms -l -f large
page length: 11i
page width: 17i
number of pages: 1
line pitch: 6
character pitch: 10
character set choice: any
ribbon color: any
Most of these are default settings. Upon attempting to set up
the print...
cougars:~>sudo lpadmin -p spd-bcss-large -v /dev/null -m netstandard \
? -o dest=spd-bcss:9100 -o protocol=tcp -o timeout=5 -I postscript -T PS \
? -M -f large
UX:lpadmin: INFO: "width" setting impossible.
UX:lpadmin: INFO: "length" setting impossible.
UX:lpadmin: INFO: The form "large" requires capabilities
not provided by the printer.
UX:lpadmin: WARNING: Shouldn't mount the form.
TO FIX: You may want to adjust the form
definition, if possible. Check that the
Terminfo database gives correct
attributes for the printer type.
The form is considered mounted anyway.
UX:lpadmin: WARNING: Form "large" is not listed as available
for the printer "spd-bcss-large".
TO FIX: Check the name; if wrong enter the
command again.
Processing continues.
Clearly these are warnings and I may still be able to print the
extra large paper. Not sure I want to try. I mostly think I've
missed a few steps having never used lpforms for anything previously.
I'm not even sure that's the correct thing to do.
What I'm trying to do is find the correct terminfo for this printer. Has
anyone had luck with this? I've spent the better part of today searching
Sun, Google and HP sites.
Thanks in advance.
--
Seth H Holmes
The PS entry in terminfo doesn't have the capabilities defined
to set the width and length in the printer. In fact, the ways
to set those in the Postscript format are impossible to encode
in a termcap entry.
Besides that, the netstandard interface does not support those
options. It doesn't error out when you use them on the lp
command line, but it doesn't do anything with them. See for
yourself - /etc/lp/model/netstandard is a shell script. You
can see the part of the script where it parses the value given
with the option, but it never uses the value.
What you really want to do instead is download HP's Jetdirect
software for Solaris and use it to set up the printer queue.
The HP software installs its own interface script which supports
options for selecting paper trays, setting width/length of the
printout, landscape mode, double-sided printing, etc.
The URLS for HP's Jetdirect/hppi software (as of Jan 2003):
The main link to download the software is:
http://www.hp.com/cposupport/nonjsnav/hpuxandsol28679.html
Obviously, you would choose the link for Solaris.
he instructions for installing the software after you've downloaded it
an be found at the bottom of this document:
http://www.hp.com/cgi-bin/cposupport/get_doc.pl?SNI=hpjdprinte18924&LC=networkin
g&Tfile=bpj07374
The instructions on how to configure a printer with the software can
be found in this document:
http://www.hp.com/cgi-bin/cposupport/get_doc.pl?SNI=hpjdprinte18924&LC=networkin
g&Tfile=bpj06284
Information on how to select different features (landscape, paper trays)
can be found in this document:
http://www.hp.com/cgi-bin/cposupport/get_doc.pl?SNI=hpjdprinte18924&LC=networkin
g&Tfile=bpj05459
The man command mentioned in that document is better described in
Sunsolve document 41016:
http://sunsolve.Sun.COM/pub-cgi/retrieve.pl?doc=finfodoc%2F41016
With Jetdirect, you'll probably find that your form definition is
useless.
-Greg
--
Do NOT reply via e-mail.
Reply in the newsgroup.
You know, I looked at this and as I was looking more and more, it
seemed as though it was just for printer management. I was about
to install it when I hedged. I'll have to grab it again and make
some use out of it.
> With Jetdirect, you'll probably find that your form definition is
> useless.
Got I hope so. I prefer easy. :)
Thanks.
--
Seth H Holmes
BTW: This is working out great.