I’m can’t say I’m a system programmer but I’m deeply engaged in CAD/CAM
programming since 1972 and therefore experienced a lot of ‘unpredictable
interactions’ between software and system during the last 30 years.
Regulary, I was always able to find an appropriate solution, but there
is an increasing problem with ‘modern’ printer drivers not willing to
work with EMF.
A special german CAD software written for NT4 SP5 produces a reliable
EMF output and is able to print to all printer drivers originally
delivered with XP without problems. However, as soon as one of the ‘new’
30 MB and more drivers for cheap ‘modern’ multifunction printers is
loaded the CAD software mostly crashes while invoking it’s own print
preview.
Some other drivers are more ‘gentle’ at first sight, and a first print
can be sucessfully done just after the driver installation. During this
first session with the driver the software is able to print and preview
as often as I like. But after the CAD program was closed and invoked
again the print preview dialog leads to a crash from now on forever,
even after the software is restarted and even after a reboot.
A similiar problem reveals for example with the driver for a HP
Designjet 500.
Whereas for instance a native HP Designjet 750C driver works very well,
a HP Designjet 500 crashes the software as soon as the print dialog is
invoked.
Well, the CAD software is able to print to an EMF file. This file can be
shown with the standard ‘print an fax viewer’ of XP. I am not able to
test a big bunch of printers, but it seems that all those crashing the
CAD software also won’t accept EMF sent by ‘print and fax viewer’. The
same is with HP Designjet 500 which even crashes the XP viewer.
The problem I have is the rapidly increasing number of new printers and
their driver ‘bloat’. I am not able to test them all with the CAD
software. So I’m completely helpless as long as I cannot find the
criteria for selecting a functionable printer/driver.
Well, I already wrote a virtual printer driver as a smart replacement
with the MS DDK. It functions well without crashing the CAD software.
The EMF spool files are correctly written and processed to file. Preview
in the CAD software is also shown without problems. It seems that any
kind of printer driver originally written with the Microsoft DDK tools
functions well. But the problem remains with printing the produced EMF
files with the printer’s OEM drivers.
Is there any hint or idea in this forum where or how I could elaborate
the cause of the crashes?