cancel
Showing results for 
Search instead for 
Did you mean: 

rotation 180 degree settings for payslip printing

Former Member
0 Kudos

Hi Gurus,

I want to rotate my payslip printing by 180 degrees, but I do not know how to set it. Do you have any idea?

Regards,

Shaoming

Accepted Solutions (0)

Answers (1)

Answers (1)

aidan_black
Active Contributor
0 Kudos

Hi,

If this is a Sapscript form or a Smart Form, you should be able to change the Orientation setting in the form to Portrait or Landscape. i.e. If it is currentrly set to Portrait, change it to landscape and vica versa.

regards,

Aidan

Former Member
0 Kudos

It is neither smartform nor script. The form is created by PE51. So I guess I have to add a PCL command in a new created device format, but I don't know the procedure. Anybody has ideas?

Regards

Shaoming

Former Member
0 Kudos

HI,

Please refer http://scn.sap.com/thread/1900304 for text rotation through PCL commands.

Regards,

Amit

aidan_black
Active Contributor
0 Kudos

Hi Shaoming,

The PCL commands for text rotation are:

Turn print direction by 90°: \e&a90P

Turn print direction back:  \e&a0P

You can call the command \e&a90P in the printer initialization section of the created format.

SPAD -> Full Admin -> Device Types  -> <Device Type> -> Formats-> <Format> -> Printer Initialization.

regards,

Aidan