Solved

printing through lpNet instead of lpd

Posted on 1997-02-18
7
303 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
ID: 1558840
Edited text of question
0
 

Author Comment

by:bb021897
ID: 1558841
Edited text of question
0
 

Author Comment

by:bb021897
ID: 1558842
Adjusted points to 150
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 

Author Comment

by:bb021897
ID: 1558843
Adjusted points to 250
0
 
LVL 1

Accepted Solution

by:
saji042497 earned 250 total points
ID: 1558844
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
ID: 1558845
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
ID: 1558846
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

914 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

13 Experts available now in Live!

Get 1:1 Help Now