Are these label printers that print one label at a time? (not avery style multiple column sheets of labels...)
yes a 1 label at a time printers.
Then you have several options:
Option1: Use a temporary table for printing that is liked to the primary key of your original table in a relationship. A script can generate one record for each label and by assigning the correct value to the foreign key field in those records, you can show data from any fields you want in your oriignal table on this label layout. Then your "1 of 2" text can be used by inserting the layout symbols (Via the insert menu while in layout mode) fo rthe current record number and the total number of records into the appropriate merge text.
Option 2: Use a script with a loop that prints each label as a different job. You can specify the number of labels in a global field and a variable or global field can be incremented (add 1) each time the script prints a label.
Option 3: look into plug ins. There's one I know of FMButler that permits much more detailed control of the printing process than is possible with just FileMaker.
I'm not a programmer and learning as i go along and appreciate your help.
Where i place the label area on my order page it would be good to have a small box with a toggle select for big or small label then you put in a number of labels in the box next to it then press print.
most of my scripts i have setup say for uncover opens the invoice page then prints then closes and returns back to the original order page. I don't mind something like that.
How can i do this.
Define two fields in your order table: LabelSize and LabelQty.
Use a button with a script similar to:
If [ LabelSIze = "Large" //specify the value you use in your value list for large values in quotes here]
PerformScript ["LargeLabelPrint" ; Parameter: LabelQty ]
PerformScript["SmallLabelPrint" ; Parameter: LabelQty ]
Create a LargeLabelPrint script similar to this:
Go to Layout ["LargeLabel" (Orders)] ---> I'm guessing as to the name to put in parenthesis here
Set Variable [$Copies ; Get ( ScriptParameter )]
Set Variable [$K ; Value: $K + 1]
Print [Restore ; no dialog]---> specify Current Record and the correct printer here
Exit Loop If [$K > $Copies ]
Go to Layout [ Original Layout]
Your script for printing small labels would be nearly identical except that you'd have it go to a different layout and specify a different printer in the Print step.