Print Settings Question

  • I have two programs that handle selection and generation of a large number of documents.

    The first program gets the user to specify which documents are to be generated, and for which people.
    The second program handles load the template, merging, saving and spooling, and is called by the first and parameters passed.

    I need to be able to add support to the first program to allow the user to specify custom print settings (specifically the tray number), and pass that across to the second program -- but I am not sure how to approach it -- any ideas?

    Many thanks in advance.

    • Offizieller Beitrag

    You can use the 'RTFVariables' to save any string information to a RTF file. Simply use "Add" to add such a variable and set the string.
    Since V4.21 it is also possible to store binary information.

    The tray information can be set in PrintParameter. But please note that some printer (or printer settings) use a certain tray for a certain paper size.

    • Offizieller Beitrag

    The WPPapBin Dilog uses 2 combo boxes to let you choose paper trays. See this code: