cancel
Showing results for 
Search instead for 
Did you mean: 

Save a document as a draft and auto print

Former Member
0 Kudos

Hi

We have had a request from one of our 2005 customers to add a button to the delivery screen, which will save it as a draft and automatically print out a copy of the draft.

I think I can save the document as a draft by calling SBO_Application.ActivateMenuItem, but I am not sure how to auto print it ?

Can anyone help please ?

Regards Andy

Accepted Solutions (1)

Accepted Solutions (1)

former_member184566
Active Contributor
0 Kudos

Hi Paul

as far as i know, the sdk only alows us to catch the print event. We ourselves can also click the print button through code to bring upo the print dialogue. But we can not issue a direct command for it to print to a certain printer or default printer as you can do through the front end.

Hope this helps

AdKerremans
Active Contributor
0 Kudos

Hi Paul,

When we want to print without user interaction we make a Template document in Word and print through the Office API.

Regards

Ad

Former Member
0 Kudos

Hi Ad, you have any code example for this try? with office printing?

Answers (0)