Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem printing Word document to PDF

Status
Not open for further replies.

wouter

Technical User
Jul 3, 2000
45
NL
I have a VB application which automaticly prints Word documents to PDF using Acrobat PDFwriter 5.0. This works fine, except for pharagraph-borders. When I print the document to PDF directly in Word, all borders appear, but when the VB applications prints, the borders are ignored. Because the borders are part of styles, it not possible to replace them with line-objects.

Wouter
zure_zult@hotmail.com
To me, boxing is like a ballet, except there's no music, no choreography, and the dancers hit each other.
 

Not quite sure what you are asking but from the sounds of it you are shelling via the ShellExecute(Ex) API with the "print" verb to the current set default printer, or you are automating word. Either way if you are not allowing word to become visible (I think it was word 2k I had this same problem with) it messes it up somehow. It should not be much to change you code to test this little theory out and if it works Hurray! if not I'll go back to left field.

Good Luck

 
Thanx, that did the trick

Wouter
zure_zult@hotmail.com
To me, boxing is like a ballet, except there's no music, no choreography, and the dancers hit each other.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top