02-17-2009
lpadmin -p printer_name -E -v socket://ip_address
ort -L queue_name
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I just installed red hat 7.2 on my laptop. it's dual booted with xp and red hat. when i boot in to linux it boots up to the screen to ask me my name and pass....i put in root and my password. after this it goes to a blue screen and sits there. the after about 2 minutes it comes up with a fatal... (1 Reply)
Discussion started by: muzscman
1 Replies
2. Shell Programming and Scripting
OS: HP-UX B.11.11 U
Printer: HP 8150.
I require a font to be downloaded to the printer and used.
As documented the steps are:
1. Tell printer to accept font
2. Send the font to the printer
3. Make the font permanent
4. Select font for use
or in PCL
1. <Esc>*c90D
2.... (0 Replies)
Discussion started by: mbb
0 Replies
3. Linux
hello.
I would be greatfull if someone could tell me how will i see what dns server and gateway my red hat server uses.
I tryied to find out by typing ifconfig command but i got :
-bash: ifconfig: command not found , although man ifonconfig gives output with info about using that command.
Is... (3 Replies)
Discussion started by: tonijel
3 Replies
4. UNIX for Dummies Questions & Answers
I've looked around and am able to print landscape to a PCL 5 printer with this command:
lp -o landscape -o cpi=20 -o page-right=30 -o page-left=30
-d <printer> <file>.
Which gives me a nice 200 columns.
But, when I send the same output and the same commands to a PCL 6 printer, it comes... (3 Replies)
Discussion started by: tariqjamal
3 Replies
5. Red Hat
Hello,
How do I see what IP addresses are connected to my machine?
thanks (2 Replies)
Discussion started by: sonomao
2 Replies
6. IP Networking
I have a number of Windows CE operator terminals. They have facility to print alarms/messages to ...
aser or Inkjet (so they're using PCL).
USB or IP. IP connection takes just the IP address.
Question
How could I create a service or daemon on a server to capture all this data?... (7 Replies)
Discussion started by: transistor
7 Replies
7. UNIX for Dummies Questions & Answers
how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ? (2 Replies)
Discussion started by: ahmedamer12
2 Replies
8. Solaris
Help!
I have to solve an urgent problem!
I have a Solaris 10 server, where I created a line of printing with the command
# /usr/sbin/lpadmin -p IL_Printer -s pv24002 -v /dev/null -m netstandard_foomatic -A write -n /usr/lib/lp/model/ppd/system/foomatic/Canon/cnl66e1.ppd.gz -o... (0 Replies)
Discussion started by: poyato
0 Replies
9. SCO
I am trying to get a network printer to work that currently works from my Unix (5.0.7) server when printing text files only. When I try to print post script files like a PDF file I get all of the controls so I am not sure if I have my printer configuration setup properly in Unix
The printer... (1 Reply)
Discussion started by: ziggy6
1 Replies
LEARN ABOUT CENTOS
ipsec_sockaddrlenof
IPSEC_PORTOF(3) Library Functions Manual IPSEC_PORTOF(3)
NAME
ipsec_portof, ipsec_setportof, ipsec_sockaddrof, ipsec_sockaddrlenof - get port field of an ip_address, set port field of an ip_address,
get pointer to internal sockaddr of an ip_address, get length of internal sockaddr of an ip_address
SYNOPSIS
#include <libreswan.h>
int portof(const ip_address *src);
void setportof(int port, ip_address *dst);
struct sockaddr *sockaddrof(ip_address *src);
size_t sockaddrlenof(const ip_address *src);
DESCRIPTION
The <libreswan.h> internal type ip_address contains one of the sockaddr types internally. Reliance on this feature is discouraged, but it
may occasionally be necessary. These functions provide low-level tools for this purpose.
Portof and setportof respectively read and write the port-number field of the internal sockaddr. The values are in network byte order.
Sockaddrof returns a pointer to the internal sockaddr, for passing to other functions.
Sockaddrlenof reports the size of the internal sockaddr, for use in storage allocation.
SEE ALSO
inet(3), ipsec_initaddr(3)
DIAGNOSTICS
Portof returns -1, sockaddrof returns NULL, and sockaddrlenof returns 0 if an unknown address family is found within the ip_address.
HISTORY
Written for the FreeS/WAN project by Henry Spencer.
BUGS
These functions all depend on low-level details of the ip_address type, which are in principle subject to change. Avoid using them unless
really necessary.
8 Sept 2000 IPSEC_PORTOF(3)