Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding printing using script

Former Member
0 Likes
571

Hi Expert,

I want to print on both sides of paper, i am using sap script for the layout. Could you please guide me with the required printer settings or program additions ?.

Thanks in advance.

3 REPLIES 3
Read only

former_member222709
Contributor
0 Likes
531

Hi,

Printing on both sides of the paper is the property of the Printer. If your default settings for the Printer is Duplex Printing, then the script will Print on both sides.

Ensure that your default printer in SAP or the Printer selected while printing has the setting of Duplex Printing.

Read only

Former Member
0 Likes
531

Hi,

ew need to assign 'D' in print mode in SCRIPT at page level. (First page, Next Page). check pages tab in scripts.

Ram.

Read only

Former Member
0 Likes
531

Hi,

Print modes

With Print mode, you can specify single- or double-sided printing for a page. You can choose from the following values:

' ' Currently active printing mode continues unchanged.

S The page is printed in simplex mode. That is, the printer should print on only one side of the paper. If another mode was previously active, then the printer is switched to simplex mode with the start of the page.

D The page is printed on the first side of a sheet in duplex mode. If another mode was previously active, then the printer is switched to duplex mode with the start of the pageand continues in this mode.

T The page is printed on the first side of a sheet in tumble duplex mode. That is, the printer prints on both sides. The page on the second side is always inverted, so that the footer of the second page is printed opposite the header of the first page.

If another mode was previously active, then the printer is switched to tumble duplex mode with the start of the page and continues printing in this mode.

Print modes are currently supported for printers that use the PCL-5 language. These are printers that are defined with the following SAP device types: HPLJ_II, HPLJIIID, HPLJ4, LX4039, SNI20XX8.

See the spool system (transaction SPAD) to check on how your printers are defined.

The print controls for these functions are SPMSI (begin simplex printing); SPMDU (begin duplex printing); SPMTU (begin tumble duplex printing); SPMFS (print on first side of sheet in duplex or tumble duplex mode); and SPMBS (print on second side of sheet in duplex or tumble duplex mode).

Later do this,

Config. your Printer

Go to SPAD ,

take output devices .

Choose your output device ,

double click

take the output attributes.

Give the print mode as Duplex.

Your printer also should be set for the duplex mode

-Thanks & Regards