Description:
The PostScript Page Description Language.
|
|
|
Simple Calendar
|
| |
%!
/year 2012 def
/month 12 def %1 = January
%month table
/mtab [
[ (January) 31 ]
[ (February) 28 ]
[ (March) 31 ]
[ (April) 30 ]
[ (May) 31 ]
[ (June) 30 ]
[ (July) 31 ]
[ (August) 31 ]
[ (September) 30 ]
[ (October) 31 ]
[ (November) 30 ]
[ (December) 31 ]
] def
%leap year... more »
|
|
General musing on PS and Display PostScript
|
| |
Hello everyone,
I'm pretty new to PostScript, haven't even made my first program yet. Though I find many things about the language, and its applications, to be very intriguing as I've read 1/4 to 1/3 of the PLRM researching/developing a PS-interpreter (in Ada).
Display PostScript is a good example of why I find PS intriguing: it (and the PDF version Apple uses) makes much more sense than, say, HTML5/CSS — precisely because PS/PDF were designed for layout description rather than the HTML idea of "let the implementation decide layout" (which is the whole reason for CSS's existence) — for UI.... more »
|
|
printing .tif images
|
| |
Ok, folks, I'm a Postscript novice, but I am in the process of trying
to learn it, so I can develop print files for the company I work for.
I have some of the basics down, but I am struggling with printing .tif
images. I have the ability to either stream the image data in or pull
it from a hard drive, but I am not sure how or which stream to use for... more »
|
|
Printing two A5 pages to A4
|
| |
Hi,
I'm trying to print two A5 pages to A4 sheet (landscape), but it doesn't
work as expected. Here is my test source:
$ cat a5.ps
%!PS-Adobe-3.0
%%BoundingBox: 0 0 420 595
%%Creator: GNU Emacs
%%Pages: 8
%%EndComments
%%BeginProlog
<< /PageSize [420 595] >> setpagedevice
/SetFont {/Helvetica-Bold findfont 288 scalefont setfont} def... more »
|
|
TrueType CE Encoding
|
| |
Hi,
I'm trying to change the encoding vector to CE for Arial-Black.
According to the PLRM Ex. 5.8:
%!PS-Adobe-3.0
/Arial-Black findfont
dup length dict begin
{1 index /FID ne
{def}
{pop pop} ifelse} forall
/Encoding CE def
currentdict
end
/ArialBlackCE exch definefont pop... more »
|
|
Gary Sokolich 2287
|
| |
2287
W Gary Sokolich
801 Kings Road
Newport Beach, CA 92663-5715
(949) 650-5379
Local PD
949-644-3681 Residence:
5309 Victoria Ave., Los Angeles, CA, 90043
[link]
TEXAS BOARD OF PROFESSIONAL ENGINEERS... more »
|
|
|