Click here to Skip to main content
13,095,663 members (52,463 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I am trying to Print Gridview data with Extra Info Like Receipt Asp.Net

I am using Print code


building string data and using js to print.

Print is working fine but i am unable to add extra details like company name on top and address at bottom.

In c# Asp .Net
Posted 8-Jan-13 6:21am
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Thnx @ Christian Graus

completed with javascript kept a hidden div

and printed by unhiding it and then kept it hidden

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I don't understand why you need 'print code'. You just need a window that shows exactly what you want to print and calls window.print in javascript. You can add any info you want, it will all print.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.170813.1 | Last Updated 9 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100