You will have to use a smaller font or print in landscape orientation. I assume that you are probably ptinting a courier 10 pitch font. Your maximum printing width is eight inches on letter size so that translates to 80 char at 10 cpi. If you change to 12 cpi, your pagewidth is increased to 96 characters.
I found I actually have same problem as Robert did. I need to change right margin from 1/4" to 1/8". I cannot change font(it must be Courier 12).
I have tried to use Ec&a134M and it does not work.
There is a way that you can cheat it a little bit, but it requires that you insert some PCL code into the middle of every line the you want expanded. It's only going to yield one more character at 12 cpi. You can effectively gain about 15 dots(at 300dpi) on each side by manipulating the sheet offset. You are in trouble if you are duplexing. This only applies to a LaserJet. Not to DeskJets.
Does your application have the ability to insert the codes?
2. I have a PCL file (generated by print to file) that has correct right and left margin (both of them are 1/5". This file only needs set up Esc at the begining, but the vertical space is not correct. You may take a look PCL command so that we can have a clean solution (instead of inserting command every line). Here is the code:
The truth is I got same result (from left and right margin point of view) with the code above as with the code you provides. What is the default line space? Could you change above code so that line space = default? Then we may get a cleaner solution. By the way, which part tells us line space is 6 lpi?
In the code you posted, the part that is ...&l2a8c1E
the 8c bit is the line spacing; i.e., 8/48ths of an inch or 6 lpi.
The font is set to 10 picth. I am very doubtful that the setup that you posted is can produce a text width as great as you by inserting the codes on every line.
Use the setup you have, goto 12 ptich and see how many characters you can get on the full line. Now if your original problem could be resolved with a narrower right margin gained by a fatter left margin, then <esc>&l65U at the beginning of file would probably fix you up.
The sheet offset command, <esc>&l65U, AFAIK only applies to PCL5 printers. The <esc>&a130H is purely a positioning code so neither affect your fonts.
Jim Asman
jlasman@telus.net
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.