Click here to Skip to main content
15,884,176 members
Home / Discussions / C#
   

C#

 
QuestionCalling new Process, path problems Pin
Member 1495533220-Jan-22 23:08
Member 1495533220-Jan-22 23:08 
AnswerRe: Calling new Process, path problems Pin
Richard MacCutchan20-Jan-22 23:41
mveRichard MacCutchan20-Jan-22 23:41 
AnswerRe: Calling new Process, path problems Pin
OriginalGriff20-Jan-22 23:48
mveOriginalGriff20-Jan-22 23:48 
QuestionPrinting two panels on a card back and front Pin
Member 1509338120-Jan-22 4:36
Member 1509338120-Jan-22 4:36 
AnswerRe: Printing two panels on a card back and front Pin
OriginalGriff20-Jan-22 5:12
mveOriginalGriff20-Jan-22 5:12 
GeneralRe: Printing two panels on a card back and front Pin
Member 1509338120-Jan-22 8:05
Member 1509338120-Jan-22 8:05 
GeneralRe: Printing two panels on a card back and front Pin
OriginalGriff20-Jan-22 8:12
mveOriginalGriff20-Jan-22 8:12 
GeneralRe: Printing two panels on a card back and front Pin
Luc Pattyn20-Jan-22 9:05
sitebuilderLuc Pattyn20-Jan-22 9:05 
I don't know your printer, however I would expect you need to create a PrintDocument that holds two pages, with HasMorePages set true for the first (front) and false for the second (back) page. Assuming this is correct, you could test your code on any printer even one that doesn't do duplex.

Also, the PrintPreview class is capable of showing two pages side-by-side. It takes some experimenting as the documentation isn't perfect, but I managed to get something similar working many years ago.

More info could be available in many places, including here (needs a Microsoft account):
How to show multiple pages in PrintPreview control in c#[^]

Smile | :)
Luc Pattyn [My Articles]
The Windows 11 "taskbar" is disgusting. It should be at the left of the screen, with real icons, with text, progress, etc. They downgraded my developer PC to a bloody iPhone.

GeneralRe: Printing two panels on a card back and front Pin
RobertSF20-Jan-22 11:09
professionalRobertSF20-Jan-22 11:09 
Generalbtn event async await rtb and tb overlap and switch between them by tb.show and tb.hide Pin
Member 1356965020-Jan-22 4:31
Member 1356965020-Jan-22 4:31 
GeneralRe: btn event async await rtb and tb overlap and switch between them by tb.show and tb.hide Pin
Dave Kreskowiak20-Jan-22 5:09
mveDave Kreskowiak20-Jan-22 5:09 
GeneralRe: btn event async await rtb and tb overlap and switch between them by tb.show and tb.hide Pin
Member 1356965020-Jan-22 5:20
Member 1356965020-Jan-22 5:20 
GeneralRe: btn event async await rtb and tb overlap and switch between them by tb.show and tb.hide Pin
Dave Kreskowiak20-Jan-22 9:42
mveDave Kreskowiak20-Jan-22 9:42 
GeneralRe: btn event async await rtb and tb overlap and switch between them by tb.show and tb.hide Pin
Member 1356965020-Jan-22 10:00
Member 1356965020-Jan-22 10:00 
QuestionExceptions Pin
Simon_Whale17-Jan-22 2:30
Simon_Whale17-Jan-22 2:30 
AnswerRe: Exceptions Pin
CHill6017-Jan-22 3:08
mveCHill6017-Jan-22 3:08 
GeneralRe: Exceptions Pin
Simon_Whale17-Jan-22 3:53
Simon_Whale17-Jan-22 3:53 
AnswerRe: Exceptions Pin
OriginalGriff17-Jan-22 3:41
mveOriginalGriff17-Jan-22 3:41 
GeneralRe: Exceptions Pin
Simon_Whale17-Jan-22 3:53
Simon_Whale17-Jan-22 3:53 
AnswerRe: Exceptions Pin
Luc Pattyn17-Jan-22 3:59
sitebuilderLuc Pattyn17-Jan-22 3:59 
QuestionRe: Exceptions Pin
Simon_Whale18-Jan-22 5:05
Simon_Whale18-Jan-22 5:05 
AnswerRe: Exceptions Pin
Gerry Schmitz17-Jan-22 6:07
mveGerry Schmitz17-Jan-22 6:07 
GeneralRe: Exceptions Pin
Simon_Whale18-Jan-22 5:06
Simon_Whale18-Jan-22 5:06 
AnswerRe: Exceptions Pin
lmoelleb18-Jan-22 4:55
lmoelleb18-Jan-22 4:55 
QuestionRe: Exceptions Pin
Eddy Vluggen18-Jan-22 19:32
professionalEddy Vluggen18-Jan-22 19:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.