Solved

printing through lpNet instead of lpd

Posted on 1997-02-18
7
309 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
Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

 

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Enterprise networks where VoIP phones have been deployed frequently use port configurations that allow both a computer and an IP phone to be plugged into the same switch port but use different VLANs. On Cisco equipment I'm referring to the "native V…
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 …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

828 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