on 10-13-2010 6:56 AM
Hi all,
How to edit Format type"X_65_255" of HP Laser printer when print out the same preview in abap list?
Example:
I want print as below:
Title of abap list: AAAAAAAAAAAA --> size 15
body of abap list:
colum1 column2 columm3 ---> size 10
s1 cccc bbbb -
> size 10
I need it whenever you find time out of your busy schedule.. Please help me .. Thank you so much.
Edited by: kishan P on Oct 13, 2010 12:02 PM
Hi,
Under Txn SPAD.. Select your Device type, then go to the "list of implementation formats" then choose "X_65_255" then click on "Printer initialization" there you maintain the following code
select arial 24 cpi 15 point normal
\e(s0p24h15v0s0b16602T
select arial 24 cpi 15 point bold
\e(s0p24h15v0s3b16602T
Regards
GK.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have to set font type on matrix printer.
Can You please explain how did you find
\e(s0p24h15v0s0b16602T
for
select arial 24 cpi 15 point normal
?
As I can see, all the escapes defined in "Printer initialization" are in
\e\0xqw\0xer0x\tz
form, where qw, er, tz are hexa decimal interpretation of escapes from printer manual.
I am confused where did You find annotation such as
\e(s0p24h15v0s3b16602T
Thank you, cheers.
p.s. - if You want me to open another subject with this question so I can express my gratitude, please let me know.
p.s. - in SPAD > Device Type, Print Control tab, we have
SF005 | 1B6B001B4D121B57001B461B35
and I know the
"1B"
stands for
\e
but then at "6b........" I am lost...
hi,
The printer initialization can be accessed by:
SPAD -> Full Admin -> Device Types -> <Device Type> -> Formats -> e.g. X_65_132 -> Printer Initialization
There should already be a command here for setting the font and size in a device type like e.g. HPLJ5. In some newer device types, this done by the kerenl and the printer initialization is empty. Usually the font size is already optimized to fit the number of characters required into the page. e.g. for X_65_255 list, he font is designed to fit 255 characters intoth e page so it needs to be smaller than for format X_65_120.
Also font Arial is a proportional font and is not a good font for ABAP lists. Ususally a non-proportional font like Courier is used. This is for alignment purposes.
Regards,
Aidan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.