[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

How do i access Windows printer from my Solaris Machine

Posted on 2004-11-02
11
Medium Priority
?
508 Views
Last Modified: 2013-12-21
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.
0
Comment
Question by:san6ind
[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
  • 4
  • 2
  • 2
  • +2
11 Comments
 
LVL 4

Expert Comment

by:Otetelisanu
ID: 12472105
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
 
LVL 12

Expert Comment

by:stefan73
ID: 12475281
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
 
LVL 38

Expert Comment

by:wesly_chen
ID: 12475859
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
Independent Software Vendors: 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!

 
LVL 38

Expert Comment

by:wesly_chen
ID: 12475874
Sorry the admintool is the same as Otetelisanu's statement.

Wesly
0
 
LVL 38

Expert Comment

by:yuzh
ID: 12479722
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
 
LVL 12

Expert Comment

by:stefan73
ID: 12480891
Depends - if your printer is a network printer with built-in LPD server, it's no problem.
0
 
LVL 38

Expert Comment

by:wesly_chen
ID: 12483044
> 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
 
LVL 38

Expert Comment

by:wesly_chen
ID: 12814615
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
 
LVL 38

Expert Comment

by:yuzh
ID: 12815466
if the /etc/nsswitch.conf  file look like :
  hosts:     nisplus dns [NOTFOUND=return] files
It will not look at files at all !
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12848330
PAQed with no points refunded (of 125)

modulo
Community Support Moderator
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

649 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