DIGIT-ARC read-only archive · snapshot: July 23, 2026

Printing "Fit to page" through any programming language

2 posts · originally from https://geek.digit.in/community/threads/printing-fit-to-page-through-any-programming-language.71844/

S
sakumar79 Original post #1
Oct 28, 2007 at 6:37 PM
Hi,

I want to know if any programming language has the feature to take a formatted piece of text (say HTML page, etc) and instruct default printer to print to "fit to page" (scaling text and image if size exceeds one page size) without raising the print dialog box... This is often done in spreadsheets but I want to be able to do it in a program...

Arun
sachin_kothari
Oct 28, 2007 at 6:46 PM
This is a page describing "Fit to Page" in CSS.