Click here to Skip to main content
11,577,965 members (63,925 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C# printing WinForm
I want to print the Invoice copy name on every printed pages, the number of copy depends on user.
like if user give
1 then first page on right corner show "Original Copy"
2 then second page on right corner show "Duplicate Copy"
3 then third page on right corner show "triplicate Copy"
4 then fourth page on right corner show "Quadruplicate Copy"
with same details..

How to do that with printDocument in C# ??
and how create multiple pages with same details with copy name ??
thanks in advanced...
Posted 9-Mar-13 6:53am
Edited 9-Mar-13 6:54am

1 solution

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

Solution 1

It is not clear what you are developing. If you are developing a piece of software for someone else, you should create your own Print routine which will call printDocument 4 times, each time with the appropriate text. There is no way around that. Print drivers can usually allow you to define odd and even numbers, and 2 side printing but you need 4 different layouts per each print, and there is no automatic solution except for calling printDocument 4 times.
Jayanta Chatterjee at 9-Mar-13 13:54pm
Thank You Sir.... :-)

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

  Print Answers RSS
0 Richard MacCutchan 165
1 Peter Leow 150
2 OriginalGriff 120
3 Afzaal Ahmad Zeeshan 100
4 Frankie-C 85
0 OriginalGriff 880
1 Sergey Alexandrovich Kryukov 685
2 Abhinav S 573
3 F-ES Sitecore 420
4 Suvendu Shekhar Giri 393

Advertise | Privacy | Mobile
Web03 | 2.8.150603.1 | Last Updated 9 Mar 2013
Copyright © CodeProject, 1999-2015
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