Chrome inconsistent printing across devices - html

I am trying to print an HTML document of dynamic height to PDF. The document is made up of a variety of inputs and textareas, and I use flexbox for much of the layout. I've been doing some manual testing by filling up some of the inputs or textareas with text and then printing to PDF. The preview contained 22 pages on my laptop. I then tested the exact same file on a tablet and then on a desktop computer. The number of pages created was inconsistent, and sometimes off by a large number of pages. For example, my laptop printed 22 pages and the tablet 28. Why? How can I get consistent printing across devices? I would like to be able to have the exact same physical dimensions in the PDF for the exact same HTML content no matter what device or screen resolution or screen size I am printing from.

Related

CSS - Webpage Screen remains at a large size when in mobile mode

Screen Size unchanged on Mobile
Briefly explaining this, I have a Chat App that works well on a desktop view but when we go into mobile it seems that the device simply mimics the size of the desktop screen (ie: on my Oneplus 6 the <html> tag is around 4000x2000px). I'm quite new to HTML mobile scaling so forgive me if the wording for this isn't to par with what's expected.
Continuing, on my desktop if I manually change Chrome's window size my webpage scales perfectly while on my mobile device it's huge as said in the previous line. Would using the #media tag in css help specifically for this? If so, how?
One last thing, if I zoom in manually on my mobile it obviously looks perfect as it's meant to fit the new tall aspect ratios. Which is ultimately what I wish to do, just need to keep the website scaled perfectly like on the second picture (picture B).Image B

Html page will be displayed in four tv (screnn)

I have basic html page (w100% and h100%) and i need make a parts of html pages ( 4x 25%x25%). Becouse html page will be displayed in four tv.
Each tv would get its url to display a portion of the original htlm of the page
Any ideas how to do it? maybe iframe?
example situation here
Most desktop operating systems support four monitors in a 2x2 configuration used. So it might be enough to just open a single web browser, stretch it across the whole virtual desktop and show the single page inside it.

html5 webpages on multi display screen

how to code for website which will run on multi screen displays.
These displays are made by combining multiple led screens or monitors.
Each monitor will either display a separate webpage or will one web page be divided into grids to display accordingly?
It doesn't matter, just build the page as normal and let the hardware do the patchworking.

Printing from PDF.js to Dot Matrix Printer

i'm trying to print an invoice from an ASP.NET application to an Epson LX 300+. The problem i have is that i cannot use traditional ReportViewer because printing icon only works on Internet Explorer, the users use Mozilla and Chrome.
We tried to render a HTML page for the invoice and print, but horizontally is reduced around a 50%.
So we are trying create a ReporViewer and export it to a PDF, then open it using PDF.js... the result is the same horizontally 50% less.
The page size is Statement. I'm attaching 2 images printed from the PDF.js
I've noticed if we vary the resolution of the printer, it's 90% horizontally, but also changes the vertically.
Your help would be really appreciated. Regads. Also We tried on Chrome but its really fuzzy.
Printed from PDFjs on Mozilla 120x72dpi
Printed form PDFjs on Mozilla 120x144dpi

What needs to be configured so that the texts don't wrap?

I'm building a website using WordPress. Although the pages are well suited for Mobile site, this particular page is displayed very congested. This is the page from the website website - http://www.cyberfosters.com/anspress/
If you click F12 using Chrome browser on this page and toggle the "Device Mode" you'll see how it appears on a mobile device, I'm going through the CSS files to find out what needs to be changed but I can't seem to find out.
What I want is that the page should appear on a mobile as it does on the website but just scaled down.
I was looking at your html and css and the problem seems to be very simple, your site is not build to small deviced because it uses a mix of width values in PX and %, the design must be set in % to work well on multiple devices without using special pages for mobiles and other for pc this is my recomendation.
Example if you put a 1090px image on a 800px screen resolution it will just not work so what we do is to set image width value to 100% in this case and so on that way the images get auto resized the easy way. Do the same with tables images divs spans etc