Re: Win32ole & Adobe Acrobat Reader

Philippe L. wrote:

filename = “myfile.pdf”
Works great, thanks a lot! I’ll keep on trying the OLE way of
doing things: printing in the background could be useful too.

Here we are:

acrobat =‘AcroExch.App’)
doc =‘AcroExch.AVDoc’)“c:\Program Files\Microsoft Space-Bearing
Paths\Are\Evil.pdf”, “ok”)
#doc.printpagesex(0, 0, false, true, true, false, true, true, true)

In order to discover the OLE Automation interfaces, I recommend this
ruby program:

Does anyone know how to retreive and change the default printer maybe?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs