/    Sign up×
Community /Pin to ProfileBookmark

Print Page Setting

hi does anyone know what is the code for making a page automatically resize itself to a A4 size paper before printing so that it will fit nicely on one page.

Can anyone help me.

Thank you.

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@TageOct 29.2004 — You should look into CSS for print-specific settings. I don't know much CSS, but I think it's possible. Go to the CSS threads on these forums and ask.
Copy linkTweet thisAlerts:
@JonaOct 29.2004 — [font=trebuchet ms]A [url=http://www.webdeveloper.com/forum/showthread.php?s=&threadid=47705]similar question was just asked in the CSS forum[/url]. I linked to the W3C specification, which should give you any information you need on print display: <http://www.w3.org/TR/REC-CSS2/page.html>.[/font]
×

Success!

Help @Bruce_Lim spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...