Offending command: div

Div is used in PostScript to perform a division. If you send the following code: 12 2 div == to a PostScript RIP, it will reply with 6.

Solutions

Dividing by zero is one way of getting a PostScript error offending command: ‘div’. Look in the document if there is an invalid zero value assigned somewhere. Some programs allow for a scale factor of 0% to be used, which can cause this type of error.

The PostScript error ‘typecheck’, offending command: ‘div’ is typically associated with printing Illustrator 7.0 EPS files from PageMaker or other applications. If you are using such EPS files, please save them in Illustrator 6.0 EPS format. As far as I know this error has been fixed in Illustrator 7.02.

A div error caused by a divide by zero can also occur when printing from a Mac PowerPoint file containing a two-color gradient background to an HP 4xxx printer.  Replacing the background by a solid color resolves the issue.