Click here to Skip to main content
15,881,248 members
Home / Discussions / C#
   

C#

 
GeneralRe: Which one is better, forcing an enabled=true at each call or check it with an if statement? Pin
freakyit25-Sep-09 7:07
freakyit25-Sep-09 7:07 
GeneralRe: Which one is better, forcing an enabled=true at each call or check it with an if statement? Pin
freakyit25-Sep-09 7:05
freakyit25-Sep-09 7:05 
GeneralRe: Which one is better, forcing an enabled=true at each call or check it with an if statement? Pin
PIEBALDconsult25-Sep-09 7:20
mvePIEBALDconsult25-Sep-09 7:20 
QuestionProblems with ID Automation Pin
Qendro25-Sep-09 2:40
Qendro25-Sep-09 2:40 
GeneralRe: Problems with ID Automation Pin
musefan25-Sep-09 2:56
musefan25-Sep-09 2:56 
GeneralRe: Problems with ID Automation Pin
Qendro25-Sep-09 3:04
Qendro25-Sep-09 3:04 
QuestionPrinting multiple font sizes on the same page... Pin
jameschristianii25-Sep-09 2:37
jameschristianii25-Sep-09 2:37 
AnswerRe: Printing multiple font sizes on the same page... Pin
musefan25-Sep-09 2:54
musefan25-Sep-09 2:54 
What is RecieptPrint? I assume that is what you meant by sub-class?

I tend to use a class that inherits from PrintDocument, which overrides the OnPrintPage function. This function has an argument for PrintPageEventArgs which has a graphics class which you can draw on (basically the paper to be printed).

I can draw whatever I want on here, fonts in any size or colour etc, no problems.

I think your problem is your RecieptPrint class is too limited and needs expanding. How does it print the text?

Life goes very fast. Tomorrow, today is already yesterday.

GeneralRe: Printing multiple font sizes on the same page... Pin
jameschristianii25-Sep-09 3:07
jameschristianii25-Sep-09 3:07 
GeneralRe: Printing multiple font sizes on the same page... Pin
musefan25-Sep-09 4:24
musefan25-Sep-09 4:24 
AnswerRe: Printing multiple font sizes on the same page... Pin
Dave Kreskowiak25-Sep-09 4:27
mveDave Kreskowiak25-Sep-09 4:27 
GeneralRe: Printing multiple font sizes on the same page... Pin
jameschristianii25-Sep-09 4:32
jameschristianii25-Sep-09 4:32 
GeneralRe: Printing multiple font sizes on the same page... Pin
Dave Kreskowiak25-Sep-09 5:19
mveDave Kreskowiak25-Sep-09 5:19 
GeneralRe: Printing multiple font sizes on the same page... Pin
jameschristianii25-Sep-09 5:51
jameschristianii25-Sep-09 5:51 
AnswerRe: Printing multiple font sizes on the same page... Pin
jameschristianii25-Sep-09 17:44
jameschristianii25-Sep-09 17:44 
AnswerRe: Printing multiple font sizes on the same page... Pin
jameschristianii26-Sep-09 5:30
jameschristianii26-Sep-09 5:30 
Questionsingle User single login Pin
Shalini_U25-Sep-09 2:37
Shalini_U25-Sep-09 2:37 
AnswerRe: single User single login Pin
musefan25-Sep-09 2:47
musefan25-Sep-09 2:47 
GeneralRe: single User single login Pin
Shalini_U25-Sep-09 3:16
Shalini_U25-Sep-09 3:16 
GeneralRe: single User single login Pin
Dave Kreskowiak25-Sep-09 4:20
mveDave Kreskowiak25-Sep-09 4:20 
GeneralRe: single User single login Pin
musefan25-Sep-09 4:28
musefan25-Sep-09 4:28 
QuestionUpload data to Amibroker? Pin
$uresh $hanmugam25-Sep-09 2:32
$uresh $hanmugam25-Sep-09 2:32 
QuestionDataTableColumn.AutoIncrementSeed value Pin
Doktor25-Sep-09 0:13
Doktor25-Sep-09 0:13 
AnswerRe: DataTableColumn.AutoIncrementSeed value Pin
S.Dhanasekaran25-Sep-09 1:04
S.Dhanasekaran25-Sep-09 1:04 
GeneralRe: DataTableColumn.AutoIncrementSeed value Pin
Doktor25-Sep-09 1:15
Doktor25-Sep-09 1:15 

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.