×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Print to hpgl file?

Print to hpgl file?

Print to hpgl file?

(OP)

Is it possible to print a drawing to a HPGL/HPGL2 file using Catia alone?

Pardon my ignorance but I am not an engineer or versed in Catia - I work in the Information Systems department.

RE: Print to hpgl file?

My guess it should be, since hpgl and hpgl/2 are the most widely supported plotter formats in the world. Every CAD system I have used has supported HPGL.

Ben Loosli
CAD/CAM System Analyst
Ingersoll-Rand

RE: Print to hpgl file?

Yes you can,
I am assuming your talking V4 catia.

just tried it a few days ago.
not at work now, so here is what I remember.
im not a computer sys person here, but try my best to figure this stuff out.

you will need to set up another plotter config file.
then once in catia you select this new plotter and it
will send it to the specified file.

The plotter config files are text files.

I believe that your plotter config files are in your home/catadm/adm/pltcfg.  there may be several different locations for these plotter config files due to multiple
environments.

I took our plotter config file for our normal plotter, made a new copy of this file and edited it slightly.
such lines as
*name HPGL2
*EXPORT HPGL2      (HPGL didn't work for me)

then looked at the tif plotter file configuration and copied someof that near the bottom where it outputs to a file, instead of sending it to the plotter.
changed the catout.tif to catout.hpgl2

delete or comment out the line where it would send it to the plotter. this would be a lpr line of somesort.


the info for the tif is posted in this forum.
Thread560-31352

RE: Print to hpgl file?

I will copy and paste my config file Monday, if I don't forget.

Or list your email, and I can email it to you.


RE: Print to hpgl file?

/ ----------------------------------------------------------------------
/ HEADER BLOCK DEFINITION
/ ----------------------------------------------------------------------
*BEGIN_HEADER
/ ------------------------------------------  10 CHARACTERS PLOTTER NAME
*NAME HPGL
/ --------------------------------  45 CHARACTERS PLOTTING PANEL COMMENT
*COM PLOTTER
/ ------------------------------  2 TYPES : PEN_PLOTTER OR ELECTROSTATIC
*TYP ELECTROSTATIC
*END_HEADER
/ ----------------------------------------------------------------------
/ PARAMETERS BLOCK DEFINITION
/ ----------------------------------------------------------------------
*BEGIN_PARAM
/ --------------PLOTTING KEYWORDS (REFER TO CATIA PLOT REFERENCE MANUAL)
*EXPORT HPGL2
*SCD 1.
*NBP 255
*NPI 400
*DIM  -1. 890
*RAN 257 512
*PIX NO
*END_PARAM
/ ----------------------------------------------------------------------
/ EXECUTION BLOCK DEFINITION
/ ----------------------------------------------------------------------
/ --------------------------- Plotter connected on the lp0 printer queue
*BEGIN_EXEC
if [ -s $CATOUT  ]
  then
#   qprt -P lp0 $CATOUT
    cat $CATOUT > $HOME/toprint
  else
   echo " the file $CATOUT doesn't exist , check your traces"
fi
*END_EXEC
/ ----------------------------------------------------------------------
/ RUN-TIME BLOCK DEFINITION
/ ----------------------------------------------------------------------
*BEGIN_RTIME
CATOUT=$HOME/catout.hpgl
export CATOUT
*END_RTIME

RE: Print to hpgl file?

(OP)
Thanks rickyt that should do the trick!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close