Top Navigational Bar

HPGL Files Returning "Incorrect Format"
DocumentID: 600614
Revision Date: 29-Feb-96 1:28:28 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Symptoms: When importing HPGL files from FastCAD into WP, the error "bad format" is received. The only two HPGL commands used are PU and PD, both of which are supported.

Another customer was bringing in HPGL files that he created and received the error "Incorrect format". If the customer tries to bring it through GRAPHCNV, the error "Bad Format" displays. The problems did not occur in WP 5.0. The images are just basic pen up and pen down commands.

Another customer received "Incorrect Format" when he tried to retrieve HPGL graphic files into WordPerfect 5.1. These files could be retrieved into WP 5.0 without any problem. The graphics were created with proprietary software called DAS. Solutions: These files don't have an "SP1" (Set Pen to 1) command in the first 2K of the file. The program creating these HPGL files is leaving out this portion. The inclusion of the SP# instruction (where # is the desired pen number) is required by WP to recognize the file as an HPGL file. This is not necessarily required in a plotter file, but practically all plotter files contain this instruction. If a plotter file does not contain this instruction, it can be inserted into a plotter file with any DOS text editor, like ED or PE.

Answer:

Details:


Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.