can unix printing directly to ip address


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers can unix printing directly to ip address
# 1  
Old 10-19-2004
Power can unix printing directly to ip address

Thanks in advance.

I am researching if it is possible for unix (solaris) to print directly printers with IP addresses. Without adding all the ip addresses to the hosts file? There are more than a hundred printers and managing them in a hosts file would be tedius, prone to error, and time consumming. No sense in reinventing the wheel, if something already exists.

As one of the people at work (VMS shop) with a little unix experience, I have been ask to look into this question. At this time, we have a local written utility that passes the user's printer (from the user's profile in a database) and the print filename to the OS with any addition formating information. This puts updating the printer information in the users hands.

Thanks,
Deborah

long ago and far away, I was an OS test engineer for sequent computer system. my unix skills are very rusty.
# 2  
Old 10-20-2004
It's been a long time since I had to set up a printer - last two shops I worked at used Microsoft for printers.

How do you print to the printers from VMS? Are they set up in DNS at all? If I remember, there was a UCX (or UXC?) utility on VMS to work across to UNIX. Let you learn UNIX while on a VMS system. That might help get you up to speed. It may also allow you to print from Solaris to VMS to the printer. Check the documentation (a quick search found this)

But to really answer your question - yes, the IP has to be somewhere - if not in NIS, DNS, NIS+, then the hosts file (althougth I still think UCX has a way of sharing the printers with UNIX boxes - you might only have to set up the printer locally on Solaris to point to your VMS servers).

And it seems since you have something that works....
"If it's not broke, don't fix it!"
# 3  
Old 10-21-2004
I first email was not very clear. Our shop is looking at possibility moving from VMS to Unix sometime in the furture.

We are installing AppWorx for job scheduling and it only runs on unix, not VMS. It would be nice to have the unix box route the output jobs to users and not have to send the output back to VMS. One of the many concerns they have is what is available in unix to replace some of the locally written utilities. One of the major utilities written here is omniprint which uses a table to store the local user information such as, their default printer name and ip address. When the user runs a job with output, they have several different options for where to sent the output. We do not use the normal printer options with the software and do no have a printer queue on the VMS machine for each printer.

Hope that makes more sense.

Thanks,
Deborah
# 4  
Old 10-22-2004
Quote:
One of the major utilities written here is omniprint which uses a table to store the local user information such as, their default printer name and ip address.
Quote:
if it is possible for unix (solaris) to print directly printers with IP addresses. Without adding all the ip addresses to the hosts file?
Isn't the table which stores user info (printer name and IP) the same, if not more, of a hassle? This seemed to be your complaint -
Quote:
managing them in a hosts file would be tedius, prone to error, and time consumming
It seems to me that either way, you have to manage that information. Suggest you build a database much the same way it was done on VMS and then write a local script to pull that information. This would be like rewriting your omniprint but seems to be what you are looking for.

I don't have the equipment to test printing directly to an IP from UNIX but believe it can be done (not sure formatting would be great). You could easily test this if you have the printers.

Some suggestions - take a look at CUPS and GhostView
# 5  
Old 10-22-2004
Bug

Thank you for the feedback. Writting a replacement in Unix for our utility to replace the current one on VMS seems to be the way to go. I thought it was worth asking if something existed, no sense in re-inventing the wheel. CUPS does look like the way to go.

Thanks again.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

VIP Membership - The UNIX and Linux Forums - Get Your UNIX.COM Email Address Here

We work hard to make The UNIX and Linux Forums one of the best UNIX and Linux knowledge sources on the net. The site is certainly one of the top UNIX and Linux Q&A sites on the web. In order to provide certain members the best quality account services, you can now get some great extra features by... (2 Replies)
Discussion started by: Neo
2 Replies

2. Shell Programming and Scripting

How to save a file directly into windows from UNIX?

Hi, How can i save a file directly into my windows file system by running a shell script from my unix file system. I need to fetch data from a database and save it in a file. Since the data downloaded from database is huge, if i save it in the unix file system, the space in my home directory... (2 Replies)
Discussion started by: Little
2 Replies

3. Shell Programming and Scripting

Need help with printing in UNIX

I have a file that looks like below: a:b:c d e f g h u:f:j e:k:c0 d9 e1 x55 h789 p:d:hh dtyu gasd lrtyu oqa Is there a way to print is as given below: a:b:c d e f g h u:f:j e:k:c0 d9 e1 x55 (5 Replies)
Discussion started by: sags007_99
5 Replies

4. UNIX for Dummies Questions & Answers

Sco Unix printing : jobs hangs in queue - printing via lp versus hpnpf

Hi, We have a Unix 3.2v5.0.5. I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts). This is the configuration file : Code: root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Discussion started by: haezeban
0 Replies

5. UNIX for Dummies Questions & Answers

Printing pointer address

How can I print the memory address of a pointer using printf (or any other STDOUT functions?). I see in Linux its %p but not in unix, help? thanks (5 Replies)
Discussion started by: perleo
5 Replies

6. Programming

Printing class address!

Hello everyone, I have this code which prints the address of the object of a class....bt. what if I want to print the address of the class? #include <iostream.h> class har{ }; int main() { har a; cout<<(&a); } I would really appreciate if someone can help! Thanks!!!!! (1 Reply)
Discussion started by: mind@work
1 Replies

7. UNIX for Advanced & Expert Users

UNIX Printing

Greetings. Got a problem I'm working on, not that familiar with UNIX to be honest. We're having some issues printing from a UNIX Server, hoping someone can help. Here's the situation: We have remote offices that use Microsoft Windows Remote Desktop Client to connect to a Windows 2003 Terminal... (5 Replies)
Discussion started by: MPW
5 Replies

8. UNIX for Advanced & Expert Users

Printing Problems in unix ... ( Bar-cdoe - Ip Printing)

Hi guys ... i need ur help with some printing problem in unix ... first prob. : i wanna print from my NCR unix to an Win NT , Ip based printing server ( HP JetDirect ) . My issue , is it possible to print directly to an Ip address from unix ? How do i make it work to get any results ?... (3 Replies)
Discussion started by: QuickSilver
3 Replies

9. UNIX for Dummies Questions & Answers

Printing from unix with lp

Hey, When printing from UNIX all the dataafter the end of the page is not printed!! How can I use lp so that instead of just printing to the end of the page, it stops at the end of the page and then prints on the next line??? Thanx (4 Replies)
Discussion started by: pmcg
4 Replies
Login or Register to Ask a Question