Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > Windows 2000 Server (TECHNET) > Create a Fax job from c
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 14th July 10:10
pj
External User
 
Posts: 1
Default Create a Fax job from c



Hi

Is there any way I can obtain a Graphics object for a fax print job in
c#, In the same way I can call FaxStartPrintJob in MFC to get a device
context (And then use GDI calls to build up the page)

Thanks for any help!

Pj
  Reply With Quote


  sponsored links


2 14th July 10:10
alex feinman mvp
External User
 
Posts: 1
Default Create a Fax job from c



I haven't tried it, but you should be able to P/Invoke FaxStartPrintJob, get
your HDC and use Graphics.FromHdc() to obtain a Graphics object

--
Alex Feinman
---
Visit http://www.opennetcf.org
  Reply With Quote
3 14th July 10:11
pj
External User
 
Posts: 1
Default Create a Fax job from c


Yeah, I was kind of thinking along those lines as well, just wonderd if
there was a native .net solution that I should be using!

Ideally I'd use a .net PrintDo***ent just pointing to the fax server,
but see no way of inputing stuff like the dest. fax number
programatically ( Not actually tried this, but assume I would just get
the usual send fax dialog popping up wanting the params for the job if
I tried this )

Thanks!

Pj
  Reply With Quote
4 14th July 10:11
alex feinman mvp
External User
 
Posts: 1
Default Create a Fax job from c


That is too possible. I've put together a small sample (by no means
complete), that show how to do it.
http://www.alexfeinman.com/download.asp?doc=FaxPrinter.zip


--
Alex Feinman
---
Visit http://www.opennetcf.org
  Reply With Quote
5 14th July 10:11
pj
External User
 
Posts: 1
Default Create a Fax job from c


Ah wow, thanks Alex

I'll check it out and let you know how I get on!

Pj
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666