Jump to content

dreimer

Registered Users - Approved
  • Posts

    524
  • Joined

Everything posted by dreimer

  1. If you have control of the data, I use the alpha characters for my IMB and then I can just apply the font to that field in a regular text box. No rule needed.
  2. Wondering what users are using for font management and Fusion Pro. I recently upgraded Fusion Pro to 9.3.15 (from support) and my font management has went way downhill. I am using Universal Type Client and with 9.1.0 it worked pretty well, but now not well at all. I have been in contact with support and nothing they have recommended is helping. I have read in threads that Fusion Pro and Font management software don't always get along. May revert back to 9.1.0 or find a better font management solution. Was just curious to see what others are using. TIA.
  3. So I upgraded to 9.3.15 through Support. I am wondering if anyone else is having the date the file was imposed messed up? The PC which is running 9.3.9 has the date of the slug imposed correctly. On the MAC it looks like all the characters are on top of each other. No deal breaker just wondering if anyone else has seen this in previous 9.3 releases on the MAC. Bottom right is what I am referring to. I have attached an imposed template from the MAC.Weird Date.pdf
  4. As usual, thanks for your help Step. A few quotes here and there can change alot. Someday I will learn this JavaScript. As I should have expected, this does the same and outlines my resource art. Seems to work just fine if my artwork is the background of the template.
  5. So I tried this and it doesn't seem to work for me. I am trying it this way because I have a template where my background art is pulled in as a resource and when I try the text effects built in function, all my type is stroked in the resource art. Dan has told me this is a known issue. Here is my rule with the treat returned strings as tagged text check. return <stroke color="White" width="3000">HELP</stroke> It just returns "HELP" as normal. Also, if it was a data field how would I place that in the rule. It looks at return <stroke color="White" width="300">Field("Name")</stroke> as hardcoded text. TIA
  6. OK, yes you are correct, sorry it is the background pulled in as a resource. This is the first time I have tried using the feature so I am unable to say for sure if it is only affecting this template. Thanks for looking into it and referencing the known issue.
  7. I collected the job. I just have the one text box. So if you change the effects you will see how the artwork changes. It has happened to me on previous jobs when trying drop shadow as well.430501_FP_Test.zip
  8. I search the forums and saw a few old threads and the answers was no for the most part. I see that there are Advanced Text Effects for text boxes in later versions and was wondering how to get this to work. I am using the stroke option with Outline of white. I want to outline just one text box with white and it works on the text box but using this effect causes all the other static text in my background PDF to outline with black. I assume this is not supposed to happen. It does it on Preview and composition. Does this functionality work for others? TIA
  9. Wow, learning some good tricks here! My question is how is this sequential though if the files are randomly named?
  10. Exactly what I needed as always! Thank You!
  11. var XDF = new ExternalDataFileEx("61786_List_New.csv", "\,"); var firstItemColumn = 11; // Field Number Minus One var myTable = new FPTable; myTable.AddColumns(4800, 10000, 20000, 4800); myTable.AddRow() // This adds the header row below for (var row = firstItemColumn; row <= XDF.fieldCount; row++) { var itemCount = Int(XDF.GetFieldValue(CurrentRecordNumber(), row)); if (itemCount) { var thisRow = myTable.AddRow(); for (var cell = 0; cell < myTable.Columns.length; cell++) { var thisCell = thisRow.Cells[cell]; thisCell.SetBorders("Thin","Black","Top","Bottom","Right","Left"); thisCell.HAlign = "Center"; thisCell.VAlign = "Middle"; thisCell.Margins = { Top:40, Bottom:40 }; } var header = XDF.GetFieldValue(0, row); thisRow.SetContents(header.substr(0,2), header.substr(3,20), header.substr(21), itemCount); } } myTable.Rows[0].Type = "Header"; myTable.Rows[0].Cells[0].Font = "Myriad Pro Black"; myTable.Rows[0].Cells[0].PointSize = 12; myTable.Rows[0].Cells[0].HAlign = "Center"; myTable.Rows[0].Cells[0].Content = "CODE"; myTable.Rows[0].Cells[1].Font = "Myriad Pro Black"; myTable.Rows[0].Cells[1].PointSize = 12; myTable.Rows[0].Cells[1].HAlign = "Center"; myTable.Rows[0].Cells[1].Content = "DESCRIPTION1"; myTable.Rows[0].Cells[2].Font = "Myriad Pro Black"; myTable.Rows[0].Cells[2].PointSize = 12; myTable.Rows[0].Cells[2].HAlign = "Center"; myTable.Rows[0].Cells[2].Content = "DESCRIPTION2"; myTable.Rows[0].Cells[3].Font = "Myriad Pro Black"; myTable.Rows[0].Cells[3].PointSize = 12; myTable.Rows[0].Cells[3].HAlign = "Center"; myTable.Rows[0].Cells[3].Content = "QTY"; return myTable.MakeTags();So I have posted my rule that I have and I want to be able to change this line to split my header data into two columns where the pipe is. thisRow.SetContents(header.substr(0,2), header.substr(3,20), header.substr(21), itemCount); Right now I just tried to split at 20 characters but if I can somehow use the pipe to split it would be great. TIA I attached the data if it helps to see what I am trying. I have also attached the output if I only use three columns. Trying to modify the rule to make four columns and use the pipe to separate the field into the two columns. 61786_List_New.zip Output.pdf
  12. Sorry when I searched the forums I saw the title rounding to the nearest 5 so I didn't think it applied. Lesson learned, look at the thread anyway. Thanks this works perfectly.
  13. I have some jobs that have differing quantities ordered. I can fit 1500 per box. I am trying to create a rule to determine how many cartons are needed for each order. So then my labels will say for example 1 of 1 or 1 of 2, etc. I used this rule but am not sure how to have no decimal places and round to the nearest whole number. return Round((Field("Total Qty")/1500),0) So for example one record will have 500 for the quantity but the rule returns .3 and will in turn return 0 but I want it to return 1. For order for 1000 it will return 1 since it is .6 and rounds up. Question: Is there syntax to round up for any fraction of a whole number? TIA
  14. Try this: if ((Field("Location") == "NC") || (Field("Location") == "IL") || (Field("Location") == "CA")) return ""; else return Rule("Aufofill Rule"); Couple extra parenthesis and don't need the extra "ifs"
  15. Make sure you don't have any hard returns would be my first effort. Otherwise couldn't you just make the text frame larger but keep the bottom of the frame in place?
  16. Did you define a data source in Fusion Pro? Otherwise you can just create the frames through Fusion Pro manually instead of through InDesign.
  17. In the fpi file in the layout section did you try changing it to Single Gate Side by Side or maybe Saddle Stitched?
  18. Ah I see, that may be tough. I end up having to explain a few times a year how I can't impose at different rotations other than 180 degrees with FP.
  19. Done that, but only one-up though. Can't see how it would be any different than other jobs you use FP to impose.
  20. The drag and drop rule for the season is using the current date of composition. It is not using the data source! Now this doesn't answer the composition error issues between versions though.
  21. May want to check your data for special characters also.
  22. Oh interesting didn't know they were reversed. Good to know. And my main problem was Top and Bottom go in 10ths and Left and Right go in 100ths Thanks.
  23. Nevermind I guess. Got it to work by calling them in their own line. After all that, I think the whole problem was top and bottom go in 10ths whereas left and right go in 100ths. var numberOfFields = 16; // 16 Date, Amount, & Reference fields var rows = 1; // Header // Only make rows for all 'Date' fields containing data for (var n=1; n<=numberOfFields; n++){ if (Field("Date " + n)) { rows++; } } var myTable = new FPTable; myTable.AddColumns(10400, 10400, 32400); for (var i=0; i<rows; i++) { myTable.AddRow(); myTable.Rows[i].Cells[0].Margins = new FPTableMargins; myTable.Rows[i].Cells[0].Margins.Top = "60"; myTable.Rows[i].Cells[0].Margins.Bottom = "10"; myTable.Rows[i].Cells[0].Margins.Left = "1200"; myTable.Rows[i].Cells[0].Margins.Right = "450"; myTable.Rows[i].Cells[0].Font="Arial"; myTable.Rows[i].Cells[0].SetBorders("Thin","Black","Top","Bottom","Right","Left"); myTable.Rows[i].CopyCells(0,1,2); var date = (i > 0) ? Field("Date " + i) : "GIFT DATE"; var amt = (i > 0) ? Field("Amount " + i) : "GIFT AMOUNT"; var notes = (i > 0) ? Field("Reference " + i) : "DESIGNATION/GIFT NOTES"; myTable.Rows[i].SetContents(date,amt,notes); } return myTable.MakeTags();
  24. var numberOfFields = 16; // 16 Date, Amount, & Reference fields var rows = 1; // Header // Only make rows for all 'Date' fields containing data for (var n=1; n<=numberOfFields; n++){ if (Field("Date " + n)) { rows++; } } var myTable = new FPTable; myTable.AddColumns(10400, 10400, 32400); for (var i=0; i<rows; i++) { myTable.AddRow(); myTable.Rows[i].Cells[0].Margins = { Top:60, Bottom:10, Left:60, Right:30}; myTable.Rows[i].Cells[0].HAlign = "Left"; myTable.Rows[i].Cells[0].Font="Arial"; myTable.Rows[i].Cells[0].SetBorders("Thin","Black","Top","Bottom","Right","Left"); myTable.Rows[i].CopyCells(0,1,2); var date = (i > 0) ? Field("Date " + i) : "GIFT DATE"; var amt = (i > 0) ? Field("Amount " + i) : "GIFT AMOUNT"; var notes = (i > 0) ? Field("Reference " + i) : "DESIGNATION/GIFT NOTES"; myTable.Rows[i].SetContents(date,amt,notes); } return myTable.MakeTags();
  25. I have a table that uses borders. I have it HAlign Left but it is too close to the border. How can I shift it over to the right a bit. I tried Margins.Left but that doesn't seem to do anything. Also, does anyone know how to use copyfitting in a table??? TIA
×
×
  • Create New...