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?

Improve company productivity with a Business Account.Sign Up

x
 
moduloConnect With a Mentor Commented:
PAQed with no points refunded (of 125)

modulo
Community Support Moderator
0
 
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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.