Hello,
Exist a way to print a watermark in any type of document byEnterprise's print command?
Ricardo Cardoso.SolidworksSolidworks Pdm enterprise Pdm




Exist a way to print a watermark in any type of document byEnterprise's print command?
Ricardo Cardoso.SolidworksSolidworks Pdm enterprise Pdm

Anybody have any comments on this?
But for any type of document? I don't think so, you'll be at themercy of the application that created the document.
I know some printers could do this for you. They look for a specialcode in print stream. I have no personal experience with theseprinters, so I cannot recommend any.
Basically the program is going to:
1. Make an image that has the job number and date in it for thisprint run, and save it.
2. Open the drawing in EDrawings
3. Stamp the drawing with the image.
4. Print the drawing
5. Close the drawing without saving.
We're wanting a stamp, not a true watermark.. but you probably usethe same method for a watermark if you could either:
1. For dynamic stamping (like current date or job) use a program tocreate an image that supports transparency, such as png or gif andput that image on the drawing with the same method I mentioned.
2. If your image stays the same, you could just create it as a gifor png and save it off in a safe location and just reuse the imageeach time.
I'm not sure what file formats EDrawings can accept for stamps.. sothat'd be something to check into. And EDrawings can open manydifferent types of files, and it's free, so it gives you someflexibility as far as users printing drawings that don't haveSolidWorks.
We should be giving this a go hopefully sometime next week, andI'll post in here what we do if it works or doesn't work.
The text is a bit blurry, but using VB.NET we're able to generatean image derived from text (job number and current date) and thenusing EDrawings, stamp that image into a specified location on thedrawing.
We went into our solidworks drawings and added a little box on thedrawing border to mark off the space that the stamp will be in tokeep people from putting anything in it.
Like I mentioned before, if you were doing something like a logo orsome kind of image that didn't change every time you print, yourcode will be A LOT simpler. The hardest part was figuring out howto make the image from the text string.
We just want a stamp that reads "Uncontrolled document. Checkrevision prior to use."
I referenced here to get the code for stamping a drawing:
http://www.cad.vc/solidworks/w...me-edrawings-api-help
Every time a drawing goes through a specific state change, theserver generates a PDF with a specific watermark and puts it intothe appropriate project folder.
I have suggestion
watermark the printout is very easy. and it depends on your printerpreference.
here is the trick (look in the attached file)
Regards
For some people that's really easy.. but that depends completely onyour printer. I know for us, we have 2 regular printers that don'thave that capability, a copy station that does, and a KIP thatdoes.. but we also can print drawings directly down to the shopbays and they don't have that capability on any of their printers.For some companies that are smaller and are guaranteed to alwaysprint drawings on a printer that has that capability, that wouldwork great.. but if you aren't 100% sure that your employees willalways be printing on a printer that can watermark, I wouldn'tsuggest doing it that way.
whenever you adjust the printer settings for watermark option inthe printer preference, it will watermark any printout,
the employee doesn't have to check the watermark option, becauseits already checked in the printer preference,
and here is another solution for you people, if you would like towatermark drawing files and save them, you can use PDF printersoftware
it has also the option to watermark, so you would get :
PDF file with your defined watermark logo.
I think for me its the best to make it in this easy way
better than suffering days trying to write a macro or somethingwhich will watermark the drawings. if somebody found a solutionplease let us know
and here is one of the most nice software for printing PDF
its freeware (without watermark option)
PDF CREATOR
http://sourceforge.net/projects/pdfcreator/
and if you want PDF printer with watermark you will need to buyone.
regards
Mike
Yeah.. I understand that the employee doesn't have to check thewatermark option every time... what I was saying was that for us, 2of our office printers that are the primary printers for 90% of ourdrawings don't even have that as an option.. they can't dowatermarking as a printer preference. And all of our printers downin the shop bays are the same model or older as those, and theydon't have that option either.
We didn't want to have duplicates of all our drawings, so we're notsaving out PDFs as we go.. so that's why we had to write a macro towatermark and print the drawings. And we're using edrawings as theprint client so we don't have to have people with licenses ofsolidworks just to print drawings and because it's stamping featuremade watermarking very easy to program.