printer in a subnet

Hi

I want to print a document using my unix (sun solaris x-windows) account at
the computer room to a printer that is not in the computer room.
That printer which is in my bedroom, is unknown to the server.
However, this printer has an ethernet connection to the network and
the server is on another subnet.

How can I do it?

Roy
roylamAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

jlmsCommented:
Did you follow all the steps to install a remote printer in your UNIX?
WHich UNIX are you using?
If you can ping or telnet between both machines then you should just configure a remote printer in the normal way, If you don't know how to do it let us know...
0
roylamAuthor Commented:
My unix account is actually from my university (as memtion above Sun Solaris 2.5), so I don't have  privilege to make any change in the system. Am I still able to do the printing?
0
jlmsCommented:
If you don't have any privilige to make changes you can't type:
lp file
to print so strictly speaking you can't print; nevertheless you can transmit a "printer file" to your computher and then print it there.

So let me know:
-Can you connect from the University computer to your computer using ftp?
-By the way, which operating system is your computer running?
-How do you print in your computer?
-What kind of files (postscript,plain text, others) are you trying to print.
-Which applications are you using?

0
roylamAuthor Commented:
I am sorry to reject your answer again.  

Let me make my situation more clear:  
I have a Macintosh (system 7.5) in my room which is connected to the
Hall network (a university subnet ), my printer (HP laser) is also on
the network.  I have got a program which let me use x-windows on the
Mac.  This way I am connected to my CS account (Sun Solaris 2.5) and
able to use xterm & other programs.  I can also use ftp to transfer
the files to my computer and then print it there.  However, in order
to print them, I have to switch the computer back in normal
environment and then switch back after finished. If I have many files
(mostly ps)to print but not at the same time (due to work progress)
then it would be a pain to do that.

I am wondering if I can change some of the environment variables in my
account or even add some parameters to lp:
lp -d destination file

To print ps file in Mac, I can use a program call drop-ps but there
way is not preferred.


0
jlmsCommented:
I am sorry, but as long as you can't modify anything in the Solaris machine you can't and will not be able to print; to be able to use the lp command you need modifications to the configuration of the Solaris machine; any change in how the lp command works means thinkering with configuration file, those files are modified only by the super user in the Solaris machine.

Now, asumming you manage to convince  the admin of that machine to help you, your Mac is not the best machine for the task, to make "lp" recognize a printer in your Mac you need aditional sofware in the Mac (UNIX like printer services) or in the Solaris machine (Macintosh like printer services for Solaris). Both kind of products exist but I don't know of any that is free or at least is shareware.

  So if you convince the admin to give you a hand and there is a way to spend money on this I can help you to find a product for this problem.

   Another alternative, that I have not tried and I have not seen working personaly, is Linux.

   Linux is a UNIX like operating system distributed free and that includes X11 (you could connect to the Sun machine) and support for most printers. UNfortunately I don't know the stage of development of Linux and you should ponder also that maybe this solution is completely out of question for you because it means a mayor work in your Mac. If you have a Linux running in your Mac then you can make a little script that sends the files to your Mac and after that the Mac can print automaticaly whatever it gets.

   Maybe this is not the answer you would like to hear but I am sure is the correct one.

   If you want to explore any of this posibilities lets continue the discussion.

  And don't worry about rejecting answers, you should accept only the one you think answers your question reasonably well.


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
Networking

From novice to tech pro — start learning today.