6.5.1 Invoking DECimage for the Current Print Job
To invoke DECimage for the current job only, append the following code to the
top of your PostScript file:
% -------------- Beginning of DECimage Code -----------------------
% This code enables DECimage for the duration of the current
% job only. Insert this code at the top of the PostScript file.
statusdict dup /setDECimage known exch /setDECimageparams known and
{
currentpagedevice /Install get
statusdict begin /pagedevice_install exch def end
<<
/Install
{
statusdict begin
pagedevice_install
0
%Punch1
1
%Punch2
1.5
%Sharpness
1
%Dotsize
setDECimageparams
true setDECimage
end
}
>> setpagedevice
} if
%------------- End of DECimage Code -----------------------
The code uses PostScript Level 2 constructs with some PostScript Level 1
compatibility operators. In some cases, using the compatibility operators can
reduce the amount of coding required. As a general guideline, use only Level 2
constructs with the DEClaser 1152 printer.
6.5.2 Invoking DECimage Persistently
If a platform or application does not allow you to append code to the beginning
of the PostScript print job, you can invoke DECimage persistently across power
cycles. This means DECimage will enhance every image it supports.
Note
Because DECimage slows printing performance, you may want to
disable DECimage for draft versions of your document.
6–6 Enhancing Picture Quality