0

My website system is running on chrome 37+ and using Angular.js and bootstrap.

For some reason, I can't print my website. When i try to print my website (using the browser print dialog), I usually get a blank print preview ("can not load print preview"). Sometimes it is not blank, but not really show my website.

I tried to run my website on some google chrome versions and some computers and it is not working. I have been searching for reasons, but can't find one that will fix this issue.

Let my know for reasons for this issue. Thank you.

user3648142
  • 47
  • 2
  • 7

1 Answers1

0

Chrome actually does have emulation of printing. See Chrome console screenie

You'll find this in a tab adjacent to console within developer tools. By enabling CSS media on print, you'll see your site with any print media applied. Once enabled, you may use the element inspection as usual to see how those extra css rules affect your site.

In particular, bootstrap will remove any background, and run a bunch of defaults across many typical elements.

Also, see this answer https://stackoverflow.com/a/21156904/2923245

Community
  • 1
  • 1
Dellkan
  • 1,861
  • 11
  • 15