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

scripts

Former Member
0 Likes
885

what are the various print modes available in scripts

Message was edited by:

suresh gunnam

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
862

Hi,

LP01 is the standard.

LOCL for the virtual printer.

Reward Points if useful.

Thanks,

Neela.

5 REPLIES 5
Read only

Former Member
0 Likes
862

Hi

There are 4 modes

Space - Default No change

S - Simplex Mode

D - Duplex mode

T- Tumple Duplex Mode(dual Sides)

Reward points for useful Answers

Regards

Anji

Read only

Former Member
0 Likes
862

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.

<b>S</b> 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.

<b>D</b> 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.

<b>T</b> 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).

Also check this link.

http://help.sap.com/saphelp_40b/helpdata/es/d9/4a95f051ea11d189570000e829fbbd/content.htm

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

Hope this resolves your query.

Reward all the helpful answers.

Regards

Message was edited by:

skk

Read only

Former Member
0 Likes
863

Hi,

LP01 is the standard.

LOCL for the virtual printer.

Reward Points if useful.

Thanks,

Neela.

Read only

Former Member
0 Likes
862

hi

good

go through this

You switch to duplex or tumble duplex mode with a form page for which one of these modes is specified. To continue printing in the current mode, for follow-on pages you must define another page in which the Print mode field is empty. Otherwise, the following pages after the mode switch will continue to be printed only on the front sides of new sheets of paper.

The reason: When SAPscript sends a page with Print mode D or T to the printer, it not only sets the print mode accordingly. To ensure that the first page in the new mode is correctly output, SAPscript also instructs the printer to output the page on the front side of a sheet. If SAPscript sends a sequence of D or T pages to the printer, the output is printed only on the front side of each sheet.

You define a first page named FIRST for a form to be printed in duplex mode. You therefore set the Print mode in FIRST to D.

To make the duplex printing work correctly, you must define a second page FOLLOWER in which Print mode is left empty. In the form definition, you specify FOLLOWER as the follow-on page for FIRST and for itself as well.

Your text is then printed in duplex mode. FIRST switches the printer to duplex mode and forces printing of the first page on the front side of a new sheet. FOLLOWER accepts the duplex mode and sends no further mode print controls to the printer. The printer therefore alternately prints FOLLOWER pages on the fronts and backs of sheets.

thanks

mrutyun^

Read only

Former Member
0 Likes
862

hi,

to all gurus for responding to my query

Thanks&Regards

suresh