Solved

printing through lpNet instead of lpd

Posted on 1997-02-18
7
301 Views
Last Modified: 2013-12-23
I want to set up NT4 machines to contact my print server (Ultra Sparc with Solaris 2.5 and CAP).
Unfortunately, my print server uses lpNet (and not lpd).
Does anybody knows if it is possible to set up my NT4 machines to print through lpNet? (and how ...)
I don't want to send print jobs directly with an appletalk port (because of quotas)

Thanks in advance,
Benoit Baguette
0
Comment
Question by:bb021897
  • 5
  • 2
7 Comments
 

Author Comment

by:bb021897
Comment Utility
Edited text of question
0
 

Author Comment

by:bb021897
Comment Utility
Edited text of question
0
 

Author Comment

by:bb021897
Comment Utility
Adjusted points to 150
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Comment

by:bb021897
Comment Utility
Adjusted points to 250
0
 
LVL 1

Accepted Solution

by:
saji042497 earned 250 total points
Comment Utility
As you say, to configure WINNT to print on a Solaris Print server you have to configure the lpd on the Solaris system.

I presume you have your TCP/IP configured on both your solaris and WINNT system and the basic connectivity is established.

Follow the following steps :-

login as root first

#sacadm -a -p tcp -t listen -c "/usr/lib/saf/listen tcp" -v `nlsadmin -V` -n 9999

#pmadm -a -p tcp -s lpd -m `nlsadmin -o /var/spool/lp/fifos/listenBSD -A"00020203xxxxxxxx0000000000000000"` -v `nlsadmin -V`

(NOTE:the xxxxxxxx has to be substituted with the IP address of the solaris system, and this has to be provided in HEX format)

#lpsystem -t bsd yyyyy
(NOTE:yyyyy stands for the name of the WINNT system i.e /etc/hosts entry)

#lpshut
#lpstart

For further details please go through the SUNOX 5.X docs.

0
 

Author Comment

by:bb021897
Comment Utility
It doesn't work.
Can you give me more information on the configuration of the printer port of the NT machine.
When I configure a lpr port with the name of my printer server, my NT machine says that there is no lpd daemon on my printer server. Of course, as it is a solaris 2.5 server. Is that the problem?

Perhaps the problem comes from this:
lpsystem -A --> 0020203000000000000000000000000
and not 0020203xxxxxxxx0000000000000000 with xxxxxxxx .....
but when I remove the service lpd and then add it with the "correct" IP address, I can't print anymore (neither from solaris machine nor NT)

Thanks for your help
0
 
LVL 1

Expert Comment

by:saji042497
Comment Utility
sorry for my typo

#pmadm -a -p tcp -s lpd -i root -m `nlsadmin -o /var/spool/lp/fifos/listenBSD -A"\x00020203xxxxxxxx0000000000000000"` -v `nlsadmin -V`

Please note xxxxxxxx is your Solaris systems IP address in HEX format.

This set of commands will configure lpd on your Solaris 2.5 system. Don't mind the 'lpsystem -A' output.

The Windows NT side requires only the TCP/IP printing to be enabled.

0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now