Saturday, January 1, 2011

More about Graphtalk

Double side printing in Graphtalk
The present print_word_management doesn’t provide an option to set the duplex printing function. This can be handled by the usage of logical printers.
Once logical printeres are installed the following code needs to be written in graphtalk to call the double side logical printer
Word = :ole.create_object("Word.Application") & if
x:Word.activeprinter = "Doubleside[V1] "
) &
Depending on the need the above piece of code may be used before the call of print_word_management
[V1]Would be the Printer name depending on choice of duplex or single

No comments:

Post a Comment