Bug 694773 - Question re. missing RTL resolution
Summary: Question re. missing RTL resolution
Status: NOTIFIED FIXED
Alias: None
Product: GhostPCL
Classification: Unclassified
Component: PCL interpreter (show other bugs)
Version: master
Hardware: PC Linux
: P1 normal
Assignee: Henry Stiles
URL:
Keywords:
Depends on:
Blocks: 694970
  Show dependency tree
 
Reported: 2013-11-12 10:55 UTC by Marcos H. Woehrmann
Modified: 2014-01-28 05:13 UTC (History)
0 users

See Also:
Customer: 190
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.