Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

printing through lpNet instead of lpd

Posted on 1997-02-18
7
Medium Priority
?
323 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
Technology Partners: 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 500 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

Optimum High-Definition Video Viewing and Control

The ATEN VM0404HA 4x4 4K HDMI Matrix Switch supports 4K resolutions of UHD (3840 x 2160) and DCI (4096 x 2160) with refresh rates of 30 Hz (4:4:4) and 60 Hz (4:2:0). It is ideal for applications where the routing of 4K digital signals is required.

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…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
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: …

722 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