octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #31967] Cannot print in eps form in fltk print


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #31967] Cannot print in eps form in fltk printing
Date: Sat, 15 Jan 2011 14:58:35 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.231 Safari/534.10

Follow-up Comment #14, bug #31967 (project octave):

The pipeline should begin with "gs.exe" or "gswin32c.exe". I looks to me like
(1) octave isn't finding ghostscript, or (2) the ghostscript command isn't
being added to the pipeline. So instead of …


gswin32c.exe -dQUIET -dNOPAUSE -dBATCH -dSAFER -sDEVICE=epswrite
-sOutputFile='test1.eps' - 


Only the ghostscript options are present.


 -dQUIET -dNOPAUSE -dBATCH -dSAFER -sDEVICE=epswrite -sOutputFile='test1.eps'
- 


To see if Octave can find the ghostscript binary, please use
__print_parse_opts__. Under mingw this function will look for both gs.exe and
gswin32c.exe, and return the one it finds. For example, on MacOS X ...


opts = __print_parse_opts__ 
opts =

  scalar structure containing the fields:

    append_to_file = 0
    canvas_size =

       576   432

    debug = 0
    debug_file = octave-print-commands.log
    devopt = pswrite
    epstool_binary = /sw/bin/epstool
    figure = [](0x0)
    fig2dev_binary = /sw/bin/fig2dev
    fontsize = 
    font = 
    force_solid = 0
    formatted_for_printing =  1
    ghostscript =

      scalar structure containing the fields:

        binary = /sw/bin/gs
        debug = 0
        device = pswrite
        epscrop =  1
        level =  1
        output = 
        papersize = letter
        pageoffset =

            18   180

        resolution = [](0x0)
        antialiasing =  1

    loose = 0
    lpr_binary = /usr/bin/lpr
    name = 
    orientation = portrait
    pstoedit_binary = /sw/bin/pstoedit
    preview = 
    printer = 
    send_to_printer =  1
    special_flag = textnormal
    tight_flag = 0
    use_color =  1
    lpr_options = -l
    unlink = {}(0x0)


Currently, the function looks for "gswin32c.exe" (all lower case). Is this
the correct name for ghostscript? Is it all lower case? Should the ".exe" be
included?


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31967>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]