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

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

[Octave-bug-tracker] [bug #46445] unable to print directly to non-postcr


From: Adrian Mariano
Subject: [Octave-bug-tracker] [bug #46445] unable to print directly to non-postcript printer (HP 8610)
Date: Tue, 17 Nov 2015 21:42:42 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0

Follow-up Comment #2, bug #46445 (project octave):

I used the -debug option with print and got the information attached below. 
It looks like the problem is that ghostscript is being invoked to produce a
postscript language output and then lpr is invoked with "-l", which forces the
printer to print the output directly rather than interpreting it.  AT least,
this explains the basic behavior I get.  

The solution is to remove the "-l" option from the lpr command. But I can't
figure out how to do this.  Where is this option configured? 

--------------------------------------------

    ;---- begin /tmp/oct-UOpvUX.ps ----
    %!PS-Adobe-3.0
    << /Margins [0 0] /.HWMargins [0 0 0 0] /PageOffset [18 180] >>
setpagedevice
    %%EOF
    ----- end /tmp/oct-UOpvUX.ps -----
    Ghostscript command: '/usr/bin/gs -dQUIET -dNOPAUSE -dBATCH -dSAFER
-sDEVICE=ps2write -dLanguageLevel=2 -dEmbedAllFonts=true -dEPSCrop
-sPAPERSIZE=letter -dFIXEDMEDIA -sOutputFile="-" /tmp/oct-UOpvUX.ps -'
    lpr command: '/usr/bin/lpr -l'
    opengl-pipeline: '/usr/bin/gs -dQUIET -dNOPAUSE -dBATCH -dSAFER
-sDEVICE=ps2write -dLanguageLevel=2 -dEmbedAllFonts=true -dEPSCrop
-sPAPERSIZE=letter -dFIXEDMEDIA -sOutputFile="-" /tmp/oct-UOpvUX.ps - |
/usr/bin/lpr -l ; rm /tmp/oct-UOpvUX.ps

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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