Solved

printing through lpNet instead of lpd

Posted on 1997-02-18
7
316 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

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 …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

636 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