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
Solved

printer in a subnet

Posted on 1997-10-05
5
280 Views
Last Modified: 2013-12-23
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
Comment
Question by:roylam
  • 3
  • 2
5 Comments
 
LVL 4

Expert Comment

by:jlms
ID: 1582666
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
 

Author Comment

by:roylam
ID: 1582667
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
 
LVL 4

Expert Comment

by:jlms
ID: 1582668
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
 

Author Comment

by:roylam
ID: 1582669
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
 
LVL 4

Accepted Solution

by:
jlms earned 100 total points
ID: 1582670
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

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

840 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