[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Graves

11/15/2005 6:00:00 AM

Hello a stupid newbie question :.-(

Could anyone help me with the following?
I would like an example, how to call the printer functions in WinAPI or is
it WnGDI?
I cannot get it working.
I would like to call the printer functions, so i can set the forms stored on
the printer drivers:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/prntspo...
I need this to change the custom forms, so i can handle the paper size in
the reports.

Hope that anyone can help :-)

Thanks on advance

/Graves


1 Answer

Axapatcoder

11/15/2005 10:16:00 PM

0

Did you take a look at the WinAPI class in the tree? You should be able to
map to any dll function and call it pretty much. You can also call com or
..net (exposed thru com) depending on what access is needed.

Don

"Graves" wrote:

> Hello a stupid newbie question :.-(
>
> Could anyone help me with the following?
> I would like an example, how to call the printer functions in WinAPI or is
> it WnGDI?
> I cannot get it working.
> I would like to call the printer functions, so i can set the forms stored on
> the printer drivers:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/prntspo...
> I need this to change the custom forms, so i can handle the paper size in
> the reports.
>
> Hope that anyone can help :-)
>
> Thanks on advance
>
> /Graves
>
>