Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing selected files from a list?

Status
Not open for further replies.

PatCouture

Mechanical
Jun 6, 2003
534
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
 
Replies continue below

Recommended for you

Patrick,

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
 
Another way to arrive at the list instead of revision manager might be to create a report from the Assembly.
 
Thanks Don

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
 
Patrick,

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor