Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to direct reports to mdi/pdf without opening the pri
Message
From
09/08/2006 08:50:48
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01143965
Message ID:
01144073
Views:
15
Sometime ago I found VBA for it:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mspauto/html/diobjDocument_HV01040519.asp


>Hi,
>
>for PDF output you can specify the file name in an INI file. Rick Strahl has an article on his web site that explains this approach. Alternatively, you can use a PDF generator that gives your more control such as XFRX.
>
>I haven't heard anything about being able to programmatically control the Microsoft Document Imaging Printer. However, you might be able to use the keybd_event API function (http://www.news2news.com/vfp/?group=-1&function=1028) to simulate a user pressing Enter on the printer dialog.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform