Hello, I've been working with printing through Word for a while and have run into a small problem -- duplex printing (ie printing on both sides of the page) can't be set in Word but handled through an API call directly to the printer. This would involve including certain functions from winspool.drv (http://support.microsoft.com/kb/828638/ ... 530&sid=72) and setting the duplex state of the printer manually (and turning it off after the printing).
Is there any way to use this API directly with Team Developer or do I need to make an ActiveX control or similar through another language for it? Also, if anyone has experience with duplex printing I'd appreciate some heads-up. (btw, the VB6 example given in my link does not seem to work )
Possible to access Winspool.drv ?
Re: Possible to access Winspool.drv ?
"Is there any way to use this [winspool.drv] API directly with Team Developer" -- Yes, to a certain extent anyway, and with the caveat that I have not used this code myself and only provide it as an example someone else wrote, I'll attach a zip of a 'starter' test case for you. It's the only code I've saved on this subject, though you might find other samples on Dave's site: https://wiki.tdcommunity.net/index.php/Main_Page
You do not have the required permissions to view the files attached to this post.
Re: Possible to access Winspool.drv ?
Thank you, this at least helps with reading... writing seems to be a tad complicated through TD O well.
Who is online
Users browsing this forum: [Ccbot] and 2 guests