printing the customized data through printer in vc++ 6.0 dialog based.
-
there is only one spooler function is there in the code right n if i am wrong please explain it as for the first time i am doing that i dnt have much idea about that.
-
I just tried this on my local printer using
TEXT
mode rather thanRAW
and it works correctly. -
I just tried this on my local printer using
TEXT
mode rather thanRAW
and it works correctly. -
Thank you its working just one more help can u tell me how i can format the page which i want to print.for example: name : XYZ age : 19 . . . etc.
-
You need to put the newline characters at the end of each string thus:
"This is line 1\r\n"
"This is line 2\r\n"
etc.However, you would get better results by doing proper GDI based printing where you can format your pages properly.
-
what i should do for formatting the page like font size,font type , print quality and how many character should be printed in that particular line.
-
See GDI Print API (Windows)[^].
-
who i can improve the print quality because the print which it is giving out is very light.
-
Like I already told you, you will have to use proper GDI printing. Alternatively, if you know postscript and your printer supports it (which it should), you can use that and send as raw data.
-
i have checked that but i have not god anything regarding the formatting of text and increasing the pixel density.