Previous Contents Index


Appendix C
PRINT Command Parameters

The PRINT command accepts the /PARAMETERS qualifier to specify functions unique to the DECprint Supervisor software. Refer to Appendix B for more information about the PRINT command.

This appendix lists the PRINT command parameters that are used for specifying functions of the DECprint Supervisor software. See Table C-1 for a list of the parameters.

C.1 PRINT Parameters

Parameters consist of keywords and associated values. Use the PRINT/PARAMETERS command to include these parameters in your print job. The /PARAMETERS qualifier is a command qualifier; all the files in the print job are subject to the parameters used in the /PARAMETERS qualifier.

Default PRINT parameters can also be associated with a queue by the system manager. See the System Manager's GuideSystem Manager's Guide for information about associating parameters with specific print queues.

The PRINT command parameters for the DECprint Supervisor are listed in Table C-1 and are described in more detail in the sections listed in the table.

Table C-1 PRINT Parameters
Parameter Description Reference Requires DCPS-PLUS
DATA_TYPE Specifies the data type of the files in the print job. Chapter 2 No
FONTS_USED Specifies one or more device control library modules that contain SoftFonts kits. Section 7.4 Yes
INPUT_TRAY Specifies which input tray to use. Section 5.1 No
LAYUP_DEFINITION Specifies layup options or a layup definition file to be applied to the print job. Chapter 13 Yes
MESSAGES Specifies creation of a log file or log page for print messages. Appendix A No
NUMBER_UP Specifies the number of pages to be printed on each side of a sheet. Section 2.6 Yes
OUTPUT_TRAY Specifies the output tray to which the printout will be sent. Section 5.2 No
PAGE_LIMIT Specifies the first and last pages to be printed. Section 2.7 Yes
PAGE_ORIENTATION Specifies the orientation to print data on the paper: landscape (horizontally) or portrait (vertically). Section 2.4 No
PAGE_SIZE Specifies the size of the logical page. Section 12.7 No
SHEET_COUNT Specifies how many copies of each sheet to print. Section 2.5 Yes¹
SHEET_SIZE Specifies the sheet size for the printer stock. Section 12.4 No
SIDES Specifies whether to print the job on one or two sides of a sheet. Section 2.3 No
[NO]TAB Selects whether DECprint Supervisor software or the ANSI translator performs tab expansion. Section 7.3 No


¹If not using the COLLATOR output tray; else "NO".

Using parameters other than those listed in Table C-1 results in a command syntax failure, as described in Appendix A.

C.2 Syntax for PRINT Parameters

When you specify the PRINT command with the /PARAMETERS qualifier, be sure to follow these syntactic conventions:

The DECprint Supervisor software checks for syntax and value limits at the time the file is printed, not when the PRINT command is first entered. If a print job contains an error in the parameters, it is aborted and an error message is displayed on your terminal if you included the /NOTIFY qualifier in the PRINT command.

C.3 Order of Defaulting for Parameters

Print parameters can be specified in the PRINT command or as default queue parameters in the printer startup file. If a parameter is not specified, the standard printer default value is used. The value for a parameter specified in a PRINT command takes precedence over the value of the default queue parameter.

The default queue parameter for a generic queue supersedes the default queue parameter defined for the execution queue. However, if there is a syntax error in the generic queue definition, the default queue parameter for the execution queue is used. Refer to the System Manager's GuideSystem Manager's Guide for information about setting up default queue parameters.


Appendix D
SoftFont Kits for Emulating LN03 Font Cartridges

Table D-1 lists the font cartridges for LN03 and DEClaser printers for printing ANSI files. You can print these ANSI files on PostScript printers using the DECprint Supervisor software and the appropriate SoftFont kits, as described in Table D-1. See Section 7.2 for more information about printing ANSI files. Use the following module names with the /PARAMETERS=FONTS_USED qualifier.

Table D-1 Font Cartridge Equivalents
Cartridge Order Number Cartridge Name Module Names
LN03 Font Cartridges
LN03X--CB CG Times CGTIMES8-10-12_MCS
LN03X--CW CG Times Presentation CGTIMES14-18_MCS
LN03X--CX CG Times Large CGTIMES24_MCS
LN03X--CY CG Triumvirate CGTRIUM8-10-12_MCS
LN03X--CJ CG Triumvirate Presentation CGTRIUM14-18_MCS
LN03X--CZ CG Triumvirate Large CGTRIUM24_MCS
LN03X--CL ITC Souvenir ITCSOUV_MCS
LN03X--CP English 116 Embassy SCRIPT
LN03X--DH Monospaced Swiss Presentation SWISS_MCS¹
LN03X--DJ Monospaced Swiss Large SWISS_MCS¹
LN03X--CS Letter Gothic LETGOTH
LN03X--CM OCR A/OCR B OCR
LN03X--DE Barcode 3 of 9 BARCODE
LN03X--CT US Legal MONO_MCS
DEClaser 2100/2200 Font Cartridges
LNXX--CA CG Times (CGTIMES8-10-12_MCS¹,
CGTIMES14-18_MCS¹,
CGTIMES24_MCS¹)
LNXX--CB CG Triumvirate (CGTRIUM8-10-12_MCS¹,
CGTRIUM14-18_MCS¹,
CGTRIUM24_MCS¹)
LNXX--CC ITC Souvenir/Script (ITCSOUV_MCS¹,SCRIPT)
LNXX--CD Monospaced (SWISS_MCS¹,
LETGOTH,OCR,
BARCODE,MONO_MCS¹)


¹Use the _ISO1 suffix instead of _MCS if your document uses the ISO Latin-1 character set.


Appendix E
Additional Character Encodings

This appendix discusses the following topics:

E.1 Available Encoding Vectors

PostScript provides a character set encoded using the Adobe Standard Encoding vector. When a PostScript program calls a font, the findfont operator uses this vector to associate characters with character codes.

PostScript also provides the ISO Latin-1 encoding vector, named ISOLatin1Encoding, which is the encoding scheme used by the ISO Latin Alphabet Number 1 Standard (ISO 8859/1). Most PostScript text fonts provide all the characters used in the ISO Latin-1 encoding. See the PostScript Printers Programmer's Supplement for a list of the characters included in the ISO Latin Alphabet Number 1 Standard.

In addition to Adobe Standard and ISO Latin-1 encodings, the DECprint Supervisor software offers the DECMCS (DEC Multinational Character Set) encoding. See the PostScript Printers Programmer's Supplement for a list of the characters included in the DEC Multinational Character Set.

Characters in the ISO Latin-1 and DECMCS encodings do not have separate font metrics files (.AFM files). (For more information on .AFM files, refer to the PostScript Printers Programmer's Supplement.) If you need to look up character information in a font metrics file, look up the character by its name, not by its encoding.

E.2 Examples of Encoding Vectors

Example E-1 demonstrates how to define the DECMCS encoding vector. See the PostScript Printers Programmer's Supplement for more information about how these encoding vectors are defined.

The encoding vector DECMCSEncoding is defined by changing the vector ISOLatin1Encoding.

Example E-1 Defining the DECMCS Encoding Vector

%! DECMCSEncoding.PS 
% 
% Create DEC Multinational Character Set (MCS) encoding vector. 
 
/DECMCSEncoding ISOLatin1Encoding 256 array copy def 
 
mark 
  8#177 8#240 8#244 8#246 8#254 8#255 8#256 8#257 
  8#264 8#270 8#276 8#320 8#336 8#360 8#376 8#377 
counttomark 
{DECMCSEncoding exch /questionmirror put} 
repeat 
% stack now contains   mark 
  8#250 /currency 
  8#327 /OE 
  8#335 /Ydieresis 
  8#367 /oe 
  8#375 /ydieresis 
counttomark 2 idiv 
{DECMCSEncoding 3 1 roll put} 
repeat 
% stack now contains   mark 
cleartomark 

E.3 Using the Additional Encodings

To use a character encoding other than the Adobe Standard Encoding, follow these steps:

  1. Define a procedure, encodefont for instance, in the prologue of your PostScript program that applies an encoding vector to a font to create a new font. Before invoking findfont, your program calls encodefont to encode the font with the desired encoding vector. The code for encodefont is as follows:


    /encodefont { 
        findfont dup                % Get the old font dict. 
        maxlength dict begin        % Make a new one just as big. 
        {   1 index /FID ne         % Copy everything but FID. 
            {   def } 
            {   pop pop } 
            ifelse } 
        forall 
        /Encoding exch def          % Install the new encoding. 
        dup /FontName exch def      % New font dict is still current. 
        currentdict definefont      % Create the new font. 
        end 
    } bind def 
    

  2. Create your new font using the encodefont procedure. The procedure takes three arguments:
    The encodefont procedure creates a new font with the new name and encoding, and returns the new font. Choose any name for your new font. You might choose a name that includes the name of the old font and the encoding vector.
    You can create and immediately use your new font or you can create the new font and use it later in your program. For example, to create and use a Times-Roman font encoded with ISO Latin-1, use the following code:


    /Times-Roman-ISOLatin1 ISOLatin1Encoding 
            /Times-Roman encodefont 
    12 scalefont setfont 
    

    To create and use the font separately in your program, use this code:


    /Times-Roman-ISOLatin1 ISOLatin1Encoding 
            /Times-Roman encodefont pop 
       .
       .
       .
    /Times-Roman-ISOLatin1 findfont 12 scalefont setfont 
    

    To use the DECMCS encoding, you must also include the device control library module (LPS$DECMCSENCODING) that defines this encoding vector. The LPS$DECMCSENCODING module provides encoding vectors only. It does not define characters that were undefined in versions of PostScript lower than Version 40.

    Example E-1 shows how the DECMCS encoding vector is defined.

    E.4 Including the DECMCS Encoding Module in a Print Job

    To use the DECMCS encoding modules, specify the following:


    $ PRINT/SETUP=(LPS$DECMCSENCODING) filename.PS
    

    E.5 Defining ISO Latin-1 for Third-Party Printers

    For PostScript printers not made by DIGITAL that use a version of PostScript Level 1 lower than Version 40, you may need to define an ISO Latin-1 encoding vector to print PostScript files that use this encoding. For example, suppose you have a PostScript program that requires the ISO Latin-1 encoding vector to print on a typesetter that uses an early version of PostScript.

    In this case, you can use the encodefont procedure, but you also have to define the ISO Latin-1 encoding vector in the prologue of your PostScript program. Extract the LPS$ISOLATIN1ENCODING module from the device control library:


    $LIB - 
       /Extract=LPS$ISOLatin1Encoding - 
       /Out=ISOLatin1Encoding.ps - 
       Sys$Library:DCPS$DEVCTL.TLB 
    

    The LPS$ISOLATIN1ENCODING module provides encoding vectors only. The module does not define characters that were undefined in versions of PostScript lower than Version 40.


    Previous Next Contents Index