Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 12 AUG 2012 07:31:39PM Richard Bright wrote:

Is there a comperable command to Get_Printer("DEVICES"), so having selected the printer, I can SET the selected printer?

I had expected to find that with the Set_Printer command - but that would be too easy :smile:

And while we are on topic of printing - how do I modify the inter-line spacing in a table. Tried the Set_Printer('FONT',FontAttrib,120) to get 120% spacing but no change.

THis with OIv9.3.1

Richard Bright


At 12 AUG 2012 08:03PM bshumsky wrote:

Is there a comperable command to Get_Printer("DEVICES"), so having selected the printer, I can SET the selected printer?

I had expected to find that with the Set_Printer command - but that would be too easy :smile:

And while we are on topic of printing - how do I modify the inter-line spacing in a table. Tried the Set_Printer('FONT',FontAttrib,120) to get 120% spacing but no change.

THis with OIv9.3.1

Richard Bright

Hi, Richard. To answer your first question, you can specify the printer you wish to print to in the INIT message to SET_PRINTER. This implies, of course, that you call the GET_PRINTER("DEVICES") function _before_ you call the SET_PRINTER("INIT",…) function…

Hope that helps,

- Bryan Shumsky

Revelation Software, Inc.


At 12 AUG 2012 08:17PM Richard Bright wrote:

Bryan,

Thanks for that. Must be too many late hours.

<you can specify the printer you wish to print to in the INIT message to SET_PRINTER>

Yes, there it is as Param 6.

And as clarification to the problem < …the inter-line spacing in a table. Tried the Set_Printer('FONT',FontAttrib,120) to get 120% spacing but no change.> was with the Client_Setup from OIv3.1.3 beta2 - but in defense expect OIv3.1.2 Client_Setup to be same.

Cheers


At 13 AUG 2012 07:51AM Chris Meyer wrote:

Have you had a look at the TableCell properties and TAbleCell_Equates


At 14 AUG 2012 08:06PM Richard Bright wrote:

Thanks Chris for the good suggestion.

By using Set_Printer("TABLECELL", TcRowHeight$,…..) and setting the ADDTABLE coumn format '+' to vertically center text, I was able to achieve the appearance more space around text in cells ie. an increase in interline spacing.

Richard Bright

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/dcdb7ba92b3f2707050971626.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1