/    Sign up×
Community /Pin to ProfileBookmark

Need HTML code for print a page

Hi
I need a HTML code that ppl can click to print the page. I got the graphic to click in but don’t know the code, ? also do I need to make other page for printing? I mean if I send them to print friendly page. I have to make one that doesn’t have anything only text?
thanks in advance

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@ThiZz2_Jul 13.2006 — I belive that's the way you do it:

<A HREF="javascript:window.print()">Print</A>
Copy linkTweet thisAlerts:
@carmenprincipeauthorJul 13.2006 — Hi

Good Morning

Thanks , Im gonna try with it. but what I'm doubt is if I need to make a different page to print, cause the actual pages have all navegations buttons and graphics, if I write print a friendly page, I need to have a page with the words and the background only or this code only open there print box settings and they decide what to print? or its send to print directly.? OH boy sorry for making so many questions is just that I'm a bid confuse about it.

but anyway thanks a lot for share the code,

Have a beautiful Day

Carmen
Copy linkTweet thisAlerts:
@pcthugJul 13.2006 — I suggest reading: [url=http://alistapart.com/articles/goingtoprint/]A List Apart: Articles: CSS Design: Going to Print[/url]
Copy linkTweet thisAlerts:
@carmenprincipeauthorJul 13.2006 — pcthug

thanks for the information, I'll read it now.

thanks again and have a beautiful day

Carmen
×

Success!

Help @carmenprincipe 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 6.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: @nearjob,
tipped: article
amount: 1000 SATS,

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

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...