Results 1 to 5 of 5
  1. #1
    brandondrich is offline Member
    Join Date
    Nov 2008
    Posts
    3
    Rep Power
    0

    Default Setting tri fold attribute

    I need to set the tri fold option to a document created using JasperReports. I am unable to find the tri fold within Java's Attribute class. Is there a way to set this attribute?

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  3. #3
    brandondrich is offline Member
    Join Date
    Nov 2008
    Posts
    3
    Rep Power
    0

    Default Setting tri fold attribute

    I want to have the printer perform a tri fold. When the pdf is generated by JasperReports, there are a couple of PJL settings it places in the header. One is duplex and another is trifold. I was able to turn on the duplex with the following:

    PrintRequestAttributeSet printRequestAttributeSet = new HashPrintRequestAttributeSet();

    printRequestAttributeSet.add(Sides.DUPLEX);

    But there is no java Attribute for turning on the tri fold option.

  4. #4
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    8

    Default trifold brochure...

    I think he's refering to a trifold brochure... a brochure folded twice... for example:
    http://www.mpaads.com/images/portfol...t-Tri-Fold.jpg

    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

  5. #5
    brandondrich is offline Member
    Join Date
    Nov 2008
    Posts
    3
    Rep Power
    0

    Default Setting tri fold attribute

    That is correct. I have also seen it refrenced as a double fold or a "Z-fold".

Similar Threads

  1. Errors come when i set attribute in request in Action Form
    By 82rathi.angara in forum New To Java
    Replies: 3
    Last Post: 09-22-2008, 03:05 PM
  2. Invalid usebean class attribute - new to java
    By grinsalot in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 07-04-2008, 05:54 AM
  3. how to add an attribute with sax?
    By cecily in forum New To Java
    Replies: 3
    Last Post: 07-19-2007, 05:09 AM
  4. Problem with Attribute in JSP
    By Albert in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 07-13-2007, 04:11 PM
  5. Request attribute PageBean = null
    By Nick15 in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 05-17-2007, 04:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •