lp commands take a while to execute

  • Follow


Lpadmin, lpstat and lp take a while to run, this is on a print client
which gives it's print request to a print server
0
Reply andy.neirman (9) 9/7/2010 9:58:17 PM

Andy Neirman wrote:
> Lpadmin, lpstat and lp take a while to run, this is on a print client
> which gives it's print request to a print server

Lpstat runs fast on the print server
0
Reply Andy 9/7/2010 10:47:03 PM


In article <02007672-6d30-4274-84da-0c221cae8d4e@m1g2000yqo.googlegroups.com>,
Andy Neirman  <andy.neirman@gmail.com> wrote:
>Lpadmin, lpstat and lp take a while to run, this is on a print client
>which gives it's print request to a print server

On both systems:
$ uname -srv
$ grep printers /etc/nsswitch.conf

John
groenveld@acm.org
0
Reply groenvel 9/7/2010 11:07:30 PM

On Sep 7, 6:07=A0pm, groen...@cse.psu.edu (John D Groenveld) wrote:
> In article <02007672-6d30-4274-84da-0c221cae8...@m1g2000yqo.googlegroups.=
com>,
> Andy Neirman =A0<andy.neir...@gmail.com> wrote:
>
> >Lpadmin, lpstat and lp take a while to run, this is on a print client
> >which gives it's print request to a print server
>
> On both systems:
> $ uname -srv
> $ grep printers /etc/nsswitch.conf
>
> John
> groenv...@acm.org

I will give the output of those two commands tomorrow. Here is what I
did. I was helping Darius Dolecki with his printer problem when the
printer HP 5si was printing two blank pages. We installed the HP
package SOLe134.PKG. I installed this package on the print server,
however I got a message saying lp services unavailable, so I used
lpadmin to delete the printer I had created by the HP package. I
tested the printing from the print server and everything looks good.

No changes were made on the print client except - a printer was
created to talk to the HP package created printer on the server, later
that printer was deleted and lpadmin was used to create printers,
however lpadmin takes a long time to execute, lpstat takes a long time
and so does lp. All these commands work on the print client but they
take a long time.

Things were working before I installed the HP print package on the
print server and no changes were made by me to the /etc/nsswitch.conf
file.

I restarted the print server service, restarted all other services:
# svcs -a | grep print
online         Sep_07   svc:/application/print/ppd-cache-
update:default
online         Sep_07   svc:/application/print/server:default
online         Sep_07   svc:/application/cde-printinfo:default
online         Sep_07   svc:/application/print/rfc1179:default
online    Sep_07   svc:/application/print/ipp-listener:default

One thing that did happen after installing the HP software was errors
in the ipp-listner service. I will make another post regarding that.

Please help me fix this problem of lp commands taking a long time to
execute.

0
Reply Andy 9/8/2010 12:43:54 AM

Andy Neirman wrote:
> Lpadmin, lpstat and lp take a while to run, this is on a print client
> which gives it's print request to a print server

How long is "a while"?  If you are waiting fifteen minutes for a reply, 
I believe you are entitled to complain.  If you are waiting twenty or 
thirty seconds for a response you might consider faster hardware, or 
check what else is running, or both.
0
Reply Richard 9/8/2010 2:32:50 AM

Andy Neirman wrote:
> On Sep 7, 6:07 pm, groen...@cse.psu.edu (John D Groenveld) wrote:
>> In article <02007672-6d30-4274-84da-0c221cae8...@m1g2000yqo.googlegroups.com>,
>> Andy Neirman  <andy.neir...@gmail.com> wrote:
>>
>>> Lpadmin, lpstat and lp take a while to run, this is on a print client
>>> which gives it's print request to a print server
>> On both systems:
>> $ uname -srv
>> $ grep printers /etc/nsswitch.conf
>>
>> John
>> groenv...@acm.org
> 
> I will give the output of those two commands tomorrow. Here is what I
> did. I was helping Darius Dolecki with his printer problem when the
> printer HP 5si was printing two blank pages. We installed the HP
> package SOLe134.PKG. I installed this package on the print server,
> however I got a message saying lp services unavailable, so I used
> lpadmin to delete the printer I had created by the HP package. I
> tested the printing from the print server and everything looks good.
> 
> No changes were made on the print client except - a printer was
> created to talk to the HP package created printer on the server, later
> that printer was deleted and lpadmin was used to create printers,
> however lpadmin takes a long time to execute, lpstat takes a long time
> and so does lp. All these commands work on the print client but they
> take a long time.

How long is "a long time"?

If it's 10-15 seconds, learn to live with it!

If it's 15 minutes, you have something to complain about.

<snip>
0
Reply Richard 9/8/2010 2:42:06 AM


Richard B. Gilbert wrote:
> Andy Neirman wrote:
> > On Sep 7, 6:07 pm, groen...@cse.psu.edu (John D Groenveld) wrote:
> >> In article <02007672-6d30-4274-84da-0c221cae8...@m1g2000yqo.googlegroups.com>,
> >> Andy Neirman  <andy.neir...@gmail.com> wrote:
> >>
> >>> Lpadmin, lpstat and lp take a while to run, this is on a print client
> >>> which gives it's print request to a print server
> >> On both systems:
> >> $ uname -srv
> >> $ grep printers /etc/nsswitch.conf
> >>
> >> John
> >> groenv...@acm.org
> >
> > I will give the output of those two commands tomorrow. Here is what I
> > did. I was helping Darius Dolecki with his printer problem when the
> > printer HP 5si was printing two blank pages. We installed the HP
> > package SOLe134.PKG. I installed this package on the print server,
> > however I got a message saying lp services unavailable, so I used
> > lpadmin to delete the printer I had created by the HP package. I
> > tested the printing from the print server and everything looks good.
> >
> > No changes were made on the print client except - a printer was
> > created to talk to the HP package created printer on the server, later
> > that printer was deleted and lpadmin was used to create printers,
> > however lpadmin takes a long time to execute, lpstat takes a long time
> > and so does lp. All these commands work on the print client but they
> > take a long time.
>
> How long is "a long time"?
>
> If it's 10-15 seconds, learn to live with it!
>
> If it's 15 minutes, you have something to complain about.
>
> <snip>
About 10 minutes
0
Reply Andy 9/8/2010 3:15:42 AM

Andy Neirman wrote:
> 
> Richard B. Gilbert wrote:
>> Andy Neirman wrote:
>>> On Sep 7, 6:07 pm, groen...@cse.psu.edu (John D Groenveld) wrote:
>>>> In article <02007672-6d30-4274-84da-0c221cae8...@m1g2000yqo.googlegroups.com>,
>>>> Andy Neirman  <andy.neir...@gmail.com> wrote:
>>>>
>>>>> Lpadmin, lpstat and lp take a while to run, this is on a print client
>>>>> which gives it's print request to a print server
>>>> On both systems:
>>>> $ uname -srv
>>>> $ grep printers /etc/nsswitch.conf
>>>>
>>>> John
>>>> groenv...@acm.org
>>> I will give the output of those two commands tomorrow. Here is what I
>>> did. I was helping Darius Dolecki with his printer problem when the
>>> printer HP 5si was printing two blank pages. We installed the HP
>>> package SOLe134.PKG. I installed this package on the print server,
>>> however I got a message saying lp services unavailable, so I used
>>> lpadmin to delete the printer I had created by the HP package. I
>>> tested the printing from the print server and everything looks good.
>>>
>>> No changes were made on the print client except - a printer was
>>> created to talk to the HP package created printer on the server, later
>>> that printer was deleted and lpadmin was used to create printers,
>>> however lpadmin takes a long time to execute, lpstat takes a long time
>>> and so does lp. All these commands work on the print client but they
>>> take a long time.
>> How long is "a long time"?
>>
>> If it's 10-15 seconds, learn to live with it!
>>
>> If it's 15 minutes, you have something to complain about.
>>
>> <snip>
> About 10 minutes

That does seem a little unreasonable!!!

Unix printing can become a nightmare.  I used an HP printer with a 
JetDirect card and got off fairly easily.  This was using Solaris 10 on 
a Sun Ultra 10 workstation.  I was asked for the make and model of my 
printer (H-P LaserJet 4000 with JetDirect card installed).  S10 just 
configured the printer and it worked.

ISTR some titanic struggles with earlier versions of Solaris (V8) and HP 
printers.  Lots of arcane commands, mysterious messages. . . .  This was 
at least ten years ago and things have changed since then.
0
Reply Richard 9/8/2010 4:02:28 AM


John D Groenveld wrote:
> In article <02007672-6d30-4274-84da-0c221cae8d4e@m1g2000yqo.googlegroups.com>,
> Andy Neirman  <andy.neirman@gmail.com> wrote:
> >Lpadmin, lpstat and lp take a while to run, this is on a print client
> >which gives it's print request to a print server
>
> On both systems:
> $ uname -srv
> $ grep printers /etc/nsswitch.conf
>
> John
> groenveld@acm.org

Grep printers /etc/nsswitch.conf
Printers: user files


0
Reply Andy 9/8/2010 12:46:38 PM

In article <f8eec4ef-51ee-49ed-9297-e6a9d219f127@t2g2000yqe.googlegroups.com>,
Andy Neirman  <andy.neirman@gmail.com> wrote:
>> On both systems:
>> $ uname -srv
>> $ grep printers /etc/nsswitch.conf
>
>Grep printers /etc/nsswitch.conf
>Printers: user files

And the uname(1) ?

And while you're at it:
$ cat /etc/release

John
groenveld@acm.org
0
Reply groenvel 9/8/2010 12:55:03 PM

John D Groenveld wrote:
> In article <f8eec4ef-51ee-49ed-9297-e6a9d219f127@t2g2000yqe.googlegroups.com>,
> Andy Neirman  <andy.neirman@gmail.com> wrote:
> >> On both systems:
> >> $ uname -srv
> >> $ grep printers /etc/nsswitch.conf
> >
> >Grep printers /etc/nsswitch.conf
> >Printers: user files
>
> And the uname(1) ?
>
> And while you're at it:
> $ cat /etc/release
>
> John
> groenveld@acm.org

Both systems have the same output for uname -srv
SunOS 5.10 Generic_141444-09

Both systems have the same /etc/release
Solaris 10 10/09 s10s_u8wos_08a SPARC
Copyright 2009 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Assembled 16 September 2009

I deleted the printers on the print server(global zone) and then
reinstalled them, now the lp commands work fast on the print client.

I have to enable the ipp listner service on the print server and I am
concerned that it my just die, please help in that regard.
0
Reply Andy 9/8/2010 2:14:32 PM

In article <d8b808bc-61ee-4d87-b146-cd7f8c4f2190@g17g2000yqe.googlegroups.com>,
Andy Neirman  <andy.neirman@gmail.com> wrote:
>Both systems have the same output for uname -srv
>SunOS 5.10 Generic_141444-09

That's a pretty old patch.
You're probably missing a slew of recommended and security patches
on your systems.
See Martin Paul's PCA for help determining what you're missing:
<URL:http://www.par.univie.ac.at/solaris/pca/>

>I have to enable the ipp listner service on the print server and I am
>concerned that it my just die, please help in that regard.

Why do you have to enable the IPP listener?

Is it needed by your application?

Is your application running on a Solaris 2.6 system
or container?

John
groenveld@acm.org
0
Reply groenvel 9/8/2010 3:15:05 PM


John D Groenveld wrote:
> In article <d8b808bc-61ee-4d87-b146-cd7f8c4f2190@g17g2000yqe.googlegroups.com>,
> Andy Neirman  <andy.neirman@gmail.com> wrote:
> >Both systems have the same output for uname -srv
> >SunOS 5.10 Generic_141444-09
>
> That's a pretty old patch.
> You're probably missing a slew of recommended and security patches
> on your systems.
> See Martin Paul's PCA for help determining what you're missing:
> <URL:http://www.par.univie.ac.at/solaris/pca/>
>
> >I have to enable the ipp listner service on the print server and I am
> >concerned that it my just die, please help in that regard.
>
> Why do you have to enable the IPP listener?
>
> Is it needed by your application?
>
> Is your application running on a Solaris 2.6 system
> or container?
>
> John
> groenveld@acm.org

I have a print client - it is a Solaris 10 zone it gives print
requests to a Solaris 10 global zone . I found that the IPP has to be
enabled for communication between the print client and print server -
am I wrong ? Io will try disabling the IPP on the server and on the
client and check.

I don't know what you mean by application - we submit print jobs using
lp
0
Reply Andy 9/8/2010 3:45:10 PM

In article <d380ffee-196f-424b-9964-ccd0454f389e@l6g2000yqb.googlegroups.com>,
Andy Neirman  <andy.neirman@gmail.com> wrote:
>requests to a Solaris 10 global zone . I found that the IPP has to be
>enabled for communication between the print client and print server -
>am I wrong ? Io will try disabling the IPP on the server and on the
>client and check.

Yes. See Juanita Heieck's BigAdmin article on Solaris 10 printing:
<URL:http://www.sun.com/bigadmin/features/articles/using_ipp.jsp>

You can configure the global zone to listen to RFC1179 (BSD LPD)
requests.

By default the RFC1179 listener may be configured to not accept 
requests from the network.
See Glenn Brunnete's blog posting on Solaris 10 secure by default:
<URL:http://blogs.sun.com/gbrunett/?entry=solaris_secure_by_default_part>

>I don't know what you mean by application - we submit print jobs using
>lp

Definitely doesn't require IPP.

John
groenveld@acm.org
0
Reply groenvel 9/8/2010 4:10:20 PM

John D Groenveld wrote:
> In article <d380ffee-196f-424b-9964-ccd0454f389e@l6g2000yqb.googlegroups.com>,
> Andy Neirman  <andy.neirman@gmail.com> wrote:
> >requests to a Solaris 10 global zone . I found that the IPP has to be
> >enabled for communication between the print client and print server -
> >am I wrong ? Io will try disabling the IPP on the server and on the
> >client and check.
>
> Yes. See Juanita Heieck's BigAdmin article on Solaris 10 printing:
> <URL:http://www.sun.com/bigadmin/features/articles/using_ipp.jsp>
>
> You can configure the global zone to listen to RFC1179 (BSD LPD)
> requests.
>
> By default the RFC1179 listener may be configured to not accept
> requests from the network.
> See Glenn Brunnete's blog posting on Solaris 10 secure by default:
> <URL:http://blogs.sun.com/gbrunett/?entry=solaris_secure_by_default_part>
>
> >I don't know what you mean by application - we submit print jobs using
> >lp
>
> Definitely doesn't require IPP.
>
> John
> groenveld@acm.org

How do I set it up for BSD rather than IPP
On another note, I have been asked to set up some more printers, there
is duplex print requirement, how can I do that without using the
config file of the printer, but I cannot use config file because that
version of Jetdirect is not supported on Solaris 10
0
Reply Andy 9/8/2010 6:29:59 PM

In article <b45d5b97-6ea3-4230-abe2-d7dbb636ce7b@s9g2000yqd.googlegroups.com>,
Andy Neirman  <andy.neirman@gmail.com> wrote:
>How do I set it up for BSD rather than IPP

Enable the RFC1179 service on the print server
and confirm its set to listen to remote requests.

On the client
# lpadmin -p printer -s server!printer

>On another note, I have been asked to set up some more printers, there
>is duplex print requirement, how can I do that without using the
>config file of the printer, but I cannot use config file because that
>version of Jetdirect is not supported on Solaris 10

I showed you or your cohort that previously.
Do you have SUNWffiltersr SUNWffiltersu and SUNWfppd installed?

John
groenveld@acm.org
0
Reply groenvel 9/8/2010 8:44:04 PM

On Sep 8, 2:44=A0pm, groen...@cse.psu.edu (John D Groenveld) wrote:
> In article <b45d5b97-6ea3-4230-abe2-d7dbb636c...@s9g2000yqd.googlegroups.=
com>,
> Andy Neirman =A0<andy.neir...@gmail.com> wrote:
>
> >How do I set it up for BSD rather than IPP
>
> Enable the RFC1179 service on the print server
> and confirm its set to listen to remote requests.
>
> On the client
> # lpadmin -p printer -s server!printer
>
> >On another note, I have been asked to set up some more printers, there
> >is duplex print requirement, how can I do that without using the
> >config file of the printer, but I cannot use config file because that
> >version of Jetdirect is not supported on Solaris 10
>
> I showed you or your cohort that previously.
> De can I o you have SUNWffiltersr SUNWffiltersu and SUNWfppd installed?
>
> John
> groenv...@acm.org

You showed how to print in landscape using a2ps, I appreciate that
very much. I'd like to know if there's a way to print duplex without
HP printer software.

I will check if the packages you mentioned are installed, if not where
can I find them.
0
Reply Andy 9/9/2010 1:24:58 AM

In article <578709ae-33bb-4da1-9598-b0e8da39b97b@z25g2000vbn.googlegroups.com>,
Andy Neirman  <andy.neirman@gmail.com> wrote:
>very much. I'd like to know if there's a way to print duplex without
>HP printer software.

Check earlier in that thread.
Message-ID: <i5pnld$h85m$1@tr22n12.aset.psu.edu>

>I will check if the packages you mentioned are installed, if not where
>can I find them.

Your Solaris 10 installation media.

John
groenveld@acm.org
0
Reply groenvel 9/9/2010 1:54:46 AM

Andy Neirman wrote:
> On Sep 8, 2:44 pm, groen...@cse.psu.edu (John D Groenveld) wrote:
>> In article <b45d5b97-6ea3-4230-abe2-d7dbb636c...@s9g2000yqd.googlegroups.com>,
>> Andy Neirman  <andy.neir...@gmail.com> wrote:
>>
>>> How do I set it up for BSD rather than IPP
>> Enable the RFC1179 service on the print server
>> and confirm its set to listen to remote requests.
>>
>> On the client
>> # lpadmin -p printer -s server!printer
>>
>>> On another note, I have been asked to set up some more printers, there
>>> is duplex print requirement, how can I do that without using the
>>> config file of the printer, but I cannot use config file because that
>>> version of Jetdirect is not supported on Solaris 10
>> I showed you or your cohort that previously.
>> De can I o you have SUNWffiltersr SUNWffiltersu and SUNWfppd installed?
>>
>> John
>> groenv...@acm.org
> 
> You showed how to print in landscape using a2ps, I appreciate that
> very much. I'd like to know if there's a way to print duplex without
> HP printer software.
> 
> I will check if the packages you mentioned are installed, if not where
> can I find them.

Here is the escape sequence to put the printer in duplex mode.  (I think 
"duplex" is the word I want here.)  Follow this with the text you want 
printed. <ESC>&l#S.  The "#" is replace by "0" for Simplex, "1" for 
duplex Long Edge Binding, and "2" for duplex Short Edge Binding.

HP published a manual that is quite good for questions like this: "PCL 5 
Printer Language Technical Reference Manual", HP, 1992.  It's HP part 
number 5961-0509.  It's dated October 1992 and may have been superceded 
in the intervening 18 years!
0
Reply Richard 9/9/2010 1:30:34 PM


Richard B. Gilbert wrote:
> Andy Neirman wrote:
> > On Sep 8, 2:44 pm, groen...@cse.psu.edu (John D Groenveld) wrote:
> >> In article <b45d5b97-6ea3-4230-abe2-d7dbb636c...@s9g2000yqd.googlegrou=
ps.com>,
> >> Andy Neirman  <andy.neir...@gmail.com> wrote:
> >>
> >>> How do I set it up for BSD rather than IPP
> >> Enable the RFC1179 service on the print server
> >> and confirm its set to listen to remote requests.
> >>
> >> On the client
> >> # lpadmin -p printer -s server!printer
> >>
> >>> On another note, I have been asked to set up some more printers, ther=
e
> >>> is duplex print requirement, how can I do that without using the
> >>> config file of the printer, but I cannot use config file because that
> >>> version of Jetdirect is not supported on Solaris 10
> >> I showed you or your cohort that previously.
> >> De can I o you have SUNWffiltersr SUNWffiltersu and SUNWfppd installed=
?
> >>
> >> John
> >> groenv...@acm.org
> >
> > You showed how to print in landscape using a2ps, I appreciate that
> > very much. I'd like to know if there's a way to print duplex without
> > HP printer software.
> >
> > I will check if the packages you mentioned are installed, if not where
> > can I find them.
>
> Here is the escape sequence to put the printer in duplex mode.  (I think
> "duplex" is the word I want here.)  Follow this with the text you want
> printed. <ESC>&l#S.  The "#" is replace by "0" for Simplex, "1" for
> duplex Long Edge Binding, and "2" for duplex Short Edge Binding.
>
> HP published a manual that is quite good for questions like this: "PCL 5
> Printer Language Technical Reference Manual", HP, 1992.  It's HP part
> number 5961-0509.  It's dated October 1992 and may have been superceded
> in the intervening 18 years!

The packages SUNWffiltersr SUNWffiltersu and SUNWfppd=A0 are installed
on the print server.
=A0
The=A0 RFC1179=A0 print service is enabled on the print server,=A0 however =
I
found this:
http://docs.sun.com/app/docs/doc/819-7761/gedcr?l=3Den&a=3DviewI quote:=A0
"To determine which URI to use in the printers.conf database, the
lpadmin command probes the remote print service. If the remote print
service supports IPP, this protocol is preferred over the BSD
protocol. However, you can override automatic protocol selection by
specifying the -soption with the lpadmin command, then supplying a
different URI. For more information, see the Printer URI Formats"
=A0
And I could not figure out how to make lpd the default listening
protocol. The document above states use the -s option, but that option
only works on a print client, not server.
=A0
I tried this on the print server:
# lpadmin -p lp8 -v /dev/null -m netstandard -o dest=3Dlp8 -s=A0 lpd -T PS
-I postscript
UX:lpadmin: ERROR: You have specified a remote printer
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 and supplied one or =
more of the following
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 options: A,a,e,F,H,h=
,i,l,m,M,o,U,v,Q,W.
=A0
Then I tried using lpset to set the=A0 printer-uri-supported attribute
using lpget and I did succeed but it gave an error message on the
printer:
# lpset -a printer-uri-supported=3Dlpd banana
# lpstat -a
banana not accepting requests since Thu Sep 09 17:00:41 2010
=A0=A0=A0=A0=A0=A0=A0 unknown reason
-----------------
=A0
Then I tried to give the print client the lpd:
RUN-VEE#lpadmin -p lp8 -s 192.168.0.247!lp8 -s lpd
and it just hangs..................
=A0
--------------------------------------
=A0
Another question:
For the HP 5Si printer, I found:
root@server # pwd
/usr/lib/lp/model/ppd/system/foomatic/HP
root@server # ls -al | grep -i=A0 5s=A0
-r--r--r--=A0=A0 1 root=A0=A0=A0=A0 bin=A0=A0=A0=A0=A0=A0=A0=A0 4563 Aug 19=
=A0 2009 HP-LaserJet_5Si-
hpijs.ppd.gz
-r--r--r--=A0=A0 1 root=A0=A0=A0=A0 bin=A0=A0=A0=A0=A0=A0=A0=A0 4671 Aug 19=
=A0 2009 HP-LaserJet_5Si-
lj4dith.ppd.gz
-r--r--r--=A0=A0 1 root=A0=A0=A0=A0 bin=A0=A0=A0=A0=A0=A0=A0=A0 4559 Aug 19=
=A0 2009 HP-LaserJet_5Si-
lj5gray.ppd.gz
-r--r--r--=A0=A0 1 root=A0=A0=A0=A0 bin=A0=A0=A0=A0=A0=A0=A0=A0 4853 Aug 19=
=A0 2009 HP-LaserJet_5Si-
ljet4.ppd.gz
-r--r--r--=A0=A0 1 root=A0=A0=A0=A0 bin=A0=A0=A0=A0=A0=A0=A0=A0 8974 Aug 19=
=A0 2009 HP-LaserJet_5Si-
Postscript.ppd.gz
root@server #
=A0
Which file should I use, all I know is that it is a HP 5Si printer.
=A0
I try to figure these things out, but you know more than me......
=A0
0
Reply Andy 9/9/2010 10:48:39 PM

In article <9a19f8eb-ccec-456a-8142-5968e0ad5b70@i17g2000vbq.googlegroups.com>,
Andy Neirman  <andy.neirman@gmail.com> wrote:
>The packages SUNWffiltersr SUNWffiltersu and SUNWfppd� are installed
>on the print server.

# lpadmin -p hp8100 -v /dev/null -m netstandard_foomatic \
-n /usr/lib/lp/model/ppd/system/foomatic/HP/HP-LaserJet_8100-Postscript.ppd.gz \
-o dest=HP8100_IP_ADDR:9100 -o Duplex=DuplexNoTumble \
-o banner=never -T PS -I postscript
# /bin/enable hp8100
# /usr/sbin/accept hp8100 
$ /usr/sfw/bin/a2ps -r -P hp8100 /etc/passwd 

>The� RFC1179� print service is enabled on the print server,� however I

On the client, can you telnet to 515/tcp on the server?
$ telnet 192.168.0.247 515

If so, on the client:
# lpadmin -p hp8100 -s 192.168.0.247!hp8100
$ /usr/sfw/bin/a2ps -r -P hp8100 /etc/passwd 

>Another question:
>For the HP 5Si printer, I found:
[snipped]
>Which file should I use, all I know is that it is a HP 5Si printer.

# lpadmin -p hp5si -v /dev/null -m netstandard_foomatic \
-n /usr/lib/lp/model/ppd/system/foomatic/HP/HP-LaserJet_5Si-Postscript.ppd.gz \
-o dest=HP5SI_IP_ADDR:9100 -o Duplex=DuplexNoTumble \
-o banner=never -T PS -I postscript
# /bin/enable hp5si
# /usr/sbin/accept hp5si 
$ /usr/sfw/bin/a2ps -r -P hp5si /etc/passwd 

John
groenveld@acm.org
0
Reply groenvel 9/10/2010 12:43:57 AM

20 Replies
667 Views

(page loaded in 0.368 seconds)

Similiar Articles:


















7/26/2012 5:29:17 PM


Reply: