Ignore:
Timestamp:
03/14/07 16:44:26 (17 years ago)
Author:
smasson
Message:

get back to changeset:217

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Postscript/printps.pro

    r218 r219  
    105105; call the viewers 
    106106      CASE event.value OF 
    107         'GNU Ghostview':cmd = '\gv --media='+papsize+' --orientation='+ori+' '+uval.nameps 
    108         'Gnome Ghostview':cmd = '\ggv '+uval.nameps 
    109         'Ghostview':cmd = '\ghostview -'+papsize+' -quiet -'+ori+' '+uval.nameps 
    110         'Ghostscript':cmd = '\gs -sPAPERSIZE='+papsize+' -q '+uval.nameps 
    111         'Kghostview':cmd = '\kghostview '+uval.nameps 
     107        'Ghostview':spawn, '\ghostview -'+papsize+' -quiet -'+ori+' '+uval.nameps 
     108        'Ghostscript':spawn, '\gs -sPAPERSIZE='+papsize+' -q '+uval.nameps 
     109        'Kghostview':spawn, '\kghostview '+uval.nameps 
    112110      ENDCASE 
    113       spawn, cmd 
    114111      return 
    115112    END 
     
    279276; ps viewers grouped button 
    280277  psviewers = ['no psviewers found'] 
    281   IF file_which(getenv('PATH'), 'gv') NE '' THEN $ 
    282     psviewers = [psviewers, 'GNU Ghostview'] 
    283   IF file_which(getenv('PATH'), 'ggv') NE '' THEN $ 
    284     psviewers = [psviewers, 'Gnome Ghostview'] 
    285278  IF file_which(getenv('PATH'), 'ghostview') NE '' THEN $ 
    286279    psviewers = [psviewers, 'Ghostview'] 
Note: See TracChangeset for help on using the changeset viewer.