You are viewing limited content. For full access, please sign in.

Question

Question

pagination printing

asked on April 5, 2023

Is there a way to have each page in the form print on a separate page? Currently when printing the form it appears that there are no page breaks. It's one continuous output. Page 1 has overflown onto page 2. Page 2 begins partial way down of page 2. Page 3 has started on page 2. And it just get more confusing on later pages.

This is page 1: 

This is page 2:

This is page 3:

0 0

Answer

SELECTED ANSWER
replied on April 10, 2023 Show version history

It can work with this CSS: 

.form-pages-container div.Page { page-break-after: always; }

 

We have logged it as a bug (ID 421694), and it will be considered for future release. 

2 0

Replies

replied on April 6, 2023

Are you saying that when a user has the form up and prints from the browser that it does this?

Or the archived version of the form to the repository does this?

I ask - because I assumed you meant the first one - and knowing a bit about CSS options that can change how a webpage (or form) is printed, I thought I'd try to make it work.  But in testing in the new designer, I can't get it to even print anything except the specific page on the screen, it won't work through each tab. 

So now I'm just curious - is there a setting I'm not seeing, or some CSS you are using - to get it to work through the print page by page?

0 0
replied on April 6, 2023

Thank you Matthew for responding.

Sorry, I meant the archived version of the form. Once it becomes a pdf. We allow the customer to print or email the document after the form is submitted. And we sometimes have to print the form from the repository.

0 0
replied on April 6, 2023 Show version history

I was hoping something like this would work.  I added this to a custom HTML element at the bottom of each page: 

<p style="page-break-after: always;">&nbsp;</p>

This does work for printing the form from the browser, but it doesn't do anything with the archived version. sad

 

Unfortunately it is really hard to try to resolve this kind of stuff and how the form archives from the New Designer.

On the Classic Designer, the way it looks from the Monitor page when viewing a completed user task is very similar to how it looks in the repository, so you can figure out options for CSS that will impact the archived version.

But the New Designer is different.  The way it looks on the submitted form from the Monitor page, is very similar to how it looks when running the form - which means the pagination is still functional tabs on the form.  But the way it archives is different.

Basically, Forms renders the form differently within the application than it does when it archives it, and I've never been able to find a way to view the archive version of the form within the browser, so that I could use the inspect element function and try to test different CSS options to see their impact.

The Classic Designer has a setting that you can turn on or off to dictate how the page breaks work on the archived version of the form.  But the new designer doesn't have that setting currently.  Hopefully Laserfiche will add it soon.

1 0
replied on April 7, 2023 Show version history

Matt, Where is that setting in the classic designer?  Thanks, Jim.

Nevermind, I found it.  The pagination tab of the heading set up.

0 0
replied on April 6, 2023

Well, darn.

Thank you for trying. Hopefully they will add it in the future.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.