tmas73 Posted June 26, 2006 Posted June 26, 2006 I remember a few years back a script where I could select on a sheet of labels which one to print without wasting the others! I checked here and on the web but could not find this technique anymore! Anyone with any links or maybe even a FM8 updated version on how to do that? TMAS
SteveB Posted June 27, 2006 Posted June 27, 2006 If you're using a laser to print the labels, FORGET IT! You stand a good chance of screwing up the mechanism, once you peel one or more labels from a sheet. Laser labels were meant to go thru the paper feed (fuser) once with all the labels in place. If your using an inkjet, here's one way (a little kludgy) Create a new table that has as many records as labels. If you're up to label 5, you'll need to clear the first 4 records, etc. (not delete, just clear the info). Then just print all the labels in sorted order. Steve
tmas73 Posted June 27, 2006 Author Posted June 27, 2006 Thank you! That helped! The only drag I found embedet in my solution it will display global fields in non printed spaces! Any work arounds on that? Thanks for the help! I wish I could give some help back to the comunity not only take! TMAS
comment Posted June 27, 2006 Posted June 27, 2006 (edited) If I understand this correctly, you need to either import the globals into regular fields in the Labels table, or define calculation fields in the Labels table to conditionally display the global values. Due to a bug in version 7, if you go with the first option, you need to import through a repeating field calculation - in the same way as the ID is being imported in the demo. EDIT: I have just tested this, and the second option seems much easier: just make a calculation field (in the Labels table) = Case ( DataID ; Data::someGlobalField ) and put in on the label layout. Edited June 27, 2006 by Guest
tmas73 Posted June 28, 2006 Author Posted June 28, 2006 Sorry but could you have a look at this slimed down solution! It wont do anything! I hope I explained it right in the above msg. The global fields should not show up in the emty (non printing) labels! Thanks for your help! TMAS error.fp7.zip
tmas73 Posted June 28, 2006 Author Posted June 28, 2006 (edited) Woow thanks so much! So now if I have different layouts, I just use the same table and it goes to a different layout via calculation? Also I noticed graphics like grids, or picures also a portal row grid will show up in the emty spaces! Any work around graphic elements?? TMAS Edited June 28, 2006 by Guest
comment Posted June 28, 2006 Posted June 28, 2006 I believe one table with several layouts should be sufficient.
tmas73 Posted June 28, 2006 Author Posted June 28, 2006 Sorry as soon you answered I changed the post! Please read!
comment Posted June 28, 2006 Posted June 28, 2006 There are no empty spaces - only dummy labels. Anything you put on the layout MUST be there conditionally (in the same way as the logo).
tmas73 Posted June 28, 2006 Author Posted June 28, 2006 So how is it possible to hide Lines, Pictures or frames?
comment Posted June 28, 2006 Posted June 28, 2006 I would make one combined graphic including everything (logo, lines, whatever), and put in a global container.
tmas73 Posted July 6, 2006 Author Posted July 6, 2006 Hey me again, was a while but now I'm back on this project, you mentioned container fields for graphics. But what if I have a portal row. The portal row will still show up! TMAS
comment Posted July 6, 2006 Posted July 6, 2006 A portal row on a label? Whatever for? Is it a single row? Does it contain a mixture of fields from different TO's?
tmas73 Posted July 6, 2006 Author Posted July 6, 2006 (edited) In this case it displays scene indexes! I have a Mini DV Tape and its Scenes with Time! So it should display the scenes on the tape! Oh and the last file you posted error.fp7 the quantity wont work, I have no idea why! Do you know? Thanks T Edited July 6, 2006 by Guest
comment Posted July 7, 2006 Posted July 7, 2006 The quantity does not work, because in your Import step dialog you haven't checked the 'Split repeating fields into separate records' option. If you really need to place a portal on the label, the portal's line/fill attributes must be transparent.
tmas73 Posted July 7, 2006 Author Posted July 7, 2006 Sorry me again. I know I'm anoying, sorry! Just trying to get this to understand and work! I want a popup menu where I can choose to what layout it should go like in the last example. I use Your Generate Label Script and added a if else if.. steps to go to different layouts, but it wont work! It stayes on the main layout and wont do anything! TMAS
comment Posted July 7, 2006 Posted July 7, 2006 I can't see anything obviously wrong in your script. The only thing I can suggest is to try and isolate the problem, e.g. If [ selected = "Layout1" ] Go to Layout [ Layout1 ] Else If [ selected = "Layout2" ] Go to Layout [ Layout2 ] Else If [ selected = "Layout3" ] Go to Layout [ Layout3 ] Else Beep Show Custom Dialog [ "none of the conditions evaluated as true" ] End If
tmas73 Posted July 7, 2006 Author Posted July 7, 2006 (edited) Now I'm getting the show dialog error msg. Here the file! It seems it doesnot like the script steps to go to different layouts! If I remove those and just leave the go to layout without the "if" stips it works. help.fp7.zip Edited July 7, 2006 by Guest
comment Posted July 8, 2006 Posted July 8, 2006 It seems it doesnot like the script steps to go to different layouts! No, what it means is that none of the conditions evaluated as true. It seems to work if you select Avery 5262 or Avery 5267. Avery 5260 is not in the value list. All the other options are not (yet?) provided for in the script.
tmas73 Posted July 8, 2006 Author Posted July 8, 2006 Sorry about that i thought I checkt it enough! I dont want to waste your time! Would you recomend making the pop up menue a global? T
comment Posted July 8, 2006 Posted July 8, 2006 Definitely. Otherwise the selection is specific to each record.
tmas73 Posted July 11, 2006 Author Posted July 11, 2006 Hi, so it should be possible to hide layout parts with Filemaker 8.5, after naming objects! You think it will be? TMAS
Vaughan Posted July 12, 2006 Posted July 12, 2006 I don't recall a HideLayoutObject or HideLayourPart function or script step, so I don't think this will be.
Recommended Posts
This topic is 6701 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now