Quantcast
Channel: All Printers - LaserJet posts
Viewing all articles
Browse latest Browse all 6647

Re: PCL initialization string from VMS

$
0
0

>> ... I just can't get it right. The line spacing commands seem to throw it off way to much ...

 

As I mentioned in my response to your first posting, your 'Line Spacing' sequence has an illegal value (7), which means that the printer will ignore it, and revert to the current user environment (power-on) default value (probably 6 lines-per-inch, but could have been set differently).

 

Your updated PCL snippet contains the same fault:

 

<Esc>E            Printer Reset<Esc>&l0e         Top Margin (0 lines)
       7d         Line Spacing (7 = lines-per-inch unknown/illegal value)
       66F        Text Length (66 lines)<Esc>&a0L         Left Margin (column 0)<Esc>&k8.3H       Horizontal Motion Index (8.3/120 inches)<Esc>&k0S         Pitch Mode: Pica (10 cpi)<Esc>&l-85U       Left (Long-Edge) Offset (-85 decipoints)<Esc>&l+17.8Z     Top (Short-Edge) Offset (+17.8 decipoints)

 

For completeness, here's is an analysis of Jim's suggested 'starting point' snippet:

 

<Esc>E            Printer Reset<Esc>&l2a         Page Size: Letter
       0o         Orientation: Portrait
       6d         Line Spacing (6 lines-per-inch)
       0e         Top Margin (0 lines)
       0u         Left (Long-Edge) Offset (0 decipoints)
       0z         Top (Short-Edge) Offset (0 decipoints)
       66F        Text Length (66 lines)

 


Viewing all articles
Browse latest Browse all 6647

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>