Printing selected files from a list?
Printing selected files from a list?
(OP)
Hi
I don't know if this is possible with VB since I don't really know how to use it but I would like to be able to build a printing request for a set of files.
Example:
If I have 5 different assemblies that are build from a library of standard parts and the drawing of those parts are in various folder. When it comes to print all the drawing that are needed for let's say assembly #1 I don't want to have to open each and every draft so that I can print them all. Also I want to keep the originals drawings in their respective folder (so moving them to a folder "assembly #1" is not an option no more than copying those draft into a folder because I don't want to have duplicate files)
What I'm thinking about is a list of the files that are required for "assembly #1" and then with something like "Batch.exe" being able to print them all at once even if they are separated in various folder.
Is this possible?
Thanks in advance.
Patrick
I don't know if this is possible with VB since I don't really know how to use it but I would like to be able to build a printing request for a set of files.
Example:
If I have 5 different assemblies that are build from a library of standard parts and the drawing of those parts are in various folder. When it comes to print all the drawing that are needed for let's say assembly #1 I don't want to have to open each and every draft so that I can print them all. Also I want to keep the originals drawings in their respective folder (so moving them to a folder "assembly #1" is not an option no more than copying those draft into a folder because I don't want to have duplicate files)
What I'm thinking about is a list of the files that are required for "assembly #1" and then with something like "Batch.exe" being able to print them all at once even if they are separated in various folder.
Is this possible?
Thanks in advance.
Patrick





RE: Printing selected files from a list?
there is no direct reference from an asm/part/weldment/sm
to the draft. But I think you may be able to do that
with revision manager. It has an option to search for
all files that have a reference to the assembly in question.
The types of files can be filtered and the final list can
be selected and copied. Batch.exe, however, is not designed
to print files from a list. But it should be easy to
read the list with VB start SE and then open each file and start the
PrintOut() method.
dy
RE: Printing selected files from a list?
RE: Printing selected files from a list?
I already thought about using Revision manager to build my list and I think it would be the most efficient way of doing it without errors. But as you said Batch.exe is not designed to work from a list and that's what I'm looking for.
If I understand you correctly I would be able to use VB to open each file and print it?
Patrick
RE: Printing selected files from a list?
yes, that's right. Have a look into the source of Batch.exe
they're doing nothing else when comes to printing a draft.
dy
RE: Printing selected files from a list?