Bug 694773

Summary: Question re. missing RTL resolution
Product: GhostPCL Reporter: Marcos H. Woehrmann <marcos.woehrmann>
Component: PCL interpreterAssignee: Henry Stiles <henry.stiles>
Status: NOTIFIED FIXED    
Severity: normal    
Priority: P1    
Version: master   
Hardware: PC   
OS: Linux   
Customer: 190 Word Size: ---
Bug Depends on:    
Bug Blocks: 694970    

Description Marcos H. Woehrmann 2013-11-12 10:55:41 UTC
The customer reports:

I attach an archive containing 2 files:

- HP_oil_field.rtl: the orginal one, it has a PJL resolution (300) but no RTL resolution (*r<res>R).
- HP_oil_field_RTLreso300.rtl: the same with *r300R inserted.

The 1st one rips incorrectly (9/10 or the graphics are outside of the page). The second one is okay (after you apply an auto-crop). And if you edit the PJL header in the 1st file, the output doesn't change.

So I don't understand this very well. I had the feeling that the PJL resolution would play the role as the RTL resolution, if this one was missing. But apparently that's absolutely not the case (maybe this is related to the question below, that you didn't answer I think).

So the question: how can I force the RTL resolution if it's missing?
Comment 2 Marcos H. Woehrmann 2013-11-12 10:56:57 UTC
I will print the customer supplied on my HP DesignJet 2500 later today and post scans/photos of the output.
Comment 3 Henry Stiles 2013-11-12 11:22:09 UTC
The manual states the default resolution for raster resolution is device dependent.  The laser printers I've looked at default to 75 irrespective of PJL, as the code is now.  The manual does say that if a device supports multiple resolutions the PJL specified resolution can be used.  I guess we could do this conditionally for HPGL/2 RTL but not PCL and be okay.
Comment 4 Henry Stiles 2013-11-12 15:35:00 UTC
commit 4d3dc3a3a6948a49a2e8faed57290da40a774703
Author: Henry Stiles <henry.stiles@artifex.com>
Date:   Tue Nov 12 16:19:46 2013 -0700

    Fix 694773 - default raster resolution to the PJL setting when in
    HPGL/RTL mode.