-----Original Message-----
From: norseman [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 31, 2008 9:58 AM
To: [email protected]
Subject: Re: [users] Print contents of a folder

Peter Davies wrote:
> Thanks, James, your solution is a good one.
> 
> Note: Harold that your solution only works when the format is 
> recognized by windows, I use .odt which is not recognized(word formats 
> are, though there might be something along the lines of a audio codec 
> that would solve the problem), this is because windows explorer needs 
> to recognize the file as a document to give options like print.
> 
> Peter
> 
> On Fri, Oct 31, 2008 at 11:50 AM, James Knott <[EMAIL PROTECTED]>
wrote:
>> Peter Davies wrote:
>>> Does anyone know how to print the contents of a folder(all documents 
>>> in the folder), without having to open each one individually and 
>>> print it.
>>> Peter
>>>
>>>
>> Select all the documents and drag them to the printer.
---------------------------------------------------------------------
Peter;
         As a last resort:
             open a MSDOS (CMD) Window
             cd to dir to print
             for %f in (*.odt) do drive:\full-pathname\soffice -p %f Check
printer connection, ink levels and paper supply first.
(The .odt can be any extension OOo understands and can print. If you know
that all extensions are OOo compatible and want the whole dir, use (*.*).)

If you are one of those that use the default setups and all your stuff is
buried way down a path, take a look at subst.exe (in win/system32).
In CMD window - help subst

HTH

Steve
[EMAIL PROTECTED]
---------------------------------------------------------------------
Steve,

For those of us less DOS-aware, to clarify the syntax is:

        for %f in (*.odt) do drive:\full-pathname\soffice -p %f

where:

        for specifies a loop
        %f means "begin-boundary of the for loop"
        in (*.odt) means "in the set of all files of the form *.odt"
        do means, well, "do this..."
        drive:\full-pathname\soffice means ... ???
                I THINK: drive:\full-pathname\ means "path to the dir
containing the files to be printed"
                \soffice ???
        -p means "send to default printer"
        %f means "end-boundary of the for loop"

QUESTIONS:

1. Am I more or less on track here?
2. Would you be willing to fill in where I have ??? ?

Thank you kindly,
Elchanan


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to