• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 296
  • Last Modified:

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
0
roylam
Asked:
roylam
  • 3
  • 2
1 Solution
 
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
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.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now