How to fire a print job on a printer at DHCP network??


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How to fire a print job on a printer at DHCP network??
# 1  
Old 05-17-2005
Question How to fire a print job on a printer at DHCP network??

Hi All,
I have an issue related to printing on a printer at DHCP network.

We have n numbers of printers which can be attached to n numbers of telnet clients of a server. Telnet sessions can be obtained from any machine and any available printer will be attached to that machine. Our aim is to get a printout from the same machine (telnet client) from which it was fired to the UNIX server. Now as soon as the printer is attached to the dummy machine (telnet client), an IP is assigned to it by the DHCP network. Since this IP is dynamic in nature, we are unable to fire a print to that particular printer.
lpd command doesn't work as IP is dynamic in nature. It asks for the queue name which can not be prepared at run time(its the task of system administrator to configure queues) even if we know the printer's run time IP address.

Please tell me if there is any way to solve this issue. I heard that by directly writing to the printer port I could resolve the printer queue issue but I am not sure how to send text files directly to a printer port. I can send data in a form of strings but not as a text file.

Thanks a lot in advance.
# 2  
Old 05-18-2005
I think you will need DNS.
# 3  
Old 05-26-2005
assign to the printers static ip addresses that are outside the dhcp scope ... if dhcp scope is from .100 to .254, assign printer address below .100 ...
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Sun-Fire-V490 Printer Issue After Upgrade of Solaris

Hey Guys I am new here, dont know if any one can assist me with this issue. I have a Sun-Fire-V490 machine that was upgraded to version 9 and patched a few months back. Problem is a few network printers managed by the server is printing an extra page that comes out before and after every print... (0 Replies)
Discussion started by: mprogams
0 Replies

2. Ubuntu

Ubuntu Install on Sun Fire X4100 network issues

Hi I have two Sun Fire X4100 machines with Ubuntu 12.04 installed on them. I am able to configure the Net Mgt port with an IP address and access the ILOM from the browser. I can also boot the Ubuntu installed and redirect the output. The issue i have is that when i configure the network... (0 Replies)
Discussion started by: kaf3773
0 Replies

3. UNIX for Dummies Questions & Answers

Print to a network printer on DG/UX

i need to print a file on a network printer with an ip 128.233.1.6 (for example) on a DG/UX (System V) Release 5.4R3.10 so that when telnet from windows client can print on the network printer. (2 Replies)
Discussion started by: kamwa
2 Replies

4. IP Networking

DHCP and DNS on a home network

Let's say I have a home network containing a server that acts as the resident gateway and serves dhcp and dns requests. Laptop A is frequently connected and disconnected from the network as it is used as a travel computer. Is there a secure way to make sure that whenever laptop A is connected to... (3 Replies)
Discussion started by: Zygomorph
3 Replies

5. Solaris

Configure network in unix with dynamic ip on my DHCP server?

can anyone tell me how can i configure network in unix with dynamic ip on my DHCP server?? (7 Replies)
Discussion started by: Reham.Donia
7 Replies

6. IP Networking

How to resolve hostnames on DHCP home network

Hi, I have a PC running Solaris 10 (hostname MARKUNIX) and a laptop running WinXP (hostname MARK-LAPTOP). Both are connected to broadband via a router. IP addresses for each are determined via DHCP (192.168.1.nn) and I do not leave either on, 24x7. I am running Oracle on MARKUNIX and... (1 Reply)
Discussion started by: ksdmnv
1 Replies

7. IP Networking

Connecting to DHCP network with Realtek interface

I have a Realtek 8139 interface in one of my machines and it will not connect to the network. /etc/rc.conf contains ifconfig_rl0="DHCP" and "rl0" was obtained from a dmesg. A network interface restart yields the following: # /etc/rc.d/netif restart Stopping network: lo0 rl0 fwe0 plip0. rl0: no... (3 Replies)
Discussion started by: figaro
3 Replies

8. UNIX for Dummies Questions & Answers

print a file on a network printer from one lan to another

Hi, I have 2 different lan, each with a pc an a network printer. I can access both lan using ssh. how do I print a file from the first lan to a network printer on the second one. Thanks in advance Philippe sorry it was suposed to go to the dummies forum (3 Replies)
Discussion started by: amazilia
3 Replies
Login or Register to Ask a Question