Jump to content

dreimer

Registered Users - Approved
  • Posts

    524
  • Joined

Everything posted by dreimer

  1. I had an error in the post I deleted. Try this. var price = Field("YourFieldHere") var price2 = (StringToNumber(price.replace(/[^\d\.]/g, '')) + 9); return '$' + FormatNumber("#,###.00", price2)
  2. Try this: var price = Field("Price") // Your field here return '$' + (StringToNumber(price.replace(/[^\d\.]/g, '')) +9);
  3. OK, just thought I would ask, since I made that mistake before.
  4. Did you define a data source in Fusion Pro?
  5. Try this, keep in mind this is for the IMpB barcode but it may work. You don't seem to know the construct of the Certified barcode so it is tough to help. This adds the FNC1 Create this rule called something like "ForBarcodeRule" var s = Field("YourData"); return s.replace(/(\d{3})(\d{5})(\d{2})/, '($1)$2($3)'); Then create a rule for the barcode itself. return '<f name = "IDAutomationC128L">' + NormalizeEntities(MakeEAN128Barcode(Rule("ForBarcodeRule"))); IMpB Sample.pdf
  6. That did the trick. I like this, and will use this in the future I am sure. Thanks.
  7. Dan I was trying out your code but on the imposed file, the filler shift one position to the left for each set of four. I assumed the OP wanted the filler to always be the right most position.
  8. Oh, I sure that is fixed before I need to upgrade, I change that all the time. For the reason you mentioned about the imposition template pages. That is a lot of extra template building if you can't use the regular slug with the mark offset.
  9. You could use a template page as an imposition page in your template and then you can have your "Slug" or anything else anywhere you like on the imposed sheets.
  10. That is great Step, thanks for that. I would usually create a separate signoff data file but this allows me to skip that process.
  11. Perfect, thanks. I knew I had a typo somewhere but couldn't figure it out.
  12. I was looking to be able to change the attributes of the superscripting for the "Adult Cut Cents" field the same way the "$" can be changed. Like the code I posted initially having the '<p br=false superoffset=30 superratio=70>' available. Maybe Javascript won't allow it? I couldn't get the syntax to work with adding the field instead of the text "MY FIELD"
  13. Thanks as always, that works. How would I write it though if I need the "$" and the "Dollar Cents Field" to be different for some reason. Just covering my bases.
  14. I am trying to format a line of text that uses different superscript settings from other text boxes using the global settings in my template. I tried to pick up a different example but am having trouble getting it to work. Here is my code, I am trying to place a data field in the spot where it says "MY FIELD" but I can't get the syntax correct. My field name is "Adult Cut Cents" return "<p br=false superoffset=30 superratio=70><superscript>$</superscript>" + Field("Adult Cut Dollar") + "<p br=false superoffset=30 superratio=70><superscript>MY FIELD</superscript>" Any help would be greatly appreciated.
  15. You could do it an easier way if I understand correctly. Set the template up with the shell art but in the composition settings under Graphics, you could check the "Suppress Static Background in composition" button.
  16. I would build each page as its own in the Fusion Pro template and make them unused. Then have a OnRecordStart rule use a field in the data to call out which page to use for each record.
  17. I get it and you can do that as I stated, create each letter version as it's own page in your Fusion Pro template and have a field in the data trigger which page to use. The pages in the template will set to unused. Fusion Pro will then switch the page needed for each record just as XMPie would switch layers.
  18. Build your template with a page for each letter version and name it according to a data field. Then use an OnRecordStart rule that the data specifies which named page to use such as: FusionPro.Composition.SetBodyPageUsage(Field("YourDataField"), true);
  19. If you are doing just one copy of each two pager (Front and Back) not varying quantities, you could try using the following rule in OnJobStart callback. FusionPro.Composition.impositionSheetBackgroundFrontPage = "Imposition"; FusionPro.Composition.impositionSheetBackgroundBackPage = "Imposition"; Just add your Template page named "Imposition" at the end of your 1000 page PDF and set your datasource to none and apply your imposition (fpi) file on composition. I do this all the time. I should add, that I do this when doing multiple-up of each set. But should work if you are doing just a one-up imposition say 17X11 on a 19X13 sheet for example.
  20. Have you tried using a template imposition page with that bar on it?
  21. Did you try adjusting it in the Global settings in the paragraph settings?
  22. Any update on a fix for this?
  23. I think you need 9.3 or later for Acrobat DC
  24. What dictates which style to use? If it is a field driven thing, I would create three text resources for your different alignments and then use switch rules to pull in the resource needed for each instance in your data.
×
×
  • Create New...