PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, September 15, 2022

[FIXED] How to print page number in Chrome and Opera

 September 15, 2022     css, html, opera, printing     No comments   

Issue

I have a web app. I'm using Chrome and Opera on that app.
I want to put the page number in the print page preview in a specific td form like this:

<thead>
    <tr>
        <td>thead data</td>
        <td>thead data</td>
        <td>page number of pages numbers</td>
    </tr>
</thead>
<tbody>
    <tr>
        <td>tbody data</td>
        <td>tbody data</td>
        <td>tbody data</td>
    </tr>
</tbody>

In Firefox I tried this answer on StackOverflow.
It worked only in Firefox.
But my problem is that I want it in Chrome and Opera.
I've tried many things but nothing works.


Solution

To print page numbers you've to set Chrome and Opera print settings.

Click Ctrl + P and a popup will appear. Click on More Settings button and check the Header & Footer and it will show the page numbers.



Answered By - Muhammad Awais Iqbal
Answer Checked By - David Marino (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing