How do i access Windows printer from my Solaris Machine

Hi,

I have a solaris 8 Operating system and its on a different network , i would like to access a Windows network printer which is on a different network from my solaris machine. I am able to ping the windows network from my solaris machine . Can anybody pls help me in this case.
san6indAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

OtetelisanuCommented:
Write in the /etc/hosts your Printer

example

printer  210.200.20.20

start the

admintool

Browse
Printers
Edit
Add
Access to Printer
Printer Name : Name
Printer Server: printer (from /etc/hosts)
Description



Aplly





0
stefan73Commented:
Hi san6ind,
Check if your printer supports lpd and is pingable. If yes, do a test:

echo 'Hello, World!' | a2ps -P 1.2.3.4:1.2.3.4

(this assumes your printer knows PS. But all decent printers do.)

Cheers!

Stefan
0
wesly_chenCommented:
Hi,

   First, your Windows printer server need to have "TCP/IP printer server" service installed and started (use "Start--> run" and
services.msc to check).

   Write down the share name of the network printer and the Windows printer server's hostname.

   Then on Solaris machine, run "admintool" as root (in Xwindow), go to "Browse" tag, choose "Printers".
From "Edit--> Add--> Access a printer", type in the printer sharename and the printer server's hostname and click ok.

   Test with "lpr -P<printer sharename> <test filename>"

Wesly
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

wesly_chenCommented:
Sorry the admintool is the same as Otetelisanu's statement.

Wesly
0
yuzhCommented:
Based on Otetelisanu's comment (http#12472105) for adding a remote printer to
the Solaris box, you also need to check your /etc/nsswitch.conf  file to make sure that your box using files as well, files must in the hosts list, eg:

hosts:     files dns [NOTFOUND=continue]

AND

You need to make sure your Windows printer server (w2k, Win 2003 or Win XP),
has the optional package (Print Services for UNIX, which comes with LPR for w2k, winXP)
installed for handling the printer jobs from Unix boxes.




0
stefan73Commented:
Depends - if your printer is a network printer with built-in LPD server, it's no problem.
0
wesly_chenCommented:
> optional package (Print Services for UNIX, which comes with LPR for w2k, winXP)
I think it is the same as "TCP/IP printer server" and just show up in different termology. Microsoft change the term from version to version.

> if your printer is a network printer with built-in LPD server
I think use single printer server to handle the printing queue will be better. Use built-in LPD server on printer might cause the
print queue congestion and you don't know where the print job summit from. Let Windows printer server handle the queue is
easier for queue management.

Wesly
0
wesly_chenCommented:
Hi,

  Otetelisanu's solution only provide one part on Solaris.
Without "Print Services for UNIX" or "TCP/IP printer server" installed and started on
Windows server, which is not included in default installation, you can not
add the printer on Solaris.

Regards,

Wesly
0
yuzhCommented:
if the /etc/nsswitch.conf  file look like :
  hosts:     nisplus dns [NOTFOUND=return] files
It will not look at files at all !
0
moduloCommented:
PAQed with no points refunded (of 125)

modulo
Community Support Moderator
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.