Overview of Multi-Item Print
Multi-Item Print is a method for generating print outputs for multiple entries in a single operation. In Yeeflow, this can be achieved by integrating collection controls and the print action, fulfilling requirements like batch printing QR codes. This article provides a step-by-step example of how to configure and implement this feature.
Use Cases for Multi-Item Print
Printing Employee Badges: Generate badges for employees or event attendees, including name, department, position, and QR code.
Printing Seat Cards: For events like conferences or banquets, print participant names, seat numbers, and event themes.
Printing Product Labels: For retail use, batch-generate labels with barcodes, product names, and prices.
Printing Event Tickets: For conferences or exhibitions, print tickets with attendee names, zone numbers, and QR codes.
Printing Membership Cards: Create membership cards for malls or clubs, including name, membership number, and QR code.
Printing Certificates: Batch-generate certificates or awards, including recipient names, certificate numbers, and anti-counterfeit QR codes.
These scenarios leverage the batch generation capabilities of Yeeflow's collection controls and print actions, improving efficiency and meeting diverse business needs.
Example Scenario: Batch Printing QR Codes
In a supplier management system, newly added suppliers each month require QR codes for records and distribution. The system already stores supplier information, and QR codes are used as unique identifiers. The goal is to batch print QR codes for multiple suppliers.
Steps to Implement
1. Configure Collection Control
Add Collection Control
Drag a collection control onto the page during page design to display supplier QR codes.
Set the data source to the supplier list.Configure Display Content
Add the following components to each collection item:QR Code Control: Generates a QR code bound to the supplier’s unique ID or other identifier fields.
Text Control: Displays the supplier's name.
Layout Design
Use a grid layout (e.g., three QR codes per row) to arrange the QR codes.
Ensure the page width is optimized for print output.
2. Add Printing Functionality
Configure Print Action
In the workflow, add a Print action to trigger the printing function.
Set Page to Print to the current page, as it contains the dynamically generated QR codes.Refer to this article for more details on how to use print page step action.
Test Print Preview
After triggering the Print action, preview the layout and content to ensure accuracy (e.g., A4 paper, portrait layout).
3. Printing Settings
Select Paper Size
Choose an appropriate paper size in the print preview (e.g., A4).Adjust Layout and Scale
Select Portrait or Landscape layout to ensure each QR code and text are clearly visible.
Keep the scale at 100% or adjust as needed for proper page fitting.Complete Printing
Key Configuration Points
1. Dynamic Content Binding
Ensure QR codes and text in the collection control are bound to the data source, allowing automatic updates during printing.
2. Layout Optimization
Ensure printed content stays within page boundaries.
Use pagination to fit content appropriately, avoiding QR code splitting.
3. Extensibility
Add additional information to each QR code, such as supplier contact details.
Support exporting to PDF for archiving or online sharing.
By following these steps, you can utilize Yeeflow's collection controls and print actions to efficiently batch print multiple items while meeting specific business requirements.