Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - doc or excel to pdf
  FAQ FAQ  Forum Search   Register Register  Login Login

doc or excel to pdf

 Post Reply Post Reply
Author
Message
kaliand View Drop Down
Beginner
Beginner


Joined: 14 Apr 06
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote kaliand Quote  Post ReplyReply Direct Link To This Post Topic: doc or excel to pdf
    Posted: 16 Apr 06 at 6:12PM
Hi!

is it possible to create a pdf with dll from a microsoft officce word or excel? like distiller does?

regards!
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 17 Apr 06 at 3:33PM
Hi!

No, the direct way isn't possible.
I've found a vb-sample:
Public Sub Save_SaveAs()

   ' **********************************************
   ' This macro replaces the default functionality
   ' of the FileSaveAs command.
   ' **********************************************
   Dim myDialog As Dialog
   Set myDialog = Dialogs(wdDialogFileSaveAs)
   ' Display the Dialog and save the document.
   If myDialog.Display Then
      ActiveDocument.SaveAs myDialog.Name, myDialog.Format, _
      myDialog.LockAnnot, myDialog.Password, myDialog.AddToMru, _
      myDialog.WritePassword, myDialog.RecommendReadOnly, _
      myDialog.EmbedFonts, myDialog.NativePictureFormat, _
      myDialog.FormsData, myDialog.SaveAsAOCELetter
   End If
End Sub

With this one you can use the save_as-function... choose "pdf"... this should work.

Best regards,
Ingo
Back to Top
kaliand View Drop Down
Beginner
Beginner


Joined: 14 Apr 06
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote kaliand Quote  Post ReplyReply Direct Link To This Post Posted: 17 Apr 06 at 4:44PM
hi ingo and thanks,

Very interesting the sample above and sure it will be usefull to me, but maybe my question was not well expressed, becouse i'm looking the way to create a pdf from a postscript "ps", like i do with distiller, for exemple :

********************
Dim w as new word.application
Dim pdf as new Distiller6

w.Documents.open "Mydocument"
w.visible = false
w.printout printtofile=true,destination"Mydocument.ps"
w.ActiveDocument.close
w.quit
set w = nothing

pdf.FileToPdf"MyDocument.ps","MyDocument.pdf","JobObtions"
set pdf= nothing

***********************

So i would like to do something similar with the iSED.dll that i bought because it seems to me they did a great job with this llibary and i'd like to use it as much as it possible.

Best regards!
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 18 Apr 06 at 2:05AM
Hi!
Sorry. This isn't possible... i think.
What about using the ghostscript-dll?
Best regards,
Ingo
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store