cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a Customized Page format?

Former Member
0 Kudos

Hi Experts,

Page size is ht- 278mm, width - 242 mm.

Printer - EPSON LQ-680 (Dot Matrix Printer)

Paper - Preprinted Stationary ( For Invoice Printing)

As per the comments I have followed the below steps for my page format.

From SPAD Transaction,

1. Created Page format -

Page Format ZINV_JGT

Orientation as - Portrait

Width 242 Unit MM

Height 278 Unit MM

2. Created Format type

Format Type ZINV_JGT

Type Format type for sap script

Page Format ZINV_JGT Orientation - Portrait

Comment Page format for JGT Invoice

3. Created Device type

Version 1

Device type ZINV_JGT Name Device driver Invoice print

Driver SAPlpd/SAPWIN driver 3.0

Printer Driver Do not printer driver for ABAP list Print

Character Set 1135 Printer EPLQ550 ASCII multilingual

4. When to format for device

Then created a format zinv_jgt

I get the below options in this tab. What code i need to write here.

Printer initialization

Reset after exit

Cover page

First Page

Start of even page

Start of odd page

Start of page

End of first page

End of even page

End of odd page

End of page

Start of line on an even page

Start of line on an odd page

Start of line

End of line on an even page

End of line on odd page

End of line

Please check whether the above steps and the data filled is correct for my type of page format.

Please help me on this.

Thanks and Regards,

Abdur Rafique

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Guys,

I have got the solution. I created a customized page format and closed it.

Thanks for the help.

Regards,

Abdur Rafique

Former Member
0 Kudos

Hi Rafique..

I would like to know.. What code you added for Initialisation.. end ofline.. end of page.. formats

Thanks

Former Member
0 Kudos

Hi Guys,

I have a basis person, who has not configured the page format and he does not how to do it.

I have gone till the format type, I have put down the complete process which i have done to create a page format.

Please check the process and help. It would be really kind of you.

Waiting for the replies.

Thanks and Regards,

Abdur Rafique

alex_m
Active Contributor
0 Kudos

In that case, go get and use the page format lets see what will heppen..

Former Member
0 Kudos

Hi Alexander,

I was not able to add the code in the Printer initialization and the other following steps.

Printer initialization

Reset after exit

Cover page

First Page

Start of even page

Start of odd page

Start of page

End of first page

End of even page

End of odd page

End of page

Start of line on an even page

Start of line on an odd page

Start of line

End of line on an even page

End of line on odd page

End of line

Please tell me what data i need to add? I think the above steps are used to define the format of the page.

Please help me on this?

If i give a print command without the code in the format type. I'm getting the following error.

Device type SAPWIN does not support page format

ZINV_JGT.

Regards,

Abdur Rafique

Former Member
0 Kudos

hi

go to t-code SPAT -->device typrs -->select button page formats >change>select create-->here you can cretae as per your requirement

after you cretaed the format check in the table TSP08.

revert back for any query.

regards,

venkat

alex_m
Active Contributor
0 Kudos

Work with your BASIS team for this if you face any errors.