bugGNU Octave - Bugs: bug #41141, pswrite device removed from...

 
 

bug #41141: pswrite device removed from Ghostscript (print scripts need updating)

Submitted by:  Rik <rik5>
Submitted on:  Tue 07 Jan 2014 07:48:38 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: 3.8.0Operating System: Microsoft Windows

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 24 Oct 2014 01:00:51 PM UTC, comment #1:

> The fix seems relatively easy, to replace pswrite with ps2write or epswrite if version 1 conformance is required.


Indeed, although now epswrite has also been deprecated in ghostscript 9.14 in favor of eps2write.

The attached patch thus migrates to both ps2write and eps2write and has been tested against ghostscript 9.10 and octave 3.8.2.

(file #32317)

Pariksheet Nanda <omsai>
Tue 07 Jan 2014 07:48:38 PM UTC, original submission:

The pswrite device in Ghostscript has been deprecated since 12/15/2010. In Ghostscript versions >= 9.09 it is no longer even compiled in by default. This is a problem for Octave because the default device when the extension is .ps is pswrite.

The fix seems relatively easy, to replace pswrite with ps2write or epswrite if version 1 conformance is required.

The following documentation was taken from http://ghostscript.com/doc/current/Devices.htm.

I grepped through the m-files for pswrite and then condensed the list to the instances that would need changing. They are

Rik <rik5>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by omsai (Updated the item)
  • -unavailable- added by rik5 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 24 Oct 2014 01:00:51 PM UTComsaiAttached File-=>Added ghostscript-deprecation-fixes.patch, #32317
    Sun 15 Jun 2014 04:57:08 AM UTCrik5Dependencies-=>bugs #42553 is dependent

    Back to the top


    Powered by Savane 3.1-cleanup