Solved

printer in a subnet

Posted on 1997-10-05
5
277 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Decrypting SSL traffic in wireshark 7 33
Arista Switches 2 43
Network Config 9 59
DNS with WiFi Network 5 0
This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now