cancel
Showing results for 
Search instead for 
Did you mean: 

Charecters Per inch in Scripting

Former Member
0 Kudos

Hi All,

How to define Charachers Per inche for newly created Character format in SAP Script.

Thanks,

Chindam.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

thnks

Former Member
0 Kudos

I don't think you can set characters per inch by character format. Maybe if you could explain why you want to we could suggest an alternative.

former_member585060
Active Contributor
0 Kudos

I think we can create character per inch for Paragraph formats not for Character formats.

Former Member
0 Kudos

Hi Bala Krishna,

Can i Know how to create character per inch for pharagraph format ?

Thanks Chindam.

former_member585060
Active Contributor
0 Kudos

Hi,

Its in Header component of SAPScript u can set characters format, sorry i mentioned it wrongly above not in Paragraph format. Actually we can mention Tab spots there, which in turn gets the values from Form header data where u define default Characters Per Inch & Lines per Inch. Same with Characters also, we define character format there but spaceing between each character is read from header data.

Read below the documentation.

Below, the header data is described as it appears in the alphanumeric Form Painter.

Like the header data of a style, the header data of a form comprises two parts: the data set by the system and the data you are expected to enter. The latter is dealt with separately.

u2022 Device-independent entries.

u2022 Description

A short explanatory description of the form (also applies to the style), designed to make selection easier for the end user.

u2022 Form class

You can assign a form to a class to help you organize and search for forms. The default set of classes is the set of program classes in your system.

u2022 Start page

Tells the print program which page format in a form to use first for printing.

u2022 Default paragraph

Paragraph set to * in standard text maintenance.

u2022 Tab stop

A grid set at specified intervals in all windows defined in the form. However, you should note that the tab stops are only valid in paragraphs where you have not defined your own tabs.

u2022 Language, Original language, Translation applic

Use these fields to record the master language and language of the current version of a form. Marking Translation applic makes the form accessible for translation from the SAP Systemu2019s translation tools (transaction SE63).

u2022 Device-dependent entries.

You can only enter values here that are supported in the R/3 printer definition. If you make other entries, this leads to errors in the check routine.

u2022 Page format

Determined from the spool administration table with transaction SPAD. Make sure there is a printer assignment u2013 there must be an additional spool format for the printer with the same page format.

u2022 Orientation

Depends on the page format selected. This can also be determined from the spool administration table. Please note that the formats landscape and portrait are not supported by all printers.

u2022 Lines per inch (LPI)

Basis for converting the unit of measurement LN in style and form maintenance. The value 6.00 is set by the system, as this value is supported by all printers.

u2022 Characters per inch (CPI)

Basis for converting the unit of measurement CH in style and form maintenance. The value 10.00 is set by the system, as this value is supported by all printers.

u2022 Font attributes

With these fields, you can set the default font for a form. The default font applies if other objects do not specify a font. SAPscript suggests a default font, which you can change.