How to use CDCL Model: 53336/53436 (DM-600/800 series)

How to use CDCL Model: 53336/53436 (DM-600/800 series)
CDCL means CALCOMP DEVICE CONTROL LANGUAGE.
The complete CDCL reference guide is available under CalComp P/N
M0420-140.
The Plotter Reference Manual has a detailed chapter (chapter 2) on
CDCL. The order number for the Plotter Reference Manual is M0016-
440.
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)
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).
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.
The DM-600/800 series plotters come standard with 3 ports (two
serial and one parallel). The port marked COM_1 / OPCOM cannot be
used for either plot data or CDCL files unless the port
configuration for the OPCOM option is switched off. The factory
default setting for COM_1 is as an OPCOM port. If you wish to use
COM_1 as a plot data port (and for CDCL), this can easily be
accomplished from the plotter's Control Panel. Please refer to
chapter 3 of the Solus 4 User's Guide (page 70) for instructions on
how to turn off the OPCOM link to COM_1. The order number for the
User's Guide is M0016-420.
