×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Offset Left Shortens Form Width

Offset Left Shortens Form Width

Offset Left Shortens Form Width

(OP)
I am having problems alligning a form using the long edge offset left sequence.  I can get the form alligned properly on the left, but when I move the data left, it is then too short on the right.  So if I for example, using the long edge offset left, move the column 2 to the left, where I was once printing all the way to column 80 on the right, it now will only print to column 78.  Any help would be greatly appreciated.

Regards,

Erick

RE: Offset Left Shortens Form Width

I'm afraid that that is the way it is. Consider that you have a window that we call the printable area on the page.
If you apply a sheet offset command, it simply shifts the window to the left or right as specified. What you gain on one side you lose on the other.

Keep in mind that there is an absolute clip limit on each side and if you shift the window too far to the left, for example, characters to the left of the absolute clip limit will disappear.

You may be able to cheat. Lets say that your offset command was <esc>&l-60U. Now somewhere in the middle of the line you could put <ecs>&l0U to shift it back to neutral, or even <esc>&l60U to get some extra on the right as well.

This would mean that you would have to put the offset commands on every line you are printing on. Hopefully, there is a convenient place to insert the second offset command. If you pay attention and plan ahead you can minimize the work.

Jim Asman
http://www.spectracolorservices.com

RE: Offset Left Shortens Form Width

(OP)
Isn't the non-printable area 1/4" on all sides?  For some reason I am not getting that 1/4" on the left.  Here is the PCL broken down by command for readability:  

ecE
ec&l2A
ec&l0O
ec&l9.6C
ec&l0E
ec&l2H
ec&l0L
ec&l-245Z
ec&a0L
ec&l0U

RE: Offset Left Shortens Form Width

The code as you show it has NO left offset and a vertical offset to push the window UP about 1/3 of an inch.

The "normal" margin on letter size paper is 1/4 inch left
and right. The absolute clip limit is about 1/6 inch left and right. So the practical limit of the sheet offset is the difference between the standard margin and the absolute clip limit, about 1/12 inch.

If you are seeing more than 1/4 inch on the left using the above code, I can only assume that the application data is putting spaces on the left.

What model of printer are you using?

Jim Asman
http://www.spectracolorservices.com

RE: Offset Left Shortens Form Width

(OP)
You are correct, there is no offset left in there, but after further inspection it is our application.  We are running a billing system on an Alpha server running OpenVMS (which is where I am manipulating the PCL), and after outputing the data to a file it is padding 2 spaces on the front of each line.  This appears to be a limitation of our application as it sees the third space as "column 1" and doesn't allow the input of a column 0.  I am currently coding around this issue, but I appreciate your quick responses.

Best Regards,

Erick

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close