Skip to Content
author's profile photo Former Member
Former Member

how to print page in front and back in scripts

hi,

I want to know to know the how to print a page in front and back.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 24, 2007 at 11:54 AM

    Hello,

    Check this:

    PRINT-CONTROL You can use this command to call certain printer functions from a SAPscript text. Although you cannot enter control characters for the printer directly in your text, you can define a print control via the spool maintenance transaction SPAD that contains the printer commands you want. You can then call a print control using the PRINT-CONTROL SAPscript command. Syntax: /: PRINT-CONTROL name Specify the name of the print control either with or without inverted commas. The print control printed via PRINT-CONTROL should always be a print control created in the customer name area (Zxxx) for the device type used. Use no Sxxx print controls, since their contents may be changed by SAP at any time with a release or driver modification

    For print controls:

    http://help.sap.com/saphelp_nw04s/helpdata/en/b1/fd1042ea8711d18e310000e83dd9fc/content.htm

    http://help.sap.com/saphelp_nw04s/helpdata/en/b1/fd1036ea8711d18e310000e83dd9fc/content.htm

    REgards,

    Vasanth

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 24, 2007 at 11:59 AM

    HI Ragavendra

    set this

    <b>Print mode is D</b>

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

    <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.

    and other Print mode options are

    <b>Print mode</b>

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

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

    Regards Rk

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 24, 2007 at 12:03 PM

    hi,

    in script u have to write 'D' in print mode.

    Regards

    Santosh.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.