Skip to Content
0

Disable "Number of Copies" option while printing word document

Aug 04, 2017 at 06:17 AM

56

avatar image
Former Member

Hi All,

I have a requirement to disable to "Number of Copies" option while printing the word file from Zprogram.

I am using below method to print the document

CALL METHOD document->print_document

EXPORTING prompt_user = 'X'.

Main requirement is to allow user to take only single print of the document.

For this, can I able to disable the option "Number of Copies" and how?

OR is it possible to achieve this by hiding the whole print screen window and how?

OR what I am trying to achieve from Zprogram is possible or not ?

Please any help will be highly appreciated...

Thanks.

10 |10000 characters needed characters left characters exceeded

I don't wish to sound un-supportive, but what is the benefit of doing this? If I were an end user and I really wanted to get another copy of a document, to which I have access, there are options, which you cannot easily prevent - e.g. I could print to file, or I could take the printed paper, scan it and print as many times as I wish. There are a few more tricks which a resourceful person could think of, but these ones are so simple, that I would not look much further...

1
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Rashid Javed Aug 07, 2017 at 07:24 AM
1

In your SAP system, can you run the following report ? This is SAP demo for Desktop office integration. In this program, the Print button is behaving exactly like you require (that is to send the print in background). Hope it helps you.

Report name : SAPRDEMOOFFICEINTEGRATION


capture.png (32.3 kB)
Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Aug 07, 2017 at 06:01 AM
0

Please can anyone give any input on this query?....Thank You.

Share
10 |10000 characters needed characters left characters exceeded
Richard Harper Aug 07, 2017 at 06:52 AM
0

This is not an SAP question in reality. If you want this finer control then I would use OLE and send word the relevant commands myself rather than using SAP. For this type of thing search the Word Programming forums.

However... as Veselina said....

Share
10 |10000 characters needed characters left characters exceeded