The following is a step by step guide on how to set up a Canon BubbleJet
printer under Solaris using
Ghostscript 5.50.
This is specifically for the Canon BJC 4310SP, however other models should
be similar, it will be case of replacing the device ( bjc600 ) with
an appropriate one.
%!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Filename: gamma.ps
%
% Description: gamma correction to lighten the output as Canon printers
% print really dark.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Revision History
% ----------------
% Date Who No Description
% -----------------------------------------------------------------------------
% 31/12/98 Jill Stephenson 001 Initial version
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
/.fixtransfer {
currentcolortransfer 4 {
mark 0.333 /exp load 4 -1 roll
dup type dup /arraytype eq exch /packedarraytype eq or
1 index xcheck and { /exec load } if
] cvx 4 1 roll
} repeat setcolortransfer
} bind odef
.fixtransfer
/setpagedevice { setpagedevice .fixtransfer } bind odef
Create filter /etc/lp/fd/bjc.fd
# Beginning of the file - Filter for Canon BJC 4310SP
Input types: postscript
Output types: BJC
Printer types: any
Printers: any
Filter type: fast
Command: /opt/local/bin/gs -q -dSAFER -dNOPAUSE -sPAPERSIZE=a4 -dFIXEDMEDIA -sDEVICE=bjc600 -sOutputFile=/dev/lp1 /opt/local/share/ghostscript/5.50/gamma.ps -
# End of the file
Add filter
lpfilter -f BJC -F /etc/lp/fd/bjc.fd
Adjust filter permissions to match other filters in /etc/lp/fd