www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Print a PDF

reply john <anoncoward hotmail.com> writes:
Hello!

I'm wanting to use D to send a PDF to a printer. Is there an easy way to do
this? Also, I may need to set which tray to go to and whether it should duplex
or not.

Could someone help me out?

THANKS!
Dec 06 2008
parent reply BCS <ao pathlink.com> writes:
Reply to John,

 Hello!
 
 I'm wanting to use D to send a PDF to a printer. Is there an easy way
 to do this? Also, I may need to set which tray to go to and whether it
 should duplex or not.
 
 Could someone help me out?
 
 THANKS!
 
You would do it the same way that it would be done in C. IIRC D has no special support for that. (If you need help hunting down windows bindings, there are s few people here who work on that kind of thing)
Dec 06 2008
parent reply John <anoncoward hotmail.com> writes:
BCS Wrote:

 Reply to John,
 
 Hello!
 
 I'm wanting to use D to send a PDF to a printer. Is there an easy way
 to do this? Also, I may need to set which tray to go to and whether it
 should duplex or not.
 
 Could someone help me out?
 
 THANKS!
 
You would do it the same way that it would be done in C. IIRC D has no special support for that. (If you need help hunting down windows bindings, there are s few people here who work on that kind of thing)
Thanks! Is there anyone here familiar with the Windows bindings?
Dec 08 2008
parent reply BLS <nanali nospam.wanadoo.fr> writes:
John schrieb:
 BCS Wrote:
 
 Reply to John,

 Hello!

 I'm wanting to use D to send a PDF to a printer. Is there an easy way
 to do this? Also, I may need to set which tray to go to and whether it
 should duplex or not.

 Could someone help me out?

 THANKS!
You would do it the same way that it would be done in C. IIRC D has no special support for that. (If you need help hunting down windows bindings, there are s few people here who work on that kind of thing)
Thanks! Is there anyone here familiar with the Windows bindings?
The are bindings for the libharu pdf Have a look at dsource.org project AKI / hth, Bjoern
Dec 09 2008
parent John <anoncoward hotmail.com> writes:
BLS Wrote:

 John schrieb:
 BCS Wrote:
 
 Reply to John,

 Hello!

 I'm wanting to use D to send a PDF to a printer. Is there an easy way
 to do this? Also, I may need to set which tray to go to and whether it
 should duplex or not.

 Could someone help me out?

 THANKS!
You would do it the same way that it would be done in C. IIRC D has no special support for that. (If you need help hunting down windows bindings, there are s few people here who work on that kind of thing)
Thanks! Is there anyone here familiar with the Windows bindings?
The are bindings for the libharu pdf Have a look at dsource.org project AKI / hth, Bjoern
Aki seems to be a PDF generation library. What does this have to do with printing? Thanks!
Dec 09 2008