Jump to content

mclisa81

Registered Users - Approved
  • Posts

    113
  • Joined

Converted

  • Location
    Newington CT

Converted

  • Occupation
    CSR

Converted

  • FusionPro Products
    Yes

Converted

  • FusionPro VDP software version
    10.1.11

Converted

  • OS
    Windows 10 Pro

Converted

  • Acrobat Version
    Acrobat DC

mclisa81's Achievements

Collaborator

Collaborator (7/14)

  • First Post Rare
  • Collaborator Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

10

Reputation

  1. Thanks for that information! I think putting it under NOTE is the way to go.
  2. Hi, I'm wondering how to handle adding a telephone extension. I realize my code below isn't correct because it dials the whole number, including the extension. I saw a vCard that had the extension in the notes but can't find one that has the extension with the telephone number. Would that be the only way to accomplish this? My rule is below and I will upload my collected files. // vCard format // http://en.wikipedia.org/wiki/VCard // Note that support for vCard may be more limited than for MECARD, // and that vCard requires more data to be encoded, resulting in a denser barcode. var info = { N: Field("Employee Name") + ';;;;' + Field("Suffix"), FN: Field("Employee Name") + ' ' + Field("Suffix"), ORG: Field("Title 2"), TITLE: Field("Title 1"), "EMAIL;type=INTERNET;type=WORK": Field("Email"), "TEL;type=Cell": Field("Cell"), "TEL;type=Work1": Field("Work1") + ' ' + Field("Extension"), "TEL;type=Work2": Field("Work2"), "ADR;type=WORK": ";;" + Field("Address 1") + ';' + Field("City") + ';' + Field("State") + ';' + Field("ZIP"), } var result = ["BEGIN:VCARD", "VERSION:3.0"]; for (var label in info) { if (info[label]) result.push(label + ":" + info[label]); } result.push("END:VCARD"); return MakeQRBarcodeGraphic(result.join(Chr(13) + Chr(10))); One additional question. When I scan the QR Code using my iphone camera, it puts the email under the name at the top, which is incorrect. But when I add it as a contact and view it, the titles are under the name, as they should be. Is this just a glitch or can that be fixed somehow? Thank you in advance Lisa Business Cards code.zip
  3. Perfect! Thank you so much Scott! Lisa
  4. Hi Scott, Thanks for getting back to me. I'm not sure if it's something I'm doing (or not doing), but the output isn't working correctly. I may have not explained it clearly the first time. I'll attach screen captures ... sorry, they're BIG screen captures. This is how my output looks now with the new rule ... http://forums.pti.com/attachment.php?attachmentid=1905&d=1540497427 This is what I need ... http://forums.pti.com/attachment.php?attachmentid=1904&d=1540496780 Thanks again, Lisa
  5. Good morning, I have a rule that I need a little help on. The client is sending us one very large pdf file and I need to split it into single record pdfs by the page count in their data. Record 1 would be pdf pgs 1-6 Record 2 would be pdf pgs 7-10 Record 3 would be pdf pgs 11-12 Record 4 would be pdf pgs 13-16 Record 5 wuold be pdf pgs 17-22 etc. Only using the "Count" column in the data, I have Record 1 working using the "graphicRuleNeedsHelp" rule. I just can't figure out how to add the previous record page Counts to the current record page Counts to get the start and ending numbers on the subsequent records. NOTE: I have a rule, "graphicRuleWorks" which works correctly because I added 2 columns to the data with formulas to get the "start" and "end" pdf pages. I can use this rule, however, I would rather just use their "Count" column they supply. I'm uploading the collected file for a visual. Thanks in advance, Lisa ptitemplate.zip
  6. Thanks Dan, After removing the loop (which also fixed the double spacing on all the rows), the alignment is perfect (dates aligning under the days) using: table.AddColumns(1980,1280,2080,1280,2400,980,1880); Note: There's still a "different" spacing issue mentioned below on certain rows. I think I need to keep this: var title = '<p br=false quad=C><z newsize=12><leading newsize=-20>' + MonthName + '<br><br></color></leading>\n';Because, if you preview record 2, row1 is in the perfect position. The whole calendar looks like it should: http://forums.pti.com/attachment.php?attachmentid=1876&stc=1&d=1534324438 However, record 1 does not: http://forums.pti.com/attachment.php?attachmentid=1877&stc=1&d=1534324438 EDITED - I believe the issue with row1 on record 1 is that the empty cells do not have the same Margins or PointSize as the other cells. Is there a way to add Margins (Top and Bottom) and the PointSize to the empty cells? Or, is there a way to change the default Margins and PointSize (without affecting any other FusionPro jobs that is). I also changed this: row.Cells[day].VAlign = "Bottom"; to this: row.Cells[day].VAlign = "Top"; I'm assuming this only "appears" to have fixed record 2 because row5 with empty cells is now Top aligning. However, record 1, since there are empty cells on row1, you see the extra space below. I guess it doesn't matter if it's Top or Bottom, if we can get the Margin thing working correctly. I messed up in my original post by implying I only had questions on the bottom calendars. See boxed area on p2 of the template. I have white Text Frames behind all the dates that are knocking out the top rule behind the date: http://forums.pti.com/attachment.php?attachmentid=1875&stc=1&d=1534324438 However, if there are empty cells (no dates), I need that Text Frame to be suppressed: http://forums.pti.com/attachment.php?attachmentid=1874&stc=1&d=1534324438 Typically I would just write a rule to suppress if something is empty. However, I don't know where to incorporate that in the Calendar Function. I believe it would only be needed for the first 6 cells of row1 (Frames b1 through b6) and the bottom 7 cells of row5 (Frames b7-b13). I'm sorry I was less than clear originally. I was rushing, being given extremely short notice to produce this. That's no longer the case, so I can take the time to try and understand everything. Thank you for your detailed explanations and invaluable help as usual. 14288_LM_Deskcal_template3.zip
  7. This is a job we've done for years and they're trying to keep as much of it as "static" as possible. Only the Dates and Month/Year are to be variable components. I came in with a clear head ... found and fixed a few issues in my rule, but I'm still fighting with the same problems. Revised and re-uploaded the files. If anyone was looking into my first files, that's fine. I didn't change much and any help with them would be welcomed. All of these are for the calendars at the bottom of the page. When I use "AddColumns" and put in 7 different column widths, the leading between the dates messes up, but my columns align where I want them. When I use "AddColumn", which allows only 1 column, that fixes the leading between my dates, but the columns don't align. See p2 in the template for what I'm looking for. I have white boxes behind the calendar dates to knockout the static rules. I know how to suppress boxes, but I just don't know where/how to add this to the calendar function. There are 13 boxes I believe this could happen on, the first 6 on the top row and the complete bottom row. See p2 in the template for what I'm looking for. Not sure about the table width error either. I added up the columns and they don't exceed my frame widths. I opened up the text frames and still get the errors. I don't think this is messing anything up, just throwing an error. As always, any help is appreciated and thanks in advance!! Lisa 14288_LM_Deskcal_template.zip
  8. Exactly what I was looking for. Thanks for the help Dan! Lisa
  9. Hi, I'm trying to generate a table for particular calendar months and ran into an issue. Since we are only allowing for 5 weeks, some dates need to be combined on the 5th row (see circled dates on p2 of the template for an example). I believe there would only be 3 different occurrences, 23/30, 24/31 or 23/30 and 24/31. I'm sure there is a way to do this but I'm stumped. I've uploaded the collected files. Thanks in advance for any help. Lisa cal.zip
  10. Hi Eric, Thanks for the reply. I actually downloaded FontForge, we no longer have Fontographer, last week and started to poke around in it. In my spare time (haha), I am going to try your suggestion. It seems like it will work out well for this project. Thanks Lisa
  11. Hi, Thanks for your reply. I've read other posts on the forum with the same issue, so I figured it was something I'd have to find a workaround for. However, I was kind of hoping they would have come up with a fix for this. Thanks again for the suggestion! Lisa
  12. Hi, This is a 2 part problem. I'm trying to match (or come close) to the 2 static examples at the top of the template page. 1) I need the space between the $ and the 1 closed up. I'd actually like it a more closed up between all the numbers if possible since the client may ask for that after they see the proof. 2) I need tighter tracking on the word "OFF". In both cases if I remove the superscript tag from my function/rule, it sees the tracking tag. My javascript global function YourPrice(price) { var newYourPrice = ""; var trimPrice = price.replace(/[^\d\.]/g,''); // Strips out anything that's not a digit or a decimal var decimalPrice = FormatNumber("0.00", trimPrice); // Formats to 2 decimals var SuperPrice = decimalPrice.split(".")[1]; // Everything to the right of the decimal var SuperPriceNoZero = SuperPrice.replace(/00/g, ""); var NormalPrice = decimalPrice.split(".")[0]; // Everything to the left of the decimal var regOneMatch = /1/g; var NormalPrice1 = NormalPrice.replace(regOneMatch, "<tracking newsize=\"-12\">1</tracking>"); var dollar = "<tracking newsize=\"-40\">$</tracking>"; if (price != "") { // If the price doesn't start with zeros, format as $x.xx if (NormalPrice1.replace(/0/g,'')){ newYourPrice = '<p override="true" br="false" superratio="44" superoffset="95"><superscript>' + dollar + '</superscript>' + NormalPrice1 + '<p override="true" br="false" superratio="44" superoffset="95"><superscript>' + SuperPriceNoZero + '</superscript>'; } // If the price is cents only, format as: xx¢ else { newYourPrice = '<tracking newsize="-5">' + SuperPriceNoZero + '</tracking>' + '<z newsize="8">' + " " + '<z newsize="50">' + '<p override="true" br="false" superratio="44" superoffset="95"><superscript>' + "¢" + '</superscript>'; } } return newYourPrice; } The off rule newOffPrice = Field("Value2"); off = newOffPrice.replace(/ /g, '<span><z newsize=25>' + " " + '</span>'); OffPrice1 = '<span><z newsize=30> </span>' + '<span><p override="true" br="false" superratio="60" superoffset="50"><tracking newsize="-12"><uppercase>' + off +'</span></tracking>'; return OffPrice1; I'll upload the template if that will help. Any help is appreciated since I'm on a tight deadline for this. Thanks Lisa 95601_Coupons_template.pdf test2.txt
  13. Hi, How can I change the size of the first digit in the EAN13 Barcode to be the same size as the other 12 digits? See jpg attached. Thanks Lisa
  14. Hi Jason, Here is my final code ... On Job Start FusionPro.Composition.forcePreprocessing = true; On Record Start FusionPro.Composition.composeThisRecord = FusionPro.Composition.inPreprocessing || [1,FusionPro.Composition.totalRecordCount].indexOf(CurrentRecordNumber()) > -1; Lisa
  15. Dan, That worked perfectly. Thanks again for all your help. Lisa
×
×
  • Create New...