Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).


New Forum | Previous | Next | (P-PDF) Developers


Topic: Equivalence Code Postscript different in Distiller 3 and 5.
Conf: (P-PDF) Developers, Msg: 86603
From: mouff
Date: 6/17/2003 10:28 PM

Hi !

i have a logiciel in vb who associate any ps files(different files printed with distiller) to make a result pdf file pdf.

For any things, i use code postscript in ps file to take one number of page, one red line and one libel.

In version 3 of distiller, it's work !

Look this example :
Extract of ps file without adds:

%%Page: 1 1
NTPSOct95 /PageSV save put
90 rotate 0 -595.273 translate
1 594.273 translate 72 600 div dup neg scale
0 0 transform .25 add round .25 sub exch .25 add round .25 sub exch itransform translate
%%IncludeFont: Helvetica
[83 0 0 -83 0 0]/Helvetica MF

Extract of ps file with adds:

%%Page: 1 1
NTPSOct95 /PageSV save put
90 rotate 0 -595.273 translate
1 594.273 translate 72 600 div dup neg scale
0 0 transform .25 add round .25 sub exch .25 add round .25 sub exch itransform translate
//number of page
[0 65 65 0 0 0]/Helvetica-Bold MF
(3) 210 4660 MS
//begin for one little red line
1 j
11 sl
n
250 4610 M
0 4610 L
CM [1 0 0 1 -8 -8] concat
S
SM
0 g //end for this line
//color red
0.6 0.2 0 r
//one libel
[0 116 116 0 0 0]/Helvetica-Bold MF
(XXXXXX) 190 3840 MS
//color black
0 g
// begin of on great red line
1 j
14 sl
0.6 0.2 0 r
n
6730 280 M
6730 4670 L
CM [1 0 0 1 -8 -8] concat
S
SM
0 g //end of this line
%%IncludeFont: Helvetica
[83 0 0 -83 0 0]/Helvetica MF


But this adds code postscript don't work for acrobat distiller 5.
Onl this code 'X Y moveto %set current point ( Text ) show' work in 5.
But, i don't know how to put one line, to change the color and to change the orientation of the police as in 3 with the code '[0 65 65 0 0 0]/Helvetica-Bold MF' or '[65 0 0 -65 0 0]/Helvetica-Bold MF'.

Can u help me please ?
I am lost for the moment...

Mouff.

Note : sorry for bad english, it is not my main language.


PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

Debenu PDF Tools Pro

It's simple to use and will let you preview and edit PDF files, it's a Windows application that makes...

Download free demo

Back to the past, 15 years ago! Open Publish 2002

Looking back to 2002, it's amazing how much of the prediction became a reality. Take a read and see what you think!

September 14, 2017
Platinum Sponsor





Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.

Features

Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.