We are printing drawings from crystal reports using TIF files created from Solidworks. The report is a re written Job traveller using only ODBC, this gives flexibility when printing specific ranges or selections of numbers.
The image is printed on the back of the page on every job, as 99% of our job cards are 1 page long this works very well.
I have created an OLE object in the First Group footer and in the formula for the graphic location it reads
IF ISNULL({@TifLocation}) THEN "\\SERVERNAME\EPICOR\CRDROTATED\NOPIC.TIF" ELSE {@TifLocation}
The {@tiflocation} reads
replace({XFileRef.XFileName},"crd","crdrotated")
We have 2 folders crd and crdrotated the images are saved in landscape and a program runs every day that copies new drawings and rotates them to portrait into a new folder, the revision attachemnt points at the inital landscape folder for easy screen viewing.
The NOPIC.TIF is an empty tif file that prints a blank page for any part that doesn't have a drawing attachment against the part revision
If there is an attachment but no physical file on the server crystal still prints a blank second page so job cards do not get mixed up for double sided printing.
We then print all the job cards through APM to different printers depending on their destination.
Its not perfect but works extremely well.
Mark
Teagle Machinery Ltd
The image is printed on the back of the page on every job, as 99% of our job cards are 1 page long this works very well.
I have created an OLE object in the First Group footer and in the formula for the graphic location it reads
IF ISNULL({@TifLocation}) THEN "\\SERVERNAME\EPICOR\CRDROTATED\NOPIC.TIF" ELSE {@TifLocation}
The {@tiflocation} reads
replace({XFileRef.XFileName},"crd","crdrotated")
We have 2 folders crd and crdrotated the images are saved in landscape and a program runs every day that copies new drawings and rotates them to portrait into a new folder, the revision attachemnt points at the inital landscape folder for easy screen viewing.
The NOPIC.TIF is an empty tif file that prints a blank page for any part that doesn't have a drawing attachment against the part revision
If there is an attachment but no physical file on the server crystal still prints a blank second page so job cards do not get mixed up for double sided printing.
We then print all the job cards through APM to different printers depending on their destination.
Its not perfect but works extremely well.
Mark
Teagle Machinery Ltd
--- In vantage@yahoogroups.com, "Paul Millsaps" wrote:
>
> We are re-visiting the issue of printing our shop jobs and automatically attaching the autocad drawing to each shop order. We know Crystal Reports will definitely not embed DWG files, but are looking at either PDF files or JPG files. Has anyone done this, or researched it? It appears a couple of years ago at least that PDF files will not work either, but I was hoping someone else found a better solution.
>