Jump to content

macfan55

Registered Users - Approved
  • Posts

    37
  • Joined

Everything posted by macfan55

  1. Thanks! This was the solution - never thought about that it would be this simple!
  2. Hi everyone; I have a template with different bodypages. The pages have different names (Page Usage) which are also present in an excel file. the OnRecordStart rule I made is the following: if (ToLower(Field("accountmanager")) == "Ed") { FusionPro.Composition.SetBodyPageUsage("ed1",true); FusionPro.Composition.SetBodyPageUsage("ed2",true); FusionPro.Composition.SetBodyPageUsage("jasper1",false); FusionPro.Composition.SetBodyPageUsage("jasper2",false); } else if (ToLower(Field("Accountmanager")) == "Jasper") { FusionPro.Composition.SetBodyPageUsage("ed1",false); FusionPro.Composition.SetBodyPageUsage("ed2",false); FusionPro.Composition.SetBodyPageUsage("jasper1",true); FusionPro.Composition.SetBodyPageUsage("jasper2",true); } return "" When I compose a job (just the first 10 records) I get the following error message: FusionPro could not find the first body page for this document. Composition stopped withe errors. Error no 1036. In the FusionPro Composition System the following message appears: Processing begun No page is emitted, please check page usage in your input file. In the log file I can read: Job started 08:43:09 - 1629787389. Creator: FusionPro® VDP Creator 10.1.11 Computer Name: Current working folder: /Applications/PTI/FusionPro Temporary files folder: /var/folders/sl/j0mzn4wn705chv47_vpbvxjm0000gr/T/ Template File: /Volumes/Var_Print/SMG/2106149 Ansichtkaarten Groeten Uit/2106149 ansichtkaarten testjelle.dif Input File: /Users/test/Desktop/Adviseurs tbv vakantiekaart NIEUWJelle.xls Job Config File: /Users/test/Desktop/Kaarten-Output.cfg Preprocessing started 08:43:09 - 1629787389. Preprocessing record #1, input record 1 Preprocessing record #2, input record 2 Preprocessing record #3, input record 3 Preprocessing record #4, input record 4 Preprocessing record #5, input record 5 Preprocessing record #6, input record 6 Preprocessing record #7, input record 7 Preprocessing record #8, input record 8 Preprocessing record #9, input record 9 Preprocessing record #10, input record 10 Preflight ended 08:43:09 - 1629787389. Composing record #1, input record 1 No page is emitted, please check page usage in your input file. Composing record #2, input record 2 No page is emitted, please check page usage in your input file. Composing record #3, input record 3 No page is emitted, please check page usage in your input file. Composing record #4, input record 4 No page is emitted, please check page usage in your input file. Composing record #5, input record 5 No page is emitted, please check page usage in your input file. Composing record #6, input record 6 No page is emitted, please check page usage in your input file. Composing record #7, input record 7 No page is emitted, please check page usage in your input file. Composing record #8, input record 8 No page is emitted, please check page usage in your input file. Composing record #9, input record 9 No page is emitted, please check page usage in your input file. Composing record #10, input record 10 No page is emitted, please check page usage in your input file. A blank page is emitted since no record is composed properly. Job ended 08:43:09 - 1629787389. Total Job Time: No page is emitted, please check page usage in your input file. Can somebody help me out with this error message? Greetings from the Netherlands
  3. It helped me from my Mac with OSX to connect with the volume of the pdf through the smb-protocol instead of the afp-protocol. I had the same issues before that.
  4. Thanks Dan! It works great for me. The side-effect of turning the rules into Javascript is that the processing of the files are going much faster since there are ± 300 of these rules in the job. (pick-up trash calendar of a complete city with little pictures of different sorts of trash) Greetings from the Netherlands
  5. Hi Dan; Thanks for answering but I can't figure out where exactly I have to put this code in the Rule of the field. It was made as an XML-template rule. If I convert that field to Javascript it contains the next lines of code: // Rule converted from XML Template "JA08": // Please select the appropriate values. // Begin XML Template selections // var Var1 = "JA08"; // "Choose the field containing the graphic name:" (Required): FieldList var Var2 = ".pdf"; // "Choose the type of graphic:" (Required): PickList [".jpg" (JPG or JPEG), ".tif" (TIF or TIFF), ".png" (PNG), ".pdf" (PDF), ".gif" (GIF), ".eps" (EPS)] var Var3 = "/Volumes/Var_Print/DAR/DARsymbolen"; // "Enter a search path:" (Required): SingleLine var Var4 = "FOUT.pdf"; // "Enter the image name of a default graphic:" (Required): SingleLine // End XML Template selections // temp = ''; var_extension = ''; has_extension = ''; if (Var3 == "") Var3 = Var3; else { if (FusionPro.isMac) Var3 = Var3 + ":"; else Var3 = Var3 + "\\"; } for (i=0; i<Field(Var1).length; i++) { temp = Mid(Field(Var1), Field(Var1).length-i,1); var_extension = temp + var_extension; var_extension = ToLower(var_extension); if(var_extension == ".png" || var_extension == ".pdf" || var_extension == ".gif" || var_extension == ".eps" || var_extension == ".tif" || var_extension == ".tiff" || var_extension == ".jpg" || var_extension == ".jpeg") { has_extension = "true"; i=Field(Var1).length; } else has_extension = "false"; } if(has_extension == "true") Pic = CreateResource(Var3 + Field(Var1), "graphic", true); else { if(Var2 == ".jpg") { Pic = CreateResource(Var3 + Field(Var1) + ".jpeg", "graphic", true); if (Pic.exists) Pic = Pic; else Pic = CreateResource(Var3 + Field(Var1) + ".jpg", "graphic", true); } if(Var2 == ".tif") { Pic = CreateResource(Var3 + Field(Var1) + ".tif", "graphic", true); if (Pic.exists) Pic = Pic; else Pic = CreateResource(Var3 + Field(Var1) + ".tiff", "graphic", true); } if(Var2 == ".png" || Var2 == ".pdf" || Var2 == ".eps" || Var2 == ".gif") { Pic = CreateResource(Var3 + Field(Var1) + Var2, "graphic", true); } } if (Pic.exists) { return Pic; } else { return CreateResource(Var3 + Var4, "graphic", true); }
  6. I have several picture frames which will be filled with pictures (pdf) as names stated in the data field of an excel file. If the datarecord is filled with a name of a picture that does not exist a default picture is inserted automatically. But this default picture is also placed with an empty record. Is there a way to instruct FP to leave the picture field empty when there is no data in the datafield and only to insert the default picture when the data in the datafield is not found as name of a picture? This way I can determine any missing pictures (wrong name etc) Thanks in advance for helping me out! Greetings from the Netherlands
  7. You can't place a picture or a picture-based rule within a textframe - You should use the picture-rule within a graphic-frame instead.
  8. https://www.dropbox.com/s/gac1pu92sr9qi58/NexPress%203D-ink.jpg?dl=0
  9. We work every day with the NexPress from Kodak with no problems concerning 3D or spot color text from FusionPro. When You go to FusionPro/Advanced/Colors... within Acrobat Professional You can define the right color like: "NexPress DryInk raised clear" - as "Spotcolor" and "Overprint". Greetings from the Netherlands
  10. In the meantime I have been able to solve the problem. Just bought the right font from ID-Automation. The font applied to the actual number (Sequential Numbering Rule) with an A at the beginning and at the end resulted in the right code. So it worked without difficult JavaScripting with just the right font applied in a text frame.
  11. Is there anyone who knows a way to generate the Codabar barcodes with Javascript and the right font from ID-Automation? It is for a blood bank hospital who likes to have a 6 or 9 digits readable barcode with just numbers, generated with the Sequential numbering rule (without an excell file) Thanks in advance!
  12. I have another question about the insert of a dash-sign (-) in a code of 7 characters. That is if there is a way to search for 4 digits or for letters in a row (could be any digits or letters) and when so to separate them in 2 parts of two with a dash in between. Examples of such codes to be changed: 12-ABCD changed into 12-AB-CD ABCD-12 changed into AB-CD-12 1234-AB changed into 12-34-AB AB-1234 changed into AB-12-34 Help will be much appreciated!
  13. How do I split a text-code like 2VBG45 or CF34HJ into 2-VBG-45 and CF-34-HJ What I want to achieve is insert a dash at the place where the text changes from letters to numbers and were it changes from numbers to letters. The by our customer delivered text-code is always 6 digits but the place/amount of numbers and letters are not always the same. So the total of numbers and letters is always 6 but the amount of letters and numbers in each code can be 2-4 3-3 and 4-2 so there ale always 2 dashes to insert. Any help will much be appreciated.
  14. Hi Dan; Thanks for Your support with this problem. I should have seen this checkbox myself; it must have been there in my first rule by mistake and then I copied it for the other rules. A good lesson for me: check ALL places where anything can be filled in... I totally overlooked this one.
  15. BarCodeBloks-test.cfg file: Job started 07:59:34 - 1538719174. Creator: FusionPro® VDP Creator 10.1.8 Computer Name: Current working folder: /Applications/PTI/FusionPro Temporary files folder: /var/folders/sl/j0mzn4wn705chv47_vpbvxjm0000gp/T/ Template File: /Users/test/Desktop/TestfilesBarcode128problem/LAB West - 18 labels Test.dif Input File: None Job Config File: /Users/test/Desktop/TestfilesBarcode128problem/BarCodeBloks-test.cfg Composing record #1, input record 1 Composing record #2, input record 2 Incomplete entity definition Î Malformed Entity &Î in record 2 Incomplete entity definition Î Malformed Entity &Î in record 2 Composing record #3, input record 3 Composing record #4, input record 4 Composing record #5, input record 5 Composing record #6, input record 6 Composing record #7, input record 7 Composing record #8, input record 8 Composing record #9, input record 9 Composing record #10, input record 10 Composing record #11, input record 11 Composing record #12, input record 12 Composing record #13, input record 13 Composing record #14, input record 14 Composing record #15, input record 15 Composing record #16, input record 16 Composing record #17, input record 17 Composing record #18, input record 18 Composing record #19, input record 19 Composing record #20, input record 20 Incomplete entity definition Î Malformed Entity &Î in record 20 Composing record #21, input record 21 Composing record #22, input record 22 Composing record #23, input record 23 Composing record #24, input record 24 Composing record #25, input record 25 Job ended 07:59:35 - 1538719175. Total Job Time: 1s
  16. Hi Dan; I collected the pdf etc as zipfile. I also noticed the error message which is also included. As You should see in the final output; some Barcodes are randomly smaller then others (not the ones without the extra 3 digits at the end) Hope You can find the problem here. Greetings from the Netherlands LAB West - 18 labels Test.zip
  17. I have a strange problem. A job without an inputfile. When I am make a rule for creating barcodes with a sequential number + a fixed number (401) together the endresult sometimes creates a Barcode without the control digit and the end of barcode character. Therefore some Barcodes are suddenly smaller then the ones created the right way. The rule I use is: return Make128BBarcode(Rule("Nummering Barcodes Rule")+ "401") and the Nummering Barcode ruls is the xml based sequential numbering rule with a starting number 30060001 with 8 characters selected. When I change the selected font in the text-areabox from IDAutomationC128L to Helvetica Neue I can read the following created codes: Ì30060000401ÈÎ (first record) Ì30060001401 (second, wrong) Ì30060002401.Î (right) Ì300600034016Î Ì300600044011Î Ì30060005401FÎ Ì30060006401NÎ " " " etc Then again at the 23th record: Ì30060023401 (wrong) What am I doing wrong here? Any help would be appreciated. I currently use FusionPro 10.1.8 on a Mac with 10.12.6 Greetings from the Netherlands
  18. Thanks for the answers! This has been again a great help for me! Greetings from the Netherlands
  19. Thanks for answering so quickly. Unfortunately I made a mistake in my first example. Not only it alters the - in excel to / in FusionPro. But it also switches the first and second number in the field. For the english speaking world this is correct but in the Netherlands the sequence of a date-field is: DD/MM/YYYY In excel the date is read correct like 20-09-1926 (DD/MM/YYYY) "Under the Hood" in the excel file itself this is representated as 9760 This is the 9760-th day after 0-0-1900 After importing the excel file in FusionPro it reads like 9/20/1926 (MM/DD/YYYY) With the given first solution (thanks for that) I can change that to 9-20-1926 but this has to be 20-9-1926 Has anyone any idea how to tackle this conversion problem without altering the excel file itself? In FusionPro I could not find any preference on how to interpret the numbering system of an excel date-field to the correct formatting of a country like the Netherlands. Thanks in advance.
  20. I have a problem in using native excel files with text formatted as "Date" When I open the file in Excel the column "Date" is filled like 27-04-2012 but after importing it as data source into FusionPro it becomes 27/04/2012 in the output How can this be solved without altering the native excel file?
  21. Thanks Dan! Great help - learned a few things. I used the latter script with the range-numbers, very handy! I only had to add another ) at the end of the 18th line like this and then it works. var ranges = [ 1911, [1941,1943], [9733,9737], [9741,9747], 9766 ]; FusionPro.Composition.composeThisRecord = CheckRanges(Int(Field("Postcode cijfers"))); return FusionPro.Composition.composeThisRecord;
  22. I have a adreslist with zipcodes that has to be split into two outputfiles based on the zipcodes in a particular field. (2 separate companies deliver it) Sofar I managed to create the output with the zipcodes of the first company with a java script rule but I can't figure out how to reverse the proces so that I get the missing zipcodes in a second output file for the second company. Here's the OnRecordStart rule of company 1: switch (Field("Postcode cijfers")) { case "1911": case "1941": case "1942": case "1943": case "9733": case "9734": case "9735": case "9736": case "9737": case "9741": case "9742": case "9743": case "9744": case "9745": case "9746": case "9747": case "9766": FusionPro.Composition.composeThisRecord = false; } If I just change the last line in "true" it just outputs al the records and that's not what I want. Any advice here?
  23. Yes, I am using Inposition. The problem is that I saved the template file as a "normal" pdf file outside the pdf I was working with. In the User Manual it stated that I could make the Background fils as a template file so I did just that... But it never occurred to me I had to actually place this page together with the variable master page as a separate page inside the same pdf-file. AND really make it a Template page with FusionPro / Manage Pages / Insert Page / Type / Template. So this first time I used a background page for the imposition was a good learning experience. After making the necessary changes it worked flawless, even with variable text elements inside that template page. Thanks again Dan for your good advice. Greetings from the Netherlands
  24. After making a Background Sheet for a specific Job I tried to compose the job several times but did not succeed. The Background is just not visible in the output file. In OnJobStart I have placed the following code: FusionPro.Composition.impositionSheetBackgroundFrontPage = "BackgroundDekbladen"; FusionPro.Composition.chunksBreakStacks = true; FusionPro.Composition.forcePreprocessing = true; The background sheet is a single sided pdf with the same size as the output file. I can't figure out what I am doing wrong here Any help is much appreciated. Greetings from the Netherlands
×
×
  • Create New...