Thanks! I am using Linux (SUSE 10.2) and the suggested printer solution produces indeed Postscript but it's not vector but bitmap Postscript. If you zoom you may see the artefacts. If you draw a circle with xfig-Postscript outputs you can go as deep as you want (as far as the precision of the floating point numbers permit). As I am drawing and printing extremely small features I would need a good resolution.

Cheers!

andrew wrote:Under Linux: Print to a file.

Under Windows: Install a PostScript printer driver (included with Windows) and then print to a file with that driver.

If you let me know what you need the PostScript output for and what operating system you are using, I might be able to provide more detailed help for your problem.

I cannot reproduce this. Of course QCad should output vectors to PS, everything else hardly makes sense. Are you using a QCad package that was downloaded from our web site or something that came with a Linux distribution?

andrew wrote:I cannot reproduce this. Of course QCad should output vectors to PS, everything else hardly makes sense. Are you using a QCad package that was downloaded from our web site or something that came with a Linux distribution?

Do you have the postscript viewer "gv"? Draw a circle with qcad and xfig, save it as a ps file. Magnify at maximum (10x) and use the magnifying glass (center mouse button) to magnify another 64 times and you may see the difference.

Your observation is correct: QCad uses indeed lines and not the PostScript ellipse commands. This is because the PostScript engine of Qt has problems with the precision of arcs with a large radius (angles, center and radius are rounded to integers).

In other words, with the ellipse or arc commands of PostScript, your arcs would look nice and smooth but they would be slightly displaced and the endpoints of arcs would not exactly connect for example to a line that starts at the same position.

QCad 2.2.1.0 exports at a higher resolution which makes arcs and circles both smooth and precise.

BTW: Line graphics are also a vector graphics. The alternative to vector graphics are raster graphics (a large number of small squares or dots).

andrew wrote:Your observation is correct: QCad uses indeed lines and not the PostScript ellipse commands. This is because the PostScript engine of Qt has problems with the precision of arcs with a large radius (angles, center and radius are rounded to integers).

In other words, with the ellipse or arc commands of PostScript, your arcs would look nice and smooth but they would be slightly displaced and the endpoints of arcs would not exactly connect for example to a line that starts at the same position.

QCad 2.2.1.0 exports at a higher resolution which makes arcs and circles both smooth and precise.

BTW: Line graphics are also a vector graphics. The alternative to vector graphics are raster graphics (a large number of small squares or dots).