09-24-2009
hi ikorolev
very thanks this is a wonder fill script
10 More Discussions You Might Find Interesting
1. Cybersecurity
Hello every one.
I work in a LAN with many application server.
Each one use a different port.
What command permit to obtain the number of these port.
thanks (2 Replies)
Discussion started by: hoang
2 Replies
2. UNIX for Dummies Questions & Answers
hi all
i want to connect a system,
how can i know the port number of a system. (2 Replies)
Discussion started by: tukuna82
2 Replies
3. AIX
is it possible to find out which Service is running on the basis of port no which is open/listening?
Regards
Manoj (2 Replies)
Discussion started by: manoj.solaris
2 Replies
4. Shell Programming and Scripting
~]#netstat -vatn | grep LISTEN
tcp 0 0 0.0.0.0:34895 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 192.168.122.1:53 0.0.0.0:* LISTEN ... (7 Replies)
Discussion started by: linuxadmin
7 Replies
5. Programming
Hi all, is it possible to use a different port number for daytime service. By default the port number of daytime service is 13, so what if I want to get the time from a different port number e.g say 9000 (or any other port).
I guess this would remain the same on the server side !... (2 Replies)
Discussion started by: manisum
2 Replies
6. Solaris
Hello,
I have an unloaded T5140 machine and want to access the ILOM for the first time and subsequently the network port after that., and then load Solaris 10 the final January 2011 build.
The first part is what confuses me -the cabling.
I am coming from a Windows machine (w/appropriate... (5 Replies)
Discussion started by: joboy
5 Replies
7. Solaris
please find the below o/p for your reference
bash-3.00# fcinfo hba-port
HBA Port WWN: 21000024ff295a34
OS Device Name: /dev/cfg/c2
Manufacturer: QLogic Corp.
Model: 375-3356-02
Firmware Version: 05.03.02
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
8. Shell Programming and Scripting
I got the service status through nc on remote network but 2 services doesn't have port number.how to get the other 2 services status with out port number .pls provide the solution to me.
I need to develop with is in a script (2 Replies)
Discussion started by: kannansoft1985
2 Replies
9. UNIX for Beginners Questions & Answers
I got the service status through nc on remote network but 2 services doesn't have port number.how to get the other 2 services status with out port number .pls provide the solution to me. (1 Reply)
Discussion started by: userexperience
1 Replies
10. AIX
I have an AIX 7.1 LPAR where Nagios agent was installed for monitoring. The issue is that when I start the nagios service (ncpa_listener), it starts but does not open the 5693 port it requires for communication. On all other LPARs the service opens the port and is listening. I tried reinstalling... (4 Replies)
Discussion started by: wibhore
4 Replies
LEARN ABOUT PHP
ps_makespotcolor
PS_MAKESPOTCOLOR(3) 1 PS_MAKESPOTCOLOR(3)
ps_makespotcolor - Create spot color
SYNOPSIS
int ps_makespotcolor (resource $psdoc, string $name, [int $reserved])
DESCRIPTION
Creates a spot color from the current fill color. The fill color must be defined in rgb, cmyk or gray colorspace. The spot color name can
be an arbitrary name. A spot color can be set as any color with ps_setcolor(3). When the document is not printed but displayed by an post-
script viewer the given color in the specified color space is use.
PARAMETERS
o $psdoc
- Resource identifier of the postscript file as returned by ps_new(3).
o $name
- Name of the spot color, e.g. Pantone 5565.
RETURN VALUES
The id of the new spot color or 0 in case of an error.
EXAMPLES
Example #1
Creating and using a spot color
<?php
$ps = ps_new();
if (!ps_open_file($ps, "spotcolor.ps")) {
print "Cannot open PostScript file
";
exit;
}
ps_set_info($ps, "Creator", "spotcolor.php");
ps_set_info($ps, "Author", "Uwe Steinmann");
ps_set_info($ps, "Title", "Spot color example");
ps_begin_page($ps, 596, 842);
ps_setcolor($ps, "fill", "cmyk", 0.37, 0.0, 0.34, 0.34);
$spotcolor = ps_makespotcolor($ps, "PANTONE 5565 C", 0);
ps_setcolor($ps, "fill", "spot", $spotcolor, 0.5, 0.0, 0.0);
ps_moveto($ps, 100, 100);
ps_lineto($ps, 100, 200);
ps_lineto($ps, 200, 200);
ps_lineto($ps, 200, 100);
ps_lineto($ps, 100, 100);
ps_fill($ps);
ps_end_page($ps);
ps_delete($ps);
?>
This example creates the spot color "PANTONE 5565 C" which is a darker green (olive) and fills a rectangle with 50% intensity.
SEE ALSO
ps_setcolor(3).
PHP Documentation Group PS_MAKESPOTCOLOR(3)