CutePDF Writer,eDocPrinter PDF Pro..etc...How can i handle thease object properties...please reply....

Hi,

I have created a word document using bookmarks and other things in VB. When i want to finish my document, I can only save it in .doc. Are there some libraries to pass to PDF

Thanks!



Answer this question

CutePDF Writer,eDocPrinter PDF Pro..etc...How can i handle thease object properties...please reply....

  • ketparm

    Thanks,

    I will try to use cutePDF ;)


  • chaillom

    Hi,

    Crystal Reports provides an option and comes free with Visual Studio.NET and here's a sample with VB.NET:

    http://blogs.wwwcoder.com/mustafaf/archive/2005/03/04/2125.aspx

    Not sure if the VB6 compatible version of CR also supports it though...

    Regards,

    Vikram



  • ug751

    hi thnaks for reply

    I want pdf output...

    command line arguments -- filename=xyz.doc;destination path="any folder name";printername="CutePDF"

    input-- xyz.doc
    o/p --- abc.pdf

    Is it possible




  • bradbury9

    hi
    I am too facing the same problem

    Requirements:
    User can have any type of printer drivers like CutePDF Writer,eDocPrinter PDF Pro..etc...
    User will send input as arguments
    1->Source word Filename
    2->printer driner name [Any among CutePDF Writer,eDocPrinter PDF.....etc]
    3->Destination saving path

    I am Failed here
    -----------------
    I sent parameters...
    It succesfully selects the printer among installed printers
    But it ask for "Save" path...dialog will come to enter saving path
    I want it to save to the path i mentioned in the arguments...
    for that i should diable this dialog...

    If i am using particular/specific printer then i can hard code to disable but user may send any name among the insatlled printers in his computer...how can i disable dialog of selected printer...



  • Woodyone

    Making pdf files.
    Based on pacowar's statement that he created the Word doc, I assume all the elements (info) are available in the VB code. In this case why convert / go straight to the pdf file using the "PDFReference16.pdf" from Adobe.

    I also have had problems getting drivers & printers to work.

    Using the Adobe Active X (COM) you can load & print pdf files within VB (6 or NET) code.

    If you already have a valid doc file, you can use Acrobat within Word for the conversion.

    If you want to stay in code and have all the text/graphics info, you can create your own pdf files.
    I have also tried Cute pdf - it is fine and removes some of the obstacles (byte counting) for creating the pdf files - but it does require a purchase for each machine that will be using your program. So once I was able to write my own pdf files, I've stayed with the free Adobe "Reader" method.

    So it depends on what you want to end up with - both doc and pdf printing no cost to client machines






  • castrini


    There is nothing built into Microsoft Word, but you can use one of the many PDF print drivers available to generate a PDF file:

    http://www.cutepdf.com/Products/CutePDF/writer.asp



  • N3vik

    hi friends...

    Requirements:
    User can have any type of printer drivers like CutePDF Writer,eDocPrinter PDF Pro..etc...
    User will send input as arguments
    1->Source word Filename
    2->printer driner name [Any among CutePDF Writer,eDocPrinter PDF.....etc]
    3->Destination saving path

    I am Failed here
    -----------------
    I sent parameters...
    It succesfully selects the printer among installed printers
    But it ask for "Save" path...dialog will come to enter saving path
    I want it to save to the path i mentioned in the arguments...
    for that i should diable this dialog...

    If i am using particular/specific printer then i can hard code to disable but user may send any name among the insatlled printers in his computer...how can i disable dialog of selected printer...

    For speciac eDocPrinter PDF i can do like this...

    Call RegistrySetStrValue(hKeyDest, "DestSaveMode", "1") ' do not prompt

    But i do not know which one user uses...

    Please help me out

    Regards
    deepak





  • Amazon Mother

    Main problem i am facing is I get save dialog...
    i do not want the dialog..
    I want internally set save dialog=false

    how can i do this

    how can i access the properties of CutePDF or other printers

    Thanks



  • RyanE - Windows SDK Docs

    I beleive HemeFlasher's point was, why do you create a .doc file first and then convert to .pdf Why not create the .pdf file directly

    I have looked over the .pdf manual that HemeFlasher pointed out and .pdf doesn't seem that difficult, I can't see how it is more difficult than creating a Word document, but I don't really know anything about that.

    Good Luck

  • CutePDF Writer,eDocPrinter PDF Pro..etc...How can i handle thease object properties...please reply....