cancel
Showing results for 
Search instead for 
Did you mean: 

Print Controls

Former Member
0 Kudos

We are using SAP 4.7 using Oracle 9i on Windows 2003 Server.

I have created a payslip with a size of 8.5 inch x 6.5 inch for an EPSON LQ 590 dot matrix printer. I'm having problem disabling the form feed therefore it's skipping one blank payslip in the pre-printed form. I've tried creating formats for both SWIN (tried printing local) and in the EPESCP2 device type. When I removed the \f script in the format, it's not doing a form feed, but my page was mis-aligned.

I'm not really familiar with these parameters. Maybe anyone from the community could help me out.

  1. SAPWIN data stream

\e%SAPWIN%

\i<::XPAGES>

\i<::XPGINIT>

\i<::XPARAM>

\i<::XLINEMOD>

\i<::XFONT>

  1. set page length 33 (=$21 hex) lines

\e\0x67\0x9

  1. Line Feed

\e\0x0C

  1. Set skip over perforation

\e\0x4E

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Maybe this information can help:

Device Types


SWIN Rel.4.x/SAPlpd 4.09+ ONLY!


ZX_31_99 Used for ABB Payslip Printing

-- ENDLINE End of Line

|-- ENDPAGE End of Page

| #

|-- LEAVE Reset After Exit

| # SAPWIN X_PAPER

|-- SETUP Printer Initialization

| # SAPWIN data stream

| e%SAPWIN%

| i<::XPAGES>

| i<::XPGINIT>

| i<::XPARAM>

| i<::XLINEMOD>

| i<::XFONT>

| # set page length 33 (=$21 hex) lines

| e0x670x9

| # Line Feed

| e0x0C

| # Set skip over perforation

| e0x4E

|-- XFONT Font selection

| ##usage: Font selection

| ##DO NOT CHANGE the first two lines!

|-- XLINEMOD Line handling

| ##usage: Line handling

| ##DO NOT CHANGE the first two lines!

| # output complete line with one call (do not use for proportional fonts)

| eOa1

|-- XPAGES Multiple pages

| ##usage: Multiple pages

| ##DO NOT CHANGE the first two lines!

|-- XPARAM Local settings

| ##usage: Local settings

| ##DO NOT CHANGE the first two lines!

| #ec10.5;

| #Für neuen SAPLPD ab 2.36

| #Mit dünnen Trennlinien:

| eS195X

| #Für lückenlose Zeilenabstände:

| #eS204X

| el6.3;

|-- XPGINIT Orientation

| ##usage: Orientation

| ##DO NOT CHANGE the first two lines!

| # portrait orientation

| ePP

|-- XTFONT Font selection for title page

##usage: Font selection for title page

##DO NOT CHANGE the first two lines!