Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> JavaScript >> Snippet

19 Printing


JavaScript has no built - in capability of printing to a printer.

JavaScript can write to the HTML window, but not to a printer.

CSS settings, however, can affect printing output.  Be sure to set
the font - size in points, not in pixels to make sure you know what
printed size you will get

< style >
p { font - size : 72px }    //pixels
p { font - size : 72pt }    //points
</ style >