How to use CDCL Models: 524xx/524xxP

How to use CDCL Models: 524xx/524xxP
CDCL means CALCOMP DEVICE CONTROL LANGUAGE.
The complete CDCL reference guide is available under CalComp P/N
M0420-140.
CDCL is a very simple set of commands which enables the operator to
get the plotter to do just about everything it is capable of. This
includes complete port configuration control, pen and color (mono
patterns) control, scaling, rotating, or mirroring plots, adding a
banner (name and/or number) to the plot job for quick
identification, and saving or restoring custom user files created
(with CDCL) for the plotter.
The CDCL file must be an ASCII text file and it must have the
following format; All upper case characters. Each line must be
terminated by a (hard) return. The first two and the last line are
mandatory (as shown in the examples below). Here is a CDCL example
for changing the plotter's serial port:
&&&&CALCOMP DEVICE CONTROL
USER_PIN(0)
DEAD_JOB(90,COMPLETE)
MODE(9600,8,1,NONE,1)
907(X02,1,NO,X03,2032,CTS)
ROTATE(90)
^^^^END OF FILE
Here is a CDCL example for changing the plotter's parallel port:
&&&&CALCOMP DEVICE CONTROL
USER_PIN(0)
DEAD_JOB(90,COMPLETE)
907(X02,1,NO,X03,2032,CENTRONICS,4)
ROTATE(90)
^^^^END OF FILE
It is recommended that customers use the DOS Edit program (or
equivalent) to create CDCL files. Their is no special name to be
used for CDCL files. Any legal DOS filename characters can be used.
Once the CDCL file has been created it simply needs to be sent to
the plotter port which you are sending plots to. This is done using
the DOS COPY command.
For example, the CDCL file above could be named ROTATE90.CDL. It
would then be sent to the plotter from the DOS prompt as follows:
COPY ROTATE90.CDL LPT1
Next, you would send the plot file you want to be rotated 90
degrees (using the DOS COPY command again). The 52424/52436 series
plotters all have 4 data ports and one port marked TERMINAL. You
cannot use the TERMINAL port for either CDCL files or plot data.
FOR DRAWINGMASTER 522XX/524XX/524XXP AND 67/68000 PLOTTERS ONLY
It is recommended that you use parallel to copy the CDCL file
(because parallel is much easier than serial). If the customer must
use serial, be sure baud, character frame, and handshake on the
plotter and the computer match. You do not need to send the CDCL
file to the same port you want to reconfigure, that's why you can
always use the parallel port.
Most CDCL commands (such as the ROTATE command above) will affect
only one plot at a time. These are called NON-STICKY commands. A
few others, such as the port configuration commands shown in the
examples above (the 907 command) will be retained by the plotter
(use the SAVE(1) command to make changes permanent and available
upon powering the plotter up). These are called STICKY commands.
