Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to print aligned on various columns paragraphs ?

Status
Not open for further replies.

yp56

Programmer
Aug 30, 2001
83
FR
Hello,
I wonder if is it possible ti print a paragraphs with CRLF code aligned on various columns ? The CRLF command should put the curseur to the next line and at the same column of the previous line paragraph. Maybe it isn't the CRLF command which would be used. How can I do that ?
thanks.
 
Look at the page offset command.

<esc>&l####U

where #### is the decipoints from the left side of
a portrait page.

<esc>&l####Z moves the margins up and down on a portrait page.

See the tech ref.


Jim Asman
jlasman@telus.net
 
thank you :)
it looks like to be what I searched :) . But can I use this command while it's printing ?? Page commands mustn't be only defined before sending data ?

for example if I send (it isn't correct but it is for the example more understanding):

.....hello<CRLF>the<CRLF>world<CRLF><esc>&l5Uhello<CRLF>the<CRLF>world<esc>&l0U........

it will print ??:
....
...
hello
the
world
hello
the
world
......
.....

is it like that ?
 
You can issue the command &quot;live&quot;! ;-)

Beware, though, that the command behaves differently
from the front side to the back side when printing
in duplex mode.

The &quot;U&quot; mode always references the long edge while
&quot;Z&quot; mode always references the short edge regardless
of the orientation.

I use these commands routinely to accurately position
columns of self adhesive labels.

You will have to experiment some to see if it is what
you want.

Jim Asman
jlasman@telus.net
 
Ok thanks a lot, i will try this :)
bye....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top