12-28-2016
Hi Robin,
Every Thanks is a big win. Don't be embarrassed by 523+ Thanks on 2,874 posts! You're doing well and we look forward to you reaching the 3,000 thanks and/or 10,000 posts milestones.
- Don
These 2 Users Gave Thanks to Don Cragun For This Post:
7 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
I guess this is the most appropriate section for this post...
Just wanted to give a big congrats to LivinFree for passing the 1000 post mark. Nice job! (2 Replies)
Discussion started by: PxT
2 Replies
2. Solaris
I have been trying to install a few different distributions on this server, i have 1 sparc 250 mhz, 512 ram, it has a scsi with the built in ethernet, ive tried debian, bsd, with no luck, i can gentoo live cd to run and work with the ethernet, but i would like a normal distro, anywaysi have solaris... (4 Replies)
Discussion started by: hahjoel
4 Replies
3. Hardware
I got a coffee table(enterprise 3000) for free from a friend a couple of months ago, and I'm trying to convince it to boot.
List of cards
1x Clock Board
1x I/O board
2x CPU Boards
1x SCSI board? It has 2 SCSI headers on it anyway
In addition, its HDD rack is almost full of 18GB drives.... (3 Replies)
Discussion started by: dpeterson309
3 Replies
4. What is on Your Mind?
Congratulations.
Nice one RudiC. That is some going, well done!
Bazza. (8 Replies)
Discussion started by: wisecracker
8 Replies
5. What is on Your Mind?
Hello All forum members,
I would like to take this opportunity to THANK RudiC for his tremendous achievement, guidance, help for helping in forums, let us join our hands together for his GREAT achievement :b:
@Rudi sir,
How are you sir?
you ROCK, please keep up the great work sir :b:
... (1 Reply)
Discussion started by: RavinderSingh13
1 Replies
6. What is on Your Mind?
Please join me in congratulating RudiC for his long overdue lifetime achievement award badge from UNIX.COM in computer wizardry:
"The Order of the Wizard's Hat - Lifetime Achievement Award"
This "Order of the Wizard's Hat" is presented to RudiC for Computer Wizardry in the UNIX Operating... (10 Replies)
Discussion started by: Neo
10 Replies
7. What is on Your Mind?
Hello All,
I would like to take this opportunity to CONGRATULATE RudiC sir, (on behalf of all of us); please join your hands with me for congratulating RudiC sir for completing 4500 THANKS in forums. He is a GREAT ASSET in this forums and from years and years he is giving NICE, QUICK, Innovative... (8 Replies)
Discussion started by: RavinderSingh13
8 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)