Questions tagged [printing-web-page]

Printing a web page either on paper or as a .PDF file, usually through the browser.

236 questions
5
votes
3 answers

Modify the top and bottom margin of a printed HTML Page

I am looking to have a 75px margin on the top and bottom of each printed page. I have tried putting the margin on the body and a wrapper div, but both of these options just add a margin to the top and bottom of the whole document. This gives a 75px…
Dane
  • 51
  • 1
  • 1
  • 2
4
votes
3 answers

How to print gridview with scrolling?

I am making a gridview which uses scrolling as the column are a more than the page width of my webpage . The issue is when i want to print it only prints the shown data. How can i print everything in a div or panel ? MY CODE FOR GRIDVIEW:
confusedMind
  • 2,573
  • 7
  • 33
  • 74
4
votes
2 answers

How do I wait for the DOM to load completely before printing the page?

When trying to print a page on my Angular app, whether by using window.print() or pressing Ctrl + P, the print window opens but doesn't display the majority of the content on the page. After the first attempt is cancelled, a second attempt will…
4
votes
3 answers

Printing to Dot Matrix printers from Web Apps

I am not familiar with Dot Matrix printers but I have a customer with a WebApp that generates invoices, print checks, etc.. Currently they are printing directly from the server, meaning that the printer must be connected to the server or that the…
santiagoIT
  • 9,411
  • 6
  • 46
  • 57
4
votes
1 answer

What does the mozdisallowselectionprint attribute in PDF.js do?

Firefox' built-in PDF viewer, PDF.js, has a mozdisallowselectionprint attribute on the tag. What does this attribute do?
user2428118
  • 7,935
  • 4
  • 45
  • 72
4
votes
1 answer

Can @page rule be used inside @media print?

I have something like the following in my CSS, in order to be friendly to the edit styles bookmarklet, which doesn't support the media attribute of the style tag, so, I explicitly use @media print for the whole style. @media print { @page…
cnst
  • 25,870
  • 6
  • 90
  • 122
4
votes
3 answers

Strange IE7 Printing Bug

I have a page that renders fine in IE6/7 and Firefox 3.5. Both IE6 and Firefox 3.5 have no problems printing the page, but IE7 does. When the page is printed, the first half of my content div is not visible, with the exception of two tables that do…
iandisme
  • 6,346
  • 6
  • 44
  • 63
4
votes
1 answer

How can I manage classes like "row" and "span(X)" of Twitter Bootstrap to work on @media print?

I need to print web pages in my website and I'm wondering how to make row and spanX classes of Bootstrap work so I can easily manage the content of the printed page. For example:
Some…
Bagata
  • 2,120
  • 4
  • 25
  • 39
3
votes
3 answers

print from html pages in A4

I am designing this site which is for technical engineers to take prints from and the page sizes are varied. When pages are printed tables get cut up into 2 halves which makes it difficult for them to read. Is there any code which can make the…
rzlines
  • 1,417
  • 3
  • 14
  • 21
3
votes
1 answer

Using HTML/CSS to Shrink Content to Printable Page

Is there a way to force a web browser to shrink, reduce the font, or otherwise condense the size of content within a HTML/CSS-defined content-page to fit on a printed page? I am trying to print documents from a variety of web repositories to a PDF…
3
votes
1 answer

Epson TM-T20II Printer not able to print via javascript sdk

I downloaded the JavaScript SDK for Epson printer that supports TM-t20ii. i was able to print test page using the following url: http://192.168.2.175:9100/ Printer and pc connected via Ethernet and i am able to ping the printer url Output: OPTIONS…
gaby awad
  • 1,068
  • 1
  • 9
  • 17
3
votes
3 answers

Why is it so hard to print a web page properly?

I printed a page from a bank web site. Aside from the page with my data, I got five other pages with just a logo, just a header, just a footer, etc. It's sort of a joke in my household that you can't print a web page without getting a useless wasted…
phv3773
  • 487
  • 4
  • 10
3
votes
1 answer

How to print a webpage from a Dart/polymer web app

I am trying to print 'what I see' in my Dart+polymer web app. I am getting a blank page in the print preview (Windows). The Title is there, which I have removed using CSS (so there is a bit of reaction to my css! It's not totally dead). I have tried…
Lymp
  • 933
  • 1
  • 7
  • 20
3
votes
1 answer

Problem printing google maps printing and using 'page-break-before' in IE8

I'm having an annoying problem trying to get an html page with a google map on it to print correctly, I have a google map with an

above it all wrapped in a div and the div is set to 'page-break-before:always;' in the css so that the map and its…

3urdoch
  • 7,192
  • 8
  • 42
  • 58
3
votes
1 answer

Window.print() sets default copies to 2

I have a requirement that by clicking on a button, the printer dialog will open with the number of copies set to 2 instead of the default number 1.
Vijay Tagad
  • 31
  • 1
  • 2
1 2
3
15 16