Jump to content

Mike Edwards

Registered Users - Approved
  • Posts

    9
  • Joined

Converted

  • Location
    Des Moines, IA

Converted

  • Occupation
    IT Manager

Converted

  • FusionPro Products
    Yes

Converted

  • FusionPro VDP software version
    10.0.26

Converted

  • OS
    Producer on Win2012

Converted

  • Acrobat Version
    Acrobat DC

Mike Edwards's Achievements

Rookie

Rookie (2/14)

  • First Post Rare
  • Week One Done
  • One Month Later
  • One Year In
  • Conversation Starter Rare

Recent Badges

10

Reputation

  1. Actually, we ended up removing the entire Gotham font family from the Mac and then loading in just the fonts needed for this project and it worked as expected. Thanks!
  2. Whether we use apostrophes (NOT single quotes) in the data field, or as part of a substitution rule (as discussed in this thread http://forums.pti.com/showthread.php?t=4627), when rendered on the page, an extra space after the character is showing up. We see the same thing with em dashes. I suspect this is an encoding issue, but cannot seem to get around it--at least using the font our customer wants us to use (Gotham Book). Helvetica, for instance, renders as expected. Any ideas? Thanks, Mike
  3. I'm curious if anyone got this to work. We are considering purchasing a device that supports dimensional/clear ink/toner and would be disappointed if FP doesn't support it.
  4. Other VDP packages I have used support pie charts with labels that are tied to the wedges, so that it is clear what each wedge represents: We've tried to figure out how to do this with FusionPro, but to no avail. Does anyone have a solution? Thanks, Mike
  5. That checkbox solved the problem. Thanks!
  6. My apologies. I guess I wasn't being clear. There is no imposition on this job. Each record gets 6 letter-size pages duplexed on 3 sheets of paper as output. For our inserter equipment to properly read the barcode, a portion of the barcode must read 0103, 0203, and 0303 (sheet 1 of 3, 2 of 3, and 3 of 3). This tells the inserter when it is done with one record and can fold and insert, and move on to the next set. However, this code produces 0003 for every page. We checked it with a barcode scanning app known to work. It scans just fine, but the value returned is not what we need. As a test of what currentPageNumber returns, I made a simple rule and inserted it into the cellphone.pdf tutorial piece: var CurrPage = FusionPro.Composition.currentPageNumber; return CurrPage; When I click validate on that rule, it shows "1". When I preview it and when I compose it, it shows "0". It seems to me that it isn't returning what I think it should be. I am new to these forums and am hesitant to post customer data and/or art in this public space. However, we did send it to Alex at Marcom support on Friday, but his response was word-for-word the same as your initial post here and we haven't heard a response to my follow-up. If we weren't under a time crunch on this project, I wouldn't be following both methods of inquiry. Thanks for your assistance.
  7. Further testing shows that although when I run Validate during rule construction I get the correct value, when the job previews or is composed, it still shows "00" every time. Am I not understanding how this is supposed to work, or is there a bug?
  8. Yes, I get that, and it's what I expect, but this code is returning "00" for CurrSheet in every instance. I was hoping someone could tell me if my syntax is wrong or what the problem might be.
  9. Hi, everybody! First time posting. I've got a problem in getting a properly-formatted Datamatrix barcode to print for use with our intelligent inserter. It has to be of the format X999999SSTT where XX is a string, 999999 is a zero-padded sequence number, SS is a zero-padded number representing the current sheet, and TT is a zero-padded number representing the total sheets being inserted. Here is the code I came up with: { // Rule converted from XML Template "DataMatrix Barcode Rule": /* The goal here is to generate the proper Datamatrix 2D barcode * using the established pattern for our Rival inserter. * FusionPro does not have the notion of simplex/duplex, so we * have to state up front what that is. */ // Choose the following values: var JobIDseq = "INSCODE"; // Standard EDWARDS field name var TotalSheets = "SHEETS"; // Standard EDWARDS field name var Sides = "Simplex"; // Use Duplex here for duplex jobs. Mixed modes are not supported. var EncodingMode = "ASCII"; var PreferredFormat = "0"; var PointSize = 6; // "Font size (defaults to 10)": SingleLine var NoFontTag = false; var Font = "IDAutomationDMatrix"; var ProcessTilde = false; var TotSheets = FormatNumber( "00", FieldOrRule( TotalSheets ) ); // For simplex jobs, the current sheet is simply the page number. // For duplex jobs, we have to do some basic math. var CurrSheet = Sides == "Simplex" ? FormatNumber( "00", FusionPro.Composition.currentPageNumber ) : FormatNumber( "00", Math.ceil( FusionPro.Composition.currentPageNumber / 2 ) ) ; var DataToEncode = FieldOrRule( JobIDseq ) + CurrSheet + TotSheets; return MakeDataMatrixBarcode( DataToEncode, ProcessTilde, EncodingMode, PreferredFormat, PointSize, NoFontTag, Font ); } Everything seems to work except for assigning CurrSheet. It appears that FusionPro.Composition.currentPageNumber is not returning the correct value. Either that or I'm using FormatNumber wrong.
×
×
  • Create New...