1
votes

I am trying to produce production ready pdf.

I have eps file uploaded by admin and postscript file which I generate dynamically. I include eps with in postscript file

using below script

%%BeginDocument: danske.eps
(".$bgeps_path.") run
%%EndDocument

Now my problem is, there should be 10 mm space around image.

I managed to add 10mm space into pdf via translate.

But when It goes to print, printer cuts two edges, one is with 10mm space and other with image edge.

So what I want is to allow only one edge to cut that is with 10mm space.

I tried to achieve this by playing with BoundingBox but that does help me.

1

1 Answers

1
votes

BoundingBox is a comment, nothing more, and as such is usually ignored. If you want to place an EPS then you need to follow the rules for EPS inclusion. You need to set up the Current Transformation Matrix to correctly scale and position the EPS on the canvas at a minimum.

Tech Note 5022 the EPSF sepcification v3.0 has guidelines for importing EPS files on page 13, you really should read this, particularly the co-ordinate system transformation on page 16. The tech note is available here:

http://partners.adobe.com/public/developer/en/ps/5002.EPSF_Spec.pdf