Printing a File

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Printing a File

Bruno Brasesco
Hi all,

Is there any way to Print a File from Dolphin ?
Something like: XXXXLibrary default print: 'c:\xxxxx'.

(When a User print aFile, I want to add this "event" to my application)

I tried to find it, but i could not.

Regards
Bruno


Reply | Threaded
Open this post in threaded view
|

Re: Printing a File

Bruno Brasesco
Evalute this in Workspace:

ShellLibrary default shellExecute: nil
    lpOperation: 'print'
    lpFile: 'c:\temp\test.pdf'
    lpParameters: nil
    lpDirectory: nil
    nShowCmd: 1.

Thanks any way !
Regards Bruno


Reply | Threaded
Open this post in threaded view
|

Re: Printing a File

Smalltalkiano-4
Thank you Bruno,

    I didn't know that one :)

    regards

Seb

"Bruno" <[hidden email]> escribió en el mensaje
news:b046i1$lke9e$[hidden email]...

> Evalute this in Workspace:
>
> ShellLibrary default shellExecute: nil
>     lpOperation: 'print'
>     lpFile: 'c:\temp\test.pdf'
>     lpParameters: nil
>     lpDirectory: nil
>     nShowCmd: 1.
>
> Thanks any way !
> Regards Bruno
>
>
>
>
>