Jump to content

Sdawson

Registered Users - Approved
  • Posts

    22
  • Joined

Posts posted by Sdawson

  1. Hello, I recently created some code for a project that I pieced together from other posts on this forum and I was wondering if you (the community) could take a look at it. I am trying to fine tune it and get a better understanding of all the cool things FusionPro can do.

     

    Background Information

    The job had 1,180 unique Order Numbers, 25 records per order number, 29,500 records total. It was 8.5 x 11 and imposed 2up on 11 x 17 duplex. I put them into stacks of 25. Two order numbers per output file.

     

    My Issue

    I was outputting just the Order Number.pdf and I wanted more information in the file name.

    o5fgHMOibBHXMyDgp2yjSIkrznZ-UtkDZX0t-zLLfEs?size=1280x960&size_mode=3

     

    So I wrote this code (took me awhile to figure this out) I would like to thank Step and Dan Korn, I have read a few of their posts and borrowed code trying to figure this out.

     

    OnNewOutputFile Callback Rule

    var CurrentOrderNumber
    var NextOrderNumber
    var ex = new ExternalDataFileEx(PrimaryInputFile());
    var rec = FusionPro.Composition.inputRecordNumber+25;
    
    CurrentOrderNumber = Field("Order_Number")
    NextOrderNumber = ex.GetFieldValue(rec, 0);
    
    FusionPro.Composition.OpenNewOutputFile(CurrentOrderNumber + "_" + NextOrderNumber + "." + FusionPro.Composition.outputFormatExtension);

     

    Success, I got the results I wanted.

     

    QwRhbXQfIx8g_USsRapFwQB8ld_7px_4QQdzy1kcXTw?size=1280x960&size_mode=3

     

    It took me awhile to figure out the GetFieldValue(record, FieldNameOrNumber) section. My input file was Tab Delimited so I wasn't sure how to use the ExternalDataFileEx(FileName,Delimiter) correctly and I don't think my FieldNames loaded properly so I ended up using FieldNumbers. Is there another way to call your current input file or is ExternalDataFileEx then PrimaryInputFile the only way to go?

     

    Thank you for your time. I had a lot of fun getting this far. I look forward to learning more about this.

  2. Hello, I am trying come up with a better way to manage my fonts and how FusionPro sees them. My issues is, I was designing a variable business card that needed Helvetica Neue Medium and Helvetica Neue Light. When I was in the Variable Text Editor I only got the Helvetica Neue Font Family. When composed it used my Helvetica Neue Ultra Light, when I used bold, it would use Helvetica Neue Bold Condensed. Crazy how many variations of one font can live in a Font Family!

     

    I am looking for advice on Font Family Management in FusionPro. I downloaded a trail version of TransType and just renamed the fonts to get them out of the Helvetica Neue Font Family. Is there an easier way to do this? Am I doing something wrong? What methods do you use to make sure you are using the correct font?

     

    I am looking into Extensis Suitcase Fusion 6. Any advice on this piece of software or is there some software you would recommend?

     

    Helpful Link

    http://forums.printable.com/showpost.php?p=292&postcount=3

     

    Window 7, FusionPro VDP Creator 8.2.7, Adobe Acrobat 7.0 Professional

  3. That is my current process. I am wondering if there is another way to do it using FP Imposer. I would like to take the 2 page PDF I receive from the client, then connect to the data, import my variable fields, and grab my imposition file then compose. Instead of receiving a file from the client and making it into a 17x11. I currently make page 1 and page 2 a resource and just add them to my 17x11 template.

     

    Thank you for your help dreimer.

  4. I have a 2 page 8.5 x 11 PDF and when I compose with a simple 2up imposition I get a 11 x 17 with Record 1 on the left and Record 2 on the right. Is there a way to get Record 1 Page 1 on the left and Record 1 Page 2 on the right? All on the same side? FP Imposer it seems to be record driven and each page creates a new page. Is there a way to make it page driven and when it runs out of pages it goes to the next record?

     

    Is FP Imposer the answer or is there something I can create in FusionPro using Javascript?

  5. I got a response from Support.

     

    This indicates a problem with the input PDF template or the destination output location with a read-write access issue.

    Try using Acrobat’s PDF Optimizer or Preflight Transparency Flattener to fix the PDF.

     

    I openned my PDF in photoshop and flattened it. Everything works now.

  6. I am getting a strange error during composition. "dtl_pdf_pageout, progress "dlpdfcontenttopage", error: This direct .... then I can't read anymore. But when I check the Suppress Static PDF background in composition everything works. Has anyone seen this error before? I think I have to fix my background art.

     

    Also I can't view my log file. It says "Could not view log file. Notepad.exe or log file was not found." I have Notepad++ installed and I don't think it can find that exe.

×
×
  • Create New...