I have a need to print pages from a web app on to 8\" x 4\" index cards. IE doesn\'t save print settings from one print to the next, so is there a way to programmatically fo
You can do this in CSS using the @media print directive, no js required. You'll have to calculate what sizes relate to a 4x8 index card and do all the positioning yourself, but it will work. Also, since this is CSS2 it won't work in IE6. (see Joel's comments)
@media print {
body {
width: /*width of index card*/
height: /*height of index card*/
}
/* etc */
}