HP3000-L Archives

November 2005, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Paul Christensen <[log in to unmask]>
Reply To:
Paul Christensen <[log in to unmask]>
Date:
Mon, 21 Nov 2005 16:11:44 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
I'm having trouble getting a laser printer to do what I tell it to do.

if we test with a BRW report - we can send this escape sequence to the
printer 

ESCAPE &l0Ol0e2kS 

and get a report to printer in portrait, condensed print, starting very 
close to the very top of the paper.

so I try to put that same sequence into my COBOL program.
I move that escape sequence to the print-line and 
write print-line after advancing 0 lines.

I get portrait and no top margin, but it's not in condensed print. 
if I send
ESCAPE &k2sl0el0O 
or
ESCAPE &k2sl0ol0E

I get condensed print, but landscape mode.

if I send
ESCAPE&10e10OESCAPE&2kS

Then I get portrait, condensed print, but it's not as close to the top
of the page as the original setting (where I don't get condensed print).

What am I doing wrong? 

Paul Christensen

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2