cancel
Showing results for 
Search instead for 
Did you mean: 

about scripts

Former Member
0 Kudos

how to print other side of a page?i used the page mode as duplex but i not got?

what is the output type in scripts?what is its purpose?

what is the nast_protocol_update?

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member196280
Active Contributor
0 Kudos

For duplex printing ter this

Device Definition for Duplex Printing of SAPscript/Smart Form Texts

If the SAP device definition for your printer does not contain the print controls described above, do the following:

a. Copy the device type.

To copy a device type, do the following:

Start the spool administration function by choosing Tools --> CCMS -->Spool -->Spool administration.

Choose Utilities --> For print control -->Copy device type to copy the definition of an output device.

Enter a name of your choosing that begins with a Y or a Z.

Use references: Leave blank to have device format actions copied directly into the new device type. Do this when you are defining a completely new device type on the basis of a similar device, or when you plan large-scale changes to the actions in the device format.

Mark this option to have device format actions included by reference from the original device type. Do this when you plan only limited changes or extensions to an existing device type. Advantage: the device format actions remain up-to-date with changes made in the R/3 standard device type.

You want to customize the cover page but plan to leave other actions as they are. You can completely replace the cover page action(s). Other actions reference the actions in the R/3 standard. Any updates by SAP are automatically reflected in the referenced actions.

The SAP System copies all of the following when you copy a device type:

The device type definition.

The print controls defined for a particular device type. (You can add to the list of standard print controls, however, without restriction.)

The device format

SAPscript printer fonts and printer bar codes defined for the device type.

b. Add the required Print Controls and enter the printer-specific escape sequences Look in your printer manual for information about what to enter.

To add new print controls to a copy of a device type, proceed as follows:

1) Select Tools --> CCMS -->Spool --> Spool administration ® Full administration. Enter the name of the device type in the Device types field and confirm your input.

2) Choose Print controls.

3) Choose Std print controls to select the print control you want to add to the device type definition.

C. Create an output device with the new device type.

A target device must be specified for the output for every document to be printed in the SAP system. As the document can be output using not only printers, but also archiving devices, these devices are called Output Devices in the SAP system.

In the SAP system, output devices are the logical representations of the real output devices.

Regards,

SaiRam

Former Member
0 Kudos

Hi,

<b>For Both side Printing -</b>

Define a first page - FIRST 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 say NEXT in which Print mode is left empty.

Make in sure the following pages the print mode is left <b>empty</b> for the <b>DUPLEX</b> printing to work.

<b>Output Types -</b>

For each transmission medium, one form routine in a program is assigned to the output type. This form routine is called for processing the message.

You can refer to this thread -

<b>Nast Protocol Update -</b>

Nast_protocol_update would log the messages that are encountered in the flow of the print program and update the NAST table.

eg. when you define a output type, the status for the output type should be recorded and saved in NAST. i.e Nast gives the information whether the output type is processed or if there is an error.

To update the status we need to use this FM in the driver program