i made a PHP page that calculating bill of medical institute. i need to print the bill from this page. bt using window.print command it print whole page with buttons also.. bt i dont need no buttons.plz help me to print bill.. thnkuuu
Kadafiz 0 Light Poster
Recommended Answers
Jump to PostCreate a CSS for the media type print. That CSS will be used for printing, so you can hide all elements you don't want appearing on the page: http://www.w3schools.com/css/css_mediatypes.asp
Jump to PostBrush yourself with tutorials
http://www.css-help.com/css-mediaprint.htm
http://webdesign.about.com/cs/css/a/aa042103a.htm
All 7 Replies
pritaeas 2,211 ¯\_(ツ)_/¯ Moderator Featured Poster
Kadafiz 0 Light Poster
almostbob 866 Retired: passive income ROCKS
Kadafiz 0 Light Poster
Stefano Mtangoo 455 Senior Poster
almostbob 866 Retired: passive income ROCKS
Kadafiz 0 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.