You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Mario Madunic <Ma...@newflyer.com> on 2011/03/31 17:00:17 UTC

Problem with displaying crop marks

Using FOP 1.0

I've been trying to get crop marks to appear on a page by using the following extensions on simple-page-master with no luck

<!-- fox:bleed=".375in .3125in" -->
fox:crop-offset="2.375in 2.3125in"
fox:crop-box"="trim-box"

I've played with various values and when cop-box is set to trim-box the page displayed is the actual page size (3.875w x 6.25h) without the added crop-offset. Can someone please give an example of how to use these extensions to add crop or trim marks.

Thanks

Marijan (Mario) Madunic
Publishing Specialist
New Flyer Industries


Please consider the environment before printing this e-mail.


CONFIDENTIALITY STATEMENT: This communication (and any and all information or material transmitted with this communication) is confidential, may be privileged and is intended only for the use of the intended recipient. If you are not the intended recipient, any review, retransmission, circulation, distribution, reproduction, conversion to hard copy, copying or other use of this communication, information or material is strictly prohibited and may be illegal. If you received this communication in error or if it is forwarded to you without the express authorization of New Flyer, please notify us immediately by telephone or by return email and permanently delete the communication, information and material from any computer, disk drive, diskette or other storage device or media. Thank you.

Re: Problem with displaying crop marks

Posted by Pascal Sancho <pa...@takoma.fr>.
Hi Mario,

You have to change your fox:crop-box to 'media-box' (see [1]).

FYI fox:crop-box possible values are:
 - media-box (area containing cropmarks)
 - bleed-box (area containing bleeds)
 - trim-box (default, area remaining after crop)

[1] http://xmlgraphics.apache.org/fop/1.0/extensions.html#cropBox

Le 31/03/2011 19:26, Mario Madunic a écrit :
> Thanks Matthias,
> 
> Already looked at that and am not really interested in creating my own set of crop marks.
> 
> Thanks for the quick reply.
> 
> -----Original Message-----
> From: Matthias Reischenbacher [mailto:matthias8283@gmx.at]
> 
> Hi Mario,
> 
> you might check out Jeremias' example file:
> http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/fo/advanced/bleed-and-crop-marks.fo?view=markup&pathrev=800143
> 
> Regards,
> Matthias
> 
> On 31.03.2011 12:00, Mario Madunic wrote:
>> Using FOP 1.0
>>
>> I've been trying to get crop marks to appear on a page by using the following extensions on simple-page-master with no luck
>>
>> <!-- fox:bleed=".375in .3125in" -->
>> fox:crop-offset="2.375in 2.3125in"
>> fox:crop-box"="trim-box"
>>
>> I've played with various values and when cop-box is set to trim-box the page displayed is the actual page size (3.875w x 6.25h) without the added crop-offset. Can someone please give an example of how to use these extensions to add crop or trim marks.
>>
>> Thanks
>>
>> Marijan (Mario) Madunic

--
Pascal

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


RE: Problem with displaying crop marks

Posted by Mario Madunic <Ma...@newflyer.com>.
Thanks Matthias,

Already looked at that and am not really interested in creating my own set of crop marks.

Thanks for the quick reply.

Marijan (Mario) Madunic
Publishing Specialist
New Flyer Industries

-----Original Message-----
From: Matthias Reischenbacher [mailto:matthias8283@gmx.at]
Sent: Thursday, March 31, 2011 12:12 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Problem with displaying crop marks

Hi Mario,

you might check out Jeremias' example file:
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/fo/advanced/bleed-and-crop-marks.fo?view=markup&pathrev=800143

Regards,
Matthias

On 31.03.2011 12:00, Mario Madunic wrote:
> Using FOP 1.0
>
> I've been trying to get crop marks to appear on a page by using the following extensions on simple-page-master with no luck
>
> <!-- fox:bleed=".375in .3125in" -->
> fox:crop-offset="2.375in 2.3125in"
> fox:crop-box"="trim-box"
>
> I've played with various values and when cop-box is set to trim-box the page displayed is the actual page size (3.875w x 6.25h) without the added crop-offset. Can someone please give an example of how to use these extensions to add crop or trim marks.
>
> Thanks
>
> Marijan (Mario) Madunic
> Publishing Specialist
> New Flyer Industries
>
>
> Please consider the environment before printing this e-mail.
>
>
> CONFIDENTIALITY STATEMENT: This communication (and any and all information or material transmitted with this communication) is confidential, may be privileged and is intended only for the use of the intended recipient. If you are not the intended recipient, any review, retransmission, circulation, distribution, reproduction, conversion to hard copy, copying or other use of this communication, information or material is strictly prohibited and may be illegal. If you received this communication in error or if it is forwarded to you without the express authorization of New Flyer, please notify us immediately by telephone or by return email and permanently delete the communication, information and material from any computer, disk drive, diskette or other storage device or media. Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Please consider the environment before printing this e-mail.


CONFIDENTIALITY STATEMENT: This communication (and any and all information or material transmitted with this communication) is confidential, may be privileged and is intended only for the use of the intended recipient. If you are not the intended recipient, any review, retransmission, circulation, distribution, reproduction, conversion to hard copy, copying or other use of this communication, information or material is strictly prohibited and may be illegal. If you received this communication in error or if it is forwarded to you without the express authorization of New Flyer, please notify us immediately by telephone or by return email and permanently delete the communication, information and material from any computer, disk drive, diskette or other storage device or media. Thank you.

Re: Problem with displaying crop marks

Posted by Matthias Reischenbacher <ma...@gmx.at>.
Hi Mario,

you might check out Jeremias' example file:
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/fo/advanced/bleed-and-crop-marks.fo?view=markup&pathrev=800143

Regards,
Matthias

On 31.03.2011 12:00, Mario Madunic wrote:
> Using FOP 1.0
>
> I've been trying to get crop marks to appear on a page by using the following extensions on simple-page-master with no luck
>
> <!-- fox:bleed=".375in .3125in" -->
> fox:crop-offset="2.375in 2.3125in"
> fox:crop-box"="trim-box"
>
> I've played with various values and when cop-box is set to trim-box the page displayed is the actual page size (3.875w x 6.25h) without the added crop-offset. Can someone please give an example of how to use these extensions to add crop or trim marks.
>
> Thanks
>
> Marijan (Mario) Madunic
> Publishing Specialist
> New Flyer Industries
>
>
> Please consider the environment before printing this e-mail.
>
>
> CONFIDENTIALITY STATEMENT: This communication (and any and all information or material transmitted with this communication) is confidential, may be privileged and is intended only for the use of the intended recipient. If you are not the intended recipient, any review, retransmission, circulation, distribution, reproduction, conversion to hard copy, copying or other use of this communication, information or material is strictly prohibited and may be illegal. If you received this communication in error or if it is forwarded to you without the express authorization of New Flyer, please notify us immediately by telephone or by return email and permanently delete the communication, information and material from any computer, disk drive, diskette or other storage device or media. Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


RE: Problem with displaying crop marks

Posted by Mario Madunic <Ma...@newflyer.com>.
Thanks Pascal,

Wrote a XSLT yesterday to create the crop mark SVG. Was just being a truculent little child.

Marijan (Mario) Madunic
Publishing Specialist
New Flyer Industries

-----Original Message-----
From: Pascal Sancho [mailto:pascal.sancho@takoma.fr]
Sent: Friday, April 01, 2011 4:40 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Problem with displaying crop marks

Oops, I've don't read that...

You have to draw it yourself...
I've attached an XSLT file to make it.
You can use it as is, or tune it as you want.

Le 31/03/2011 17:00, Mario Madunic a écrit :
> I've played with various values and when cop-box is set to trim-box the page displayed is the actual page size (3.875w x 6.25h) without the added crop-offset. Can someone please give an example of how to use these extensions to add crop or trim marks.

--
Pascal

Please consider the environment before printing this e-mail.


CONFIDENTIALITY STATEMENT: This communication (and any and all information or material transmitted with this communication) is confidential, may be privileged and is intended only for the use of the intended recipient. If you are not the intended recipient, any review, retransmission, circulation, distribution, reproduction, conversion to hard copy, copying or other use of this communication, information or material is strictly prohibited and may be illegal. If you received this communication in error or if it is forwarded to you without the express authorization of New Flyer, please notify us immediately by telephone or by return email and permanently delete the communication, information and material from any computer, disk drive, diskette or other storage device or media. Thank you.

Re: Problem with displaying crop marks

Posted by Pascal Sancho <pa...@takoma.fr>.
Oops, I've don't read that...

You have to draw it yourself...
I've attached an XSLT file to make it.
You can use it as is, or tune it as you want.

Le 31/03/2011 17:00, Mario Madunic a écrit :
> I've played with various values and when cop-box is set to trim-box the page displayed is the actual page size (3.875w x 6.25h) without the added crop-offset. Can someone please give an example of how to use these extensions to add crop or trim marks.

--
Pascal