yafreax Posted September 9, 2004 Posted September 9, 2004 Is it possible to tell FM to print x amount of copies based on a particular field? here's the issue, maybe there's another way to it. I created a packing slip / shipping label program that we have printing to a Zebra. The user puts in the total qnty and the qnty per box. From there i need it to print however many labels of the same label needed... (i.e. - 100 total pieces, 10 / box, i'd need 10 labels)... is there an automated way to do this? TIA
QuinTech Posted September 9, 2004 Posted September 9, 2004 Hey ya, try this: Create a global number field called PrintCounter. Do not allow users to use FM's native Print function, or else make it abundantly clear that they do so at their own risk. Instead, script the print with something like: Set Field PrintCounter = 0 Loop Print the Document Set Field PrintCounter = PrintCounter + 1 Exit Loop if PrintCounter >= total_qnty / qnty_per_box End Loop BTW, what's a Zebra? HTH Jerry
Ugo DI LUCA Posted September 9, 2004 Posted September 9, 2004 Hi, Ar you using Avrey sheets, and you want several of the same labels in say 10 avery labels ? If so, there's a sampler made just for you somewhere in this forum. Do a search for "Printing Labels".
yafreax Posted September 10, 2004 Author Posted September 10, 2004 sorry i wasn't clear. A zebra is a thermal label printer. Thermals are mainly used for box shipping labels like you see on UPS boxes. The come out on label per sheet, so it's not something like an avery label where there's multiple labels per 8.5 x 11 sheet: http://www.pcmall.com/pcmall/shop/detail.asp?dpno=969524 Quintech, thanks for the suggestion. I tried that option in FM 6 the last time i had to make a similar program, unfortunately it would not print all of the pages, as if the program tried to print too quickly for the printer driver. But that was in 6 and not using a thermal printer (which receive their data very quickly) so i will try that as well. How i alleviated this problem last time was kinda a pain, so i'm hoping that either the print counter works, or there is another way. here's how i did it last time since the print counter method didn't work: Show all Omit record Show omitted ( this confirmed that i was on the exact label they needed ) set field ( labelcount, 1) Loop duplicate record set field ( labelcount, labelcount + 1 ) exit loop if labelcount = totalboxes print found records so, that works wonderfully, but it's messy and not very elegant. Something i didn't think about then that i will do now is also mark the duplicates for deletion, then on exit, find all "duplicates" and delete. i am hoping there is a better way. I will try the print counter method and let you know if it worked. Thanks
QuinTech Posted September 10, 2004 Posted September 10, 2004 If necessary, you could add a Pause script step at the appropriate place. J
Recommended Posts
This topic is 7371 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