Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Sorting for 2-up printing

Featured Replies

I print tear-off receipts on 8-1/2" x 11" Click-N-Ship labels. We cut the labels in half horizontally so we get a label that is 4-1/4" x 11" and is stuck on an envelope with a tear-off receipt that the customer tears off (see image). The customer then scans the QR code on the receipt and pays. I have the layout set up in Filemaker so the labels print two up. The problem is that when I cut them they are no longer in numeric sequence. I'd like to set up a sort order so that if I cut the labels in half I can simply stack them and they will be in the correct numeric sequence. So for example, ideally, if I print 100 labels, the sort order would be such that if I cut the 50 sheets in half and stack them the first stack would be records 1-50 and the second would be records 51-100. Similarly, if I print 50 labels the sort order would work the same way, or if I print 200 the same would happen. I'm not sure if I'm being clear here but would love some input. I imagine I'd have to have a sort order field that finds the number of records in the found set, divides it by 2, then creates a sequence in some way. I'm attaching images of the envelope with the label and the 2-up layout in Filemaker. Thanks in advance.

Screenshot2024-09-26at5_09_14PM.thumb.png.7ea021ed10990119a781aceda9911bfd.png

Screenshot 2024-09-26 at 5.13.56 PM.png

I don't understand your question. I see only one record across the page in your pictures.

Is it possible you are looking for something similar to this?

 

  • Author

I think so but not sure.

To clarify, the first picture shows the finished product, click-n-ship label cut in half horizontally and applied to a bubble envelope. The second picture shows the FM print layout with two records. Promo2300999 on the bottom and Promo2301000 on the top. A page printed landscape then cut in half horizontally. I'm attaching a screenshot of the FM Layout itself (the blue "back to order list" is a button that doesn't print in case the script stops).

Screenshot 2024-09-26 at 6.29.35 PM.png

So 2 records per page, one on top and one on bottom? And they should print in this order (if 8 records in total)?

Page 1 
- Record #1
- Record #5
Page 2
- Record #2
- Record #6
Page 3 
- Record #3
- Record #7
Page 4
- Record #4
- Record #8

I believe that's what we did in the thread I linked to, or something very similar. 

 

  • Author

Yes that's it. So I should look at the thread you pointed me to? 
 

 

Yes, if I remember correctly.

In a nutshell, if your records have serial numbers starting at 1, you can calculate on which page a record should be as = 

Let ( 
pageCount = Ceiling ( Get ( FoundCount ) / 2 ) 
;
Mod ( SerialNumber - 1 ; pageCount ) + 1 
)

Then just sort by the page number and by SerialNumber.

 

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.