Without it, scroll bars appear and content is clipped.

In firefox, everything is displayed normally and without problems.

But in chrome trouble:

When the developer panel is on, when printing, everything is ok.

Without it, scroll bars appear and content is clipped.

One option is to reduce interest, but this is not the best option.

  • one
    Invoice displayed in the frame? Then print the frame, not the main document. If displayed in a div, it is easier to remake the frame. Print frame on vskidku not remember. Something like windows.frames['name_of_print_frame'].print() - Sergey
  • Thank. You were right and prompted the correct way out of the situation. - novavovikov
  • If possible, publish the solution found in response to your question . I am sure it will help many of your colleagues in the future. - Nicolas Chabanovsky

1 answer 1

Print with iframe - windows.frames['name_of_print_frame'].print() .