I am not sure if this is the correct place to post this. Also, this happened to me with one particular cdr file.
Problem: when trying to print to pdf using CorelDRAW X7 from a given cdr file, or when trying to use a ps file generated from this same cdr file, this error would appear in a log file instead of the pdf:
%%[ Error: stackunderflow; OffendingCommand: astore ]%%
Stack:
[-null- -null- -null- -null-]
%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
%%[ Warning: PostScript error. No PDF file produced. ] %%
After a couple of hours I narrowed it down to a syntax error in the ps code that CorelDRAW X7 generates. Instead of something like this:
0.0000 0.4000 0.0000 0.0000 create_cmyk_color set_solid_fill
the code does not have the four numbers at the beginning and this is what gets produced:
create_cmyk_color set_solid_fill
which is wrong. My conclusion is that any non-CYMK color was not getting written into the ps file.
Workaround: very simply I changed all of the non-CYMK colors into CYMK.