Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
Curious if anyone has successfully implemented the Creo View Adapter for SolidWorks when outputting HPGL (.plt) files. I've followed all the instructions and my plots are coming out upside down. I'm at a complete loss...
CAD Worker
Followed the instructions on page 432 of the Install Config Guide, worked through CS22286, and tried multiple Microsoft and HP printer drivers, all to no avail.
I'm currently configuring server-side watermarking for Edwards (like we had for years at Alcon). Works perfectly for Creo, using default publish to .plt (HPGL).
Haven't yet taken a look at SW but need to. Currently publish SW to PDF and watermarks don't seem to work. Watermarks do work for SW using DWG - just tried.
Wondering if any one has made progress since this original post and if there is a reason to look at HPGL for SolidWorks drawings.
I gave up and just switched to DWG output for SolidWorks.
I'm experimenting with a 3rd party HPGL driver / writer called WinLINE, from www.winline.com. Its free to try, but it adds a watermark to all output until a license is purchased. Cost $200 for single computer install. Solidworks publishing on our Worker to PLT files is coming out right-side up.
How exactly did you integrate this between SolidWorks and the Creo View Adapters?
Mike Lockwood has successfully set up Solidworks publishing with File Synchronization and DWG. I'm piggy-backing off of his work.
Install the HPGL Printer / Writer:
I'm still experimenting with the other settings to refine the output. I'm still figuring out how to use "Pen Width" in combination with line thickness. The "About/Help" tab has most of the information I used to discover this stuff.
Setup the Worker to use the HPGL Printer / Writer:
I'm still trying to figure out how to get some lines to plot with 0 line width (letter characters and text) and other lines to have different thickness (object, annotations, format border). I'm very interested if anyone has insight on the line widths output of Solidworks and how to map them to the pens in the Winline HPGL driver.
I'm still experimenting with the Winline printer/writer.
I first installed the "WL HP-GL Center" printer as shown above with initial success publishing from Windchill, except the line thicknesses are all the same, text and all. I found PTC article CS201822, which indicates that PLT files can contain either HPGL or HPGL/2 output. So I decided to try the "WL HP-GL2 Pen Plotter" driver.
I set it up with the same settings as the HPGL printer from above, but guess what? With these settings the published output from Solidworks is upside-down!
Well, just like the "WL-HP-GL Center" printer from before, you can enter Job Control Strings to affect the output. I Googled the HPGL/2 Reference Guide, and there is a code for page rotation, RO. So I entered the code for 180 degree rotation, RO180 to the "StartPage" string as shown below.
Voila, right-side-up, HPGL/2 PLT file output from Solidworks!
I can immediately see that HPGL/2 PLT files are better quality output than HGPL. The line thicknesses match the Solidworks drawing and the text is thin and clean.
The next question is will this PLT output be compatible with the Drawing Compare functionality in Creo View MCAD?
Still fooling with using Winline to create HPGL PLT files with inconsistent results.
I can manually print from Solidworks to the Winline printer with perfect results. The PLT file looks exactly like PDF output from Solidworks. Amazing!
However, whenever I publish using the Worker process on the same computer using the same files, the pen line widths settings in Winline are ignored. I suspect it could be that System Account that runs the GS Worker Demon is not able to use the printer settings the way a regular account can. Anyone with thoughts on this?
Status Update: I now have Solidworks publishing to PLT files with correct line widths and smooth text from the fonts!
The issue was that, when the WorkerDaemon.exe process is run as a service using "Log on as Local System Account" and "Interact with Desktop" checked, it was not picking up the Winline printer settings for Resolution, Color Associations and Carousel.
The workaround I am using is to create a local user account on the computer, log in as that local user, run the WorkerDaemon.exe process in a command prompt window, and then lock (Win+L) the screen and disconnect.
The caveats to this method are:
The advantages to this method are:
I can share my Winline Pen-Map file if anyone wants it.
If the PTC Product manager(s) for WVS publishing of SolidWorks are looking at this thread, we would very much appreciate a chat w/you directly on this topic.
One overall goal is to be able to publish all CAD to .plt, and then to be able to use Creo View drawing compare universally.
thanks