Application Development 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: 

Disable "Number of Copies" option while printing word document

former_member530652
Participant
0 Kudos

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.

4 REPLIES 4

former_member530652
Participant
0 Kudos

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

VeselinaPeykova
Active Contributor

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

former_member182550
Active Contributor
0 Kudos

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

Rashid_Javed
Contributor

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

RJv