Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Expand a layout based on the amount of data shown for printing..???


This topic is 6139 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a layout that's setup for printing from a 3" thermal receipt printer.

Right now I just have a little portal in there displaying the items purchased on the order but I simply made the layout pretty tall in order to fit at least 10 items or so.

The obvious problem with this is too many items wouldn't fit, and the other problem is that when there is only 1 or 2 items a bunch of blank white space is coming out and wasting printer paper.

Any information on how I can make the layout expand based on the number of items in the portal would be greatly appreciated. Thanks!

Posted

As you have discovered portals really don't work on printing. The trick is to make the report from the aspect of the child table.

That is, the report layout should be run from the child layout, using some of the parent table for heading stuff. The report style is a simple plain listing of records using standard report design.

Assuming you have an on-screen layout (as current) then a simple script to GTRR, switch layouts and print should suffice. The script could also freeze the window to give an invisible effect. Don't forget to to go to original layout at the end.

This topic is 6139 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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