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

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

[Octave-bug-tracker] [bug #63813] Can't print plot directly to printer


From: anonymous
Subject: [Octave-bug-tracker] [bug #63813] Can't print plot directly to printer
Date: Fri, 17 Feb 2023 03:12:47 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?63813>

                 Summary: Can't print plot directly to printer 
                 Project: GNU Octave
               Submitter: None
               Submitted: Fri 17 Feb 2023 08:12:45 AM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: pmichaelmackay@protonmail.com
             Open/Closed: Open
                 Release: 7.3.0
         Discussion Lock: Any
        Operating System: GNU/Linux
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 17 Feb 2023 08:12:45 AM UTC By: Anonymous
TL;DR: Can't print directly to printer getting this message: error: print:
'lpr' not found in PATH
error: called from 
    print>lpr at line 1095 column 5
    __opengl_print__ at line 164 column 17
    print at line 771 column 16
    dismoor at line 445 column 9

CODE: see in attachment line 172

print -dpsc


I have a "print document" GUI button that when pressed should display the plot
without saving it, and simultaneously open the default printer menu for the
system (print to specified printer, or print to pdf) so that the user can
specify where they want to print the document, or if they want to save it as a
pdf. 

One work around obviously would be to create a .pdf (saveas) then use open
(doc.pdf) which works. But this is not the desired result.

I read a lot of the documentation ie 15.2.9 Printing and Saving Plots
but no luck. Is there a simple fix for this? Thank you.






    _______________________________________________________
File Attachments:


-------------------------------------------------------
Date: Fri 17 Feb 2023 08:12:45 AM UTC  Name: dismoor.m  Size: 15KiB   By: None

<http://savannah.gnu.org/bugs/download.php?file_id=54368>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63813>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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