bugGNUstep - Bugs: bug #22591, Printing not working properly...

Group
 
 

bug #22591: Printing not working properly...

Submitter:  Gregory John Casamento <gcasa>
Submitted:  Fri 14 Mar 2008 12:12:38 PM UTC
   
 
Category:  Gui/AppKit Severity:  4 - Important
Item Group:  Bug Status:  Works For Me
Privacy:  Public Assigned to:  gcasa
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 18 Mar 2008 01:06:26 AM UTC, comment #3: 

I found what I believe to be the correct fix.  The problem was that translation was happening to early in beginPage:.. and that we are calling lockFocusIfCanDrawInContext which is causing an incorrect cliprect postscript call to be generated.

I have tested this in Ink and in Gorm printing various things.  Please test this and let me know if any issues.

Thanks, GJC

Gregory John Casamento <gcasa>
Group administrator
Mon 17 Mar 2008 06:23:21 PM UTC, comment #2: 

I am currently working on removing the kludge I added from the printing logic.  As far as I can tell the issue is in NSPrintOperation _print or _adjustPagesFirst:...

Gregory John Casamento <gcasa>
Group administrator
Mon 17 Mar 2008 09:28:41 AM UTC, comment #1: 

After using the "kludge" Gregory still found problems when printing his testfile, I identified them as being only related to images and text-only files printed instead correctly. Subsequently Gregory made images printing correct.
Thus with the "kludge" RTF and RTFD documents print pretty decently. Finding a good solution for the kludge would mean get printing to a good level for the coming release.

Riccardo Mottola <rmottola>
Group Member
Fri 14 Mar 2008 12:12:38 PM UTC, original submission:  

When printing the clipping rect is too large and is causing the generated postscript to produce only part of the page.

This appears to be due to a change in _lockFocusInContext:.  I made a change which appears to correct it by taking the code for DPSrectclip out of GSStreamContext.  This appears to fix the issue, but I don't think it's the correct fix.

Riccardo and I looked into this and found that if we move back to r24663 in the repository that printing works.

The test for this is simple, open Ink.app type a few things on the first and hit preview.  You should get a blank page.  If you then type more down the page's length and then print you will see in preview a partial page.

GJC

Gregory John Casamento <gcasa>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rmottola (Posted a comment)
  • -email is unavailable- added by gcasa (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-03-19 rmottola StatusReady For Test Works For Me
        Open/ClosedIn Test Closed
    2008-03-18 gcasa StatusConfirmed Ready For Test
        Assigned toNone gcasa
        Open/ClosedOpen In Test
    2008-03-17 rmottola StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code