Popup and Print (OpenInsight 32-Bit)
At 29 MAR 2007 05:01:46PM Bertil Strom wrote:
When I set pprintable$ to 1 in the popup function and use the print button I get a preview. Is there a setting to make a direct print?
Another things is the column width which doesn't allways match the seeting in the popup defintion. What am I missing ?
Thanks
Bertil
At 30 MAR 2007 09:00AM Bob Orsini wrote:
Bertil, No option currently to print popup with Direct Print. Could you supply an example of the column widths displaying incorrectly?
At 30 MAR 2007 09:45AM Bertil Strom wrote:
Bob
Having the preview as default is no big problem, but the preset format "landscape" instead of "portrait" is a problem.
Here is my code.
display=one":@svm:"two":@svm:"three":@svm:"four":@svm:"five":@svm:"six":@svm:"seven":@svm:"eight":@svm:"Nine"
rad_1=1:@svm:10:@svm:"C":@svm:"C":@svm:"":@svm:"Besökdatum"
rad_2=2:@svm:16:@svm:"L":@svm:"C":@svm:"":@svm:"Vårdgivare"
rad_3=3:@svm:16:@svm:"L":@svm:"C":@svm:"":@svm:"Mottagning"
rad_4=4:@svm:6:@svm:"C":@svm:"C":@svm:"":@svm:"Åtgärd"
rad_5=5:@svm:10:@svm:"R":@svm:"C":@svm:"MD2,":@svm:"Belopp"
rad_6=6:@svm:10:@svm:"R":@svm:"C":@svm:"":@svm:"Betalsätt"
rad_7=7:@svm:8:@svm:"R":@svm:"C":@svm:"":@svm:"FK_nr"
rad_8=8:@svm:10:@svm:"C":@svm:"C":@svm:"":@svm:"FK_Datum"
pop_def ="
pop_def=1
pop_def=1
pop_def=0
pop_def=1
pop_def =1
pop_def =10
pop_def =20
pop_def=1
pop_def =40
pop_def =L'
pop_def =P'
pop_def =arial':@svm:15
pop_def=rad_1:@vm:rad_2:@vm:rad_3:@vm:rad_4:@vm:rad_5:@vm:rad_6:@vm:rad_7:@vm:rad_8
pop_def= display
pop_def =test"
retval=popup(@window,pop_def)
Thanks
Bertil