cancel
Showing results for 
Search instead for 
Did you mean: 

Can SAPSprint support sap printing on both sides?

Former Member
0 Kudos

Dear all,

Recently we have switched SAPlpd to the new tool SAPSprint for Server based printing.

The sap printing is OK in SAPSprint environment but it don't support sap printing on both sides.

We have set SPAD>Output Attributes>Print mode-->DUPLEX: Print on both sides.

The printer can print both sides when print word, mail, txt,

only not support sap printing on both sides.

However, the same printer can do sap printing on both sides in SAPlpd environment.

So we have a question that can SAPSprint support sap printing on both sides?

Or may our SAPSprint version is not proper?

Our SAPSprint version is set up from the GUI 720 installing software which is from below path:

\NW_7.0_Presentation\PRES1\SAPSPrint\xSPrint.exe

Is this SAPSprint version proper?

Any experienced please give your advice.

Regards

Allen

Accepted Solutions (1)

Accepted Solutions (1)

Sriram2009
Active Contributor
0 Kudos

Hi allenGG

In you host spool server where the SAP Sprint service running on pc or Server in the printer properties (HP1320N) go to advanced tab under that you can find the printer defaults in that you are set the print on both side? If it yes mean what are the printout which you are released it will print both side

Regards

S

Answers (2)

Answers (2)

Sriram2009
Active Contributor
0 Kudos

Hi Allen

If you are using the SAPSPrint method you can set the printing option both side in the host spool server

Regards

S

Former Member
0 Kudos

Hi S,

Our sap print device name is 1320, its relevant printer is HP1320 on our print server(using SAPsprint).

We have set device 1320 as below

SPAD>Output Attributes>Print mode-->DUPLEX: Print on both sides.

And we also have set printer HP1320 to print on both sides in its Printing preferences.

Then the printer HP1320 can print both sides when print word, mail, txt,

it can do sap printing,

only not support sap printing on both sides.

However, the printer HP1320 can do sap printing on both sides in SAPlpd environment.

That is why we want to know how to set SAPsprint parameter to make DUPLEX.

Can you give a process about

how to set the printing option both side in the host spool server?

Regards

Allen

markus_doehr2
Active Contributor
0 Kudos

Check

Note 85469 - Options for the SAPSprint print server tool

how to enable duplex printing.

Markus

Former Member
0 Kudos

Dear Markus,

I found the below information from Note 85469 - Options for the SAPSprint print server tool.

  • Key: "DcMode" [printer-specific]

o Default: 0x0800

o Other values: (Nearly) all, see below

  • Effect:

This parameter determines WHEN to send the control of

a) orientation portrait/landscape

b) paper size

c) duplex

d) tray

to the printer and WHICH commands will have to be repeated together with other commands.

The parameter is a 16-bit figure in the following format:

ttttaaabbbcccddd

The t-bits determine the sending time of the control commands. There are two procedures:

1. Only send a command when a parameter changes or always send it.

2. Send command immediately if changes occur or collect all commands and send them together at the next page break.

tttt = 0000 (former operation)

0010 (only in case of parameter change + direct output)

0100 (send always + direct)

1000 (only in case of change + collect until page break)

1100 (send always + collect until page break)

In each case, the following bits determine which commands must be repeated together with others (a-d see above). The 3 a-bits determine whether size (b) Bit 1, duplex (c) Bit 2, tray (d) Bit 3 are sent when setting the orientation.

For example: 0x0900 = 0000100100000000 (t=0000,a=100,b=100,c=000,d=000) means that, as opposed to the default setting (b=000), with the b=page size command, the a=Orientation command is always repeated as well.

And below information is also found from Note 85469 - Options for the SAPSprint print server tool.

The syntax for printer-specific settings is generally:

<Value> = <Windows printer name>:<Parameter name> therefore for example

'HP Laserjet:PortraitOnly'

Alternatively, you can change the values by calling sapsprint from the command line with parameter -oi or -os. The parameter is case-sensitive.

Exact syntax:

'sapsprint -oi <key> <value>' for numbers or

'sapsprint -os <key> <value>' for character strings

Examples:

sapsprint -oi PortraitOnly 1

sapsprint -os SwinDataType EMF

Below are my questions:

1

since I only want duplex printing, no other changing,

so I set c) duplex to be 100,as opposed to the default setting (c=000)

tttt aaa bbb ccc ddd = 0000 100 000 100 000 = 0000 1000 0010 0000 = 0 8 2 0

so the value should be change from 0x0800 to 0x0820

my command line action plan as below(C:\Program Files\SAP\SAPSPrint is the installed path, HP1320 is the printer name):

1)cmd

2)c:

3)cd C:\Program Files\SAP\SAPSPrint

4)sapsprint -oi HP1320:DcMode 0x0820

Is the command line action plan right or not?

2

Do I need to restart SAPSPrint after changing the parameter DcMode?

Please kindly give your advice.

Regards,

Allen

Edited by: allenGG on Oct 17, 2011 11:55 AM