Sponsored Content
Operating Systems HP-UX Adding printer entry into host file Post 302179458 by mr_manny on Thursday 27th of March 2008 06:52:25 PM
Old 03-27-2008
could I ask why you would do this?

Remote (associated print-server) or Network (direct IP) printers do not need to be added to your host file.

I believe in keeping host file clean and simple.
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Adding entry into crontab in ksh program

Hi falks, I have the following ksh function ,which adding entry to crontab during ksh program running: { print "Go\c" >/dev/null 2>&1 print '0 0 * * * su - ias -c "/home/orca/core-${SCHEMA_NAME}/CLI/cleanup_BRMS.ksh"\c' >/dev/null 2>&1 print "\033:wq!" >/dev/null 2>&1 } | \crontab -e... (2 Replies)
Discussion started by: nir_s
2 Replies

2. UNIX for Dummies Questions & Answers

Adding a Printer

Could someone please tell me how to add a printer to UNIX, I've got all the detail but are not sure how to do it ... (1 Reply)
Discussion started by: kuselo
1 Replies

3. Shell Programming and Scripting

adding a host entry on another machine

I have written this small script to add an entry to a remote /etc/hosts file which needs to be run from our central admin box and is passed one parameter $1 <hostname> #!/bin/ksh echo "Which host entry would you like to add to $1" read host_to_add echo "what is the IP address?" read ip ... (4 Replies)
Discussion started by: hcclnoodles
4 Replies

4. Solaris

etc host entry problem

Dear Members, My app server is running in sun solaris. When i am trying to invoke another application running in a different m/c by calling its ip aa.bb.cc.dd , i am succeeding. But, when i maintain the same ip in etc host and try to invoke the application using the host name, it is failing.... (5 Replies)
Discussion started by: kandanathan
5 Replies

5. UNIX for Advanced & Expert Users

Unix: print on printer on another machine (host)

Hi all,sorry for my english but i don't speak it very well. I have a problem, i need to print a file from a unix machine to a printer on another unix machine (with another host). I think that it's possible making a connection with telnet to this machine and after to print on the machine in... (3 Replies)
Discussion started by: giugy
3 Replies

6. UNIX for Advanced & Expert Users

HP-UX adding printer

When adding a remote printer to my HP-UX system, it creates a file in /var/spool/lp/sinterface/printer-name inside it has #!/usr/bin/sh # /* @(#)B.11.11_LR */ # This model is for remote status operation. /usr/sbin/rlpstat $* Is there a way when I add this printer to have the... (1 Reply)
Discussion started by: nixie21
1 Replies

7. Red Hat

Adding or deleting an entry in /etc/inittab without using vi editrors or any editor.

Hi masters Is there any way to edit or delete an entry in inittab file without using vi or any editors? We can use commands instead or any shell script .. If any one can help deeply appreciated Thanks a lot sai (3 Replies)
Discussion started by: saidiya
3 Replies

8. IP Networking

Remote printer setup on solaris 10 host

Hi All, I am trying setup a remote printer on a solaris 10 server. The printer is online and working fine is solaris 8. I have added the pritner to /etc/hosts file and /etc/printers.conf ... I need to know followings: 1. How do I find the default pritner port on the old solaris machine... (0 Replies)
Discussion started by: mohullah
0 Replies
PAP(1)							      General Commands Manual							    PAP(1)

NAME
pap, papstatus - client interface to remote printers using Printer Access Protocol SYNOPSIS
pap [ -c ] [ -e ] [ -p nbpname ] [ -s statusfile ] [ files ] papstatus [ -p nbpname ] DESCRIPTION
pap is used to connect and send files to an AppleTalk connected printer using the Apple Printer Access Protocol (PAP). When pap starts execution, it tries to open a session with the printer using PAP, and then downloads the files to the printer. If no files are given on the command line, pap begins reading from standard input. If no printer is specified on the command line, pap looks for a file called .paprc in the current working directory and reads it to obtain the nbpname of a printer. Blank lines and lines that begin with a `#' are ignored. type and zone default to LaserWriter and the zone of the local host, respectively. Note that pap is designed to be useful as a communication filter for sending lpd(8) spooled print jobs to AppleTalk connected printers. See psf(8) for hints on how to use it this way. OPTIONS
-c Take cuts. Normally pap tells the printer how long it has been waiting. When -c is specified, pap claims to have been waiting for- ever. -e Send any message from the printer to stderr instead of stdout. psf(8) invokes pap with this option. -p nbpname Connect to the printer named nbpname and do not consult the .paprc file to find a printer name. See nbp_name(3) for the syntax of nbpname. -s statusfile Update the file called statusfile to contain the most recent status message from the printer. pap gets the status from the printer when it is waiting for the printer to process input. The statusfile will contain a single line terminated with a newline. This is useful when pap is invoked by psf(8) within lpd's spool directory. FILES
.paprc file that contains printer name SEE ALSO
nbp_name(3), lpd(8), psf(8). netatalk 1.3 3 Jun 1994 PAP(1)
All times are GMT -4. The time now is 10:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy