l8HP DECprint Supervisor (DCPS) for OpenVMSG

HP DECprint Supervisor (DCPS) for OpenVMS
User's Guide



 z d f  
PreviousContentsIndex

i

5.7 The LIST Data Type and Translator



@The LIST data type feature employs a special text-to-PostScript ttranslator (see Chapter 9). It translates 8-bit ASCII (ISO 8859-1) Etext to a convenient printable form, numbering the lines in the file Dand printing gray bars behind alternating groups of lines. The LIST Ctranslator is not an ANSI translator. It does not translate escape Dsequences, such as those defined by ANSI PPL3, HP-PCL, or any other Dprinter protocol. You should continue to use the ANSI data type for Hprinting jobs that include and require translation of DEC PPL3 data and control sequences.V

5.8 Printing the Euro Symbol



FThe ISO Latin-9 (ISO 8859-15) character set is included with the DCPS =ANSI translator. This character set includes the Euro symbol.

BOne way to print the Euro symbol is to include the following ANSI #escape sequences in your ANSI file:

 

"
L    <ESC>.b        selects ISO Latin-9 character set =    <ESC>n$        prints Euro symbol 





h

Chapter 6
Printing DDIF Image Files Using the Image Interpreter




3DCPS software replaces DEC Image Print-PLUS Client FServices* and allows you to print DDIF bitonal image files Hon the PrintServer 17, turbo PrintServer 20 and PrintServer 32 printers using the Image interpreter.



/  
Note

DThe Image interpreter is not used if PostScript Level 2 is present. 


FIf your print job includes one of the following parameters, the Image .interpreter is not used to print the document:

 

"
!    /PARAMETERS=LAYUP_DEFINITION     /PARAMETERS=NUMBER_UP 




FInstead, the file is translated to PostScript for printing to provide -the feature specified by the parameter value.



/   
N
Note

 U

* The DECprint Supervisor product, versions F 1.1 and later, is incompatible with all versions of DEC Image ( Print-PLUS Client Services.



a

6.1 Improvements to Image Printing



@Two factors make printing images a relatively slow process in a standard network environment:

    G
  1. Because a PrintServer printer in a standard environment handles J only PostScript files, the files must be converted to PostScript format G at the user's node, and then processed at the PrintServer printer by & the PostScript interpreter software.?
  2. Because PostScript Level 1 image files are large, it is @ time-consuming to send them across the network to the printer.


<The DCPS software provides faster image printing capability because it:

d

6.2 Examples of Printing Image Files



HThe following print command sends the files directly to the printer for printing:

 

"
W    $ PRINT /QUEUE=queue-name /NOTIFY file-name.DDIF




BThe following print command translates the file to PostScript for printing:

 

"
o    $ PRINT /QUEUE=queue-name /NOTIFY /PARAMETERS=NUMBER_UP=1 file-name.DDIF





@

Chapter 7
Printing PCL Files


U

7.1 How PCL Files Are Printed



,PCL files are printed in either of two ways:

    I
  1. PCL Translator
    DCPS includes a translator for B files containing PCL4 data, as supported by the HP LaserJet IID D printer. DCPS does not translate the PCL5, PCL6, or HPGL printing O languages. If the DECprint Supervisor software does not automatically detect I your PCL files, you can explicitly specify the PCL data type using the # DATA_TYPE parameter. For example:

     

    "
    A    $ PRINT /PARAMETERS=DATA_TYPE=PCL MYFILE.PRN
    
    
    J

  2. Native PCL Mode
    Some PostScript printers have @ a PCL mode that can be used by the DCPS software. Your job is H automatically printed in PCL mode if the printer supports PCL and you E do not specify parameters that require translation of your file to I PostScript. This is referred to as "native PCL" mode.
    If H your printer provides native PCL5 support, you can send HPGL files to E your printer if they are surrounded by the appropriate PCL5 escape sequence.


hFigure 7-1 shows how DCPS software processes PCL files.

8Figure 7-1 How DCPS Processes PCL Files


&_

7.2 Processing Files in Native PCL Mode



ETo take advantage of native PCL mode without jeopardizing any of its 4own functions, the DCPS software does the following:

    I
  1. Prints the initial information about the print job (including the . job and file flag pages) in PostScript mode.H
  2. Sends a control sequence to the printer that changes the printer  to PCL mode.@
  3. Sends the PCL file directly to the printer and prints it.C
  4. Switches the printer back to PostScript mode and prints the  trailer page, if any.


FYou can include both PostScript and PCL setup modules with your print Hjob, but the effects may vary from what you would get with a translated Dprint job. Most of the settings in a PostScript setup module do not Caffect PCL printing. The settings in a PCL setup module affect the >printed output as if they were included in the print job file.

GSetup modules can be invoked explicitly by using /SETUP, or implicitly !by using /FORM or queue defaults.

HMost printers supported by DCPS have a native PCL interpreter. Refer to Gthe DCPS Software Product Description (SPD) for a complete list of the /printers that are supported in native PCL mode.k

7.2.1 PRINT Parameters that Prevent Native PCL Usage



DIf you are printing a PCL file on a printer supported in native PCL Emode, your file is sent directly to the printer unless the print job Crequires special PostScript processing. You cannot print PCL files Fdirectly to the printer in native PCL mode if your print job includes .one or more of the following PRINT parameters:

%/PARAMETERS=LAYUP_DEFINITION
/PARAMETERS=NUMBER_UP
/PARAMETERS=SHEET_COUNT (for values greater than 1)
/PARAMETERS=PAGE_LIMIT= (if starting page greater than 1, or ending page specified)
a

7.3 Processing Files with the PCL Translator



@You can emulate the front panel settings of the Hewlett-Packard .LaserJet printer, using the following methods:

`

7.3.1 Using Print Parameters to Modify PCL Print Jobs



yTable 7-1 shows the PRINT parameters you can use to modify PCL print jobs.

ˆ  = * $                                
Table 7-1 PRINT Parameters that Emulate PCL Front Panel Settings
LaserJet IID Front Panel Selection PRINT Parameter Reference
#copies  /PARAMETERS=SHEET_COUNT B Section 1.5
duplex  /PARAMETERS=SIDES 1 G Section 1.3
 orientation " /PARAMETERS=PAGE_ORIENTATION 1 > Section 1.4
 tray selection  /PARAMETERS=INPUT_TRAY F Section 3.1
 paper size  /PARAMETERS=SHEET_SIZE G Section 10.4
 manual feed  /PARAMETERS=INPUT_TRAY F Section 3.1



B1Instructions in the data file can override this PRINT parameter.

N

7.3.1.1 Using the PAGE_SIZE Parameter



?You can select the page size with the PAGE_SIZE parameter. The 1following page sizes are supported for PCL files:

 7_envelope or Monarch
A4
A3
Business_envelope or COM10
C5_envelope
DL_envelope
Executive
Letter (A)
Legal
Ledger (B)


FIf you specify an unsupported page size, the PCL translator selects a 9supported size that is closest to the size you specified.



/  
Note

FPage size commands in the PCL file override the page size you specify Gin the PRINT parameter. You can create a PostScript setup module to be Fapplied to the translated file that redefines the page size operators oso that they are ignored when the file is printed. See Section 7.3.3 2for information on creating setup modules.
`

7.3.1.2 Print Parameters Ignored for Native PCL



DDCPS ignores the following print parameters when printing PCL files 7using the native PCL capability of a supported printer:

INPUT_TRAY
OUTPUT_TRAY
PAGE_ORIENTATION
PAGE_SIZE
SHEET_SIZE
SIDES


HIn these cases the default setting of the printer takes effect. You can Cmanipulate PCL printer tray selection by inserting appropriate PCL 7escape sequences in the print file or in setup modules.

HAlternatively, you can have these parameters affect your job by forcing Htranslation to PostScript on the host. To force translation, use a DCPS @feature that forces translation such as PAGE_LIMIT or NUMBER_UP.a

7.3.2 Using Escape Sequences to Modify PCL Print Jobs



6The format of the front panel mode escape sequence is:

'Escape Sequence Format

 

"
0    ESC     !     `     value     P    




Decimal Values

 

"
&    027     033   096             080 






/  
Note

AThis format shows spaces between the elements of the command for >clarity. Do not include spaces in your actual command.


6Specify front panel settings by following these steps:

    H
  1. Enable front panel mode by specifying the Front Panel Mode escape % sequence with 1 for value.?
  2. Enter the PCL escape sequence to set the print attribute.I
  3. Disable front panel mode by specifying the Front Panel Mode escape % sequence with 0 for value.


HFront panel mode is also disabled by the PCL reset escape sequence (ESC E).

DYou can include PCL escape sequences for any of the following print attributes:



?PCL escape sequences allow you to specify both a primary and a @secondary font. Escape sequences for both types of fonts can be Aincluded in the front panel mode escape sequence for selecting a default font.

@For example, a PCL escape sequence that sets the pitch to 16.66 Hcharacters per inch (cpi) and ISO 17 Spanish symbol set is formatted as follows:

 

"
1    ESC ! ` 1 P ESC (s16.66H ESC (2S ESC ! ` 0 P 






/  
Note

AThis format shows spaces between the elements of the command for >clarity. Do not include spaces in your actual command.


=This command includes escape sequences that do the following:

5

7.3.3 Using a Setup Module



-To create a setup module, follow these steps:

    I
  1. Create a setup module that includes the necessary escape sequences  or PostScript operators.D
  2. Ask your system manager to insert the setup module into a PCL  device control library.D
  3. Print the file, specifying the setup module and the file. For example:

     

    "
    `    $ PRINT /QUEUE=PS$A14 /PARAMETERS=DATA_TYPE=PCL /SETUP=module-name.    _$ file-name.DAT
    
    
    



FFor example, the following PostScript setup module redefines the tray Hselect escape sequence (a4tray). The PCL file contains Aa page size command to select A4 paper. If your printer does not Dsupport A4 paper, you must make the printing system ignore the page Esize command to print the file. You create a PostScript setup module Fthat redefines the PostScript operator to select A4 paper, as follows:

 

"
    statusdict begin     /a4tray {} def     end 


g

7.3.4 How the PCL Translator Differs from that in the LaserJet IID Printer



EWhen producing a file to be printed using the PCL translator, choose :the LaserJet IID printer from your application. There are Hincompatibilities among LaserJet printers; therefore, files created for Ha LaserJet model other than the LaserJet IID printer may not be printed as expected.

DThe PCL translator handles PCL files like the LaserJet IID printer, except in the following cases:



<Documentation specifying the PCL language is available from @Hewlett-Packard. The documentation specific to the LaserJet IID includes:        
A HP LaserJet IID Printer Technical Reference Manual HP part number 33447 90905
4 HP LaserJet IID Printer User's Manual ! HP part number 33447 90901


EPCL files can be automatically recognized by the DECprint Supervisor Fsoftware. Files that begin with the PCL reset escape sequence (ESC E) ;or have a file extension identified as a PCL data type are &automatically recognized as PCL files.`

7.4 Changing the Input Tray



HA PCL file may contain instructions to select the printer input tray on Fa Hewlett-Packard LaserJet IID printer. When you print this file on a Ddifferent type of printer, the print job will fail if the specified Finput tray is not available. You can modify the print job to redefine Gthe input tray selection command, using a PostScript setup module. You Acan create a PostScript setup module to redefine the appropriate FPostScript operators, changing the selected input tray. The following Hexample shows a PostScript setup module to select PostScript tray 3 for Fthe upper input tray, and PostScript tray 1 for the bottom input tray.

 

"
:    /settoptray {statusdict begin 3 setpapertray end} def =    /setbottomtray {statusdict begin 1 setpapertray end} def 




GInput tray values are specific to the printer. Refer to the PostScript @documentation for your printer to determine the numbers for the available trays.

CThe input tray selection commands, and the PostScript operators to zwhich the PCL translator converts them, are listed in Table 7-2. GThe translator uses the default setpapertray value if Gno other value has been defined. A setup module with a different value overrides the default value.

}  ' 8 5                                
Table 7-2 PCL-to-PostScript Input Tray Command Mapping
PCL Commands PostScript Extension Operator Default setpapertray Value
 Upper tray ! settoptray  1
 Manual input ( setmanualfeedtray  0
 Manual envelope input ( setmanualfeedtray  0
 Lower tray $ setbottomtray  2
 Optional large tray " setlcittray  3
 Envelope feeder , setenvelopefeedertray  3
y

7.5 Including Soft Fonts and Macros in PCL Print Jobs



EIf your PCL file requires soft fonts to be loaded in the printer, or Hmacros for defining forms or raster graphics, you can download the font !or macro using PCL setup modules.

HIt is not necessary to declare the fonts and macros permanent. You must Ddeclare fonts and macros permanent only if the setup module or file !contains a reset escape sequence.

GThe system manager must create a device control library designated for BPCL setup modules, and include that library in the search list in eDCPS$STARTUP.COM, as described in the System Manager's GuideSystem Manager's Guide.

BPCL setup modules from the PCL device control library are handled Gdifferently from ANSI and PostScript setup modules. Records from a PCL 9module are not appended with carriage-control characters E(<CR><LF>), because PCL setup modules can include binary Edata, such as PCL fonts and raster graphics. If the PCL setup module Bcontains lines of text that must be separated by carriage-control Echaracters, you must explicitly specify them in the PCL setup module.

7You can include a soft font or macro in a print job by:

[

7.5.1 Including Soft Fonts and Macros in PCL Setup Modules



FTo include a soft font or macro in a setup module, follow these steps:

    C
  1. Include the PCL escape sequence to give the font or macro an * identifier at the beginning of the file.B
  2. Make sure the file is in a format acceptable to the OpenVMS I Librarian Utility. The record format must be either Variable Length or  Fixed Length.C
  3. Have your system manager insert the file into the PCL device . control library using the following command:

     

    "
    i    $ LIBRARY /INSERT /TEXT SYS$LIBRARY:pcl-library-name font-filename
    
    
    



?To print the PCL file that requires the font or macro, use the following command:

 

"
p    $ PRINT /QUEUE=queue-name /SETUP=font-filename data-filename.PCL




GYour system manager can include the setup module in a form definition, Fwhich can be associated with a queue by default. With this setup, you Fneed only specify the data file name and the queue name in your PRINT command.^

7.5.2 Including Font and Macro Files in PCL Print Jobs



DYou can print files that require soft fonts or macros by having the Capplication include the font or macro in the data file. Or you can @create a file that contains the font or macro and the data file.x

7.6 PC Driver Settings to Avoid Problems with PJL and TBCP



FTwo printing protocols may cause problems with DCPS. These are HP PJL ?(Print Job Language), and HP TBCP (Tagged Binary Communication GProtocol). Documents created from a Windows application can have these Hprotocols included in the files. These protocols can be quite useful in @some environments, but sometimes cause problems for DCPS or for Cprinters other than the type for which the document was created. A Abrief description of PJL and TBCP is included below, followed by +instructions to prevent problems with DCPS.




 z a d f  
PreviousNextContentsIndex