V'()J

8HP DECprint Supervisor (DCPS) for OpenVMSA

HP DECprint Supervisor (DCPS) for OpenVMS

$

User's Guide




Order Number: AA--PSVFL--TE


*

November 2005





PThis guide describes how to use the DECprint Supervisor software to print files %and select DCPS and printer features.

-Revision/Update Information:?This manual supersedes the User's Guide V2.4.

"Software Version:7HP DECprint Supervisor (DCPS) for OpenVMS, Version 2.5

"Operating System:(OpenVMS Alpha Version 6.2, 7.3-2, or 8.2
! OpenVMS I64 Version 8.2 or 8.2-1
' OpenVMS VAX Version 5.5-2, 6.2, or 7.3





>Hewlett-Packard Company Palo Alto, California




?© Copyright 2005 Hewlett-Packard Development Company, L.P.

CConfidential computer software. Valid license from HP required for Cpossession, use or copying. Consistent with FAR 12.211 and 12.212, CCommercial Computer Software, Computer Software Documentation, and HTechnical Data for Commercial Items are licensed to the U.S. Government +under vendor's standard commercial license.

FThe information contained herein is subject to change without notice. FThe only warranties for HP products and services are set forth in the Eexpress warranty statements accompanying such products and services. ANothing herein should be construed as constituting an additional Fwarranty. HP shall not be liable for technical or editorial errors or omissions contained herein.

AAdobe, Adobe PostScript 3 and PostScript are trademarks of Adobe Systems Incorporated.

CIntel and Itanium are trademarks or registered trademarks of Intel ?Corporation or its subsidiaries in the United States and other countries.

BMicrosoft and Windows are U.S. registered trademarks of Microsoft Corporation.

1UNIX is a registered trademark of The Open Group.

Printed in the U.S.

AThe DECprint Supervisor documentation set is available on CD-ROM.

 , 4  
HContents BIndex



*

Preface



4

Intended Audience



EThe information in this guide is intended for users at all levels of Hexperience. It contains step-by-step procedures for most printing tasks.5

Document Structure



;This manual contains the following chapters and appendices:

4

Related Documents



EThe primary source of information about DCPS is the following set of software manuals:

q                 
Table 1 DECprint Supervisor Documentation
* Software Installation Guide $ Describes how to install DCPS.
% System Manager's Guide K Describes how system managers, data center operators and application D programmers can create and manage DCPS print queues and solve  printing problems.
 User's Guide E Describes how to use DCPS to print to PostScript® printers.
: Software Product Description (SPD 44.15.xx) ? Contains the full list of printers supported by DCPS and D additional information about the features and requirements of  DCPS V2.5.


CFor additional information about HP OpenVMS products and services, +visit the following World Wide Web address:

 

"
"    http://www.hp.com/go/openvms/ 


4

Reader's Comments



BHP welcomes your comments on this manual. Please send comments to "either of the following addresses:        
 Internet ( openvmsdoc@hp.com
Mail  Hewlett-Packard Company/
OSSG Documentation Group, ZKO3-4/U08
110 Spit Brook Road
Nashua NH 03062-2698
H

How to Order Additional Documentation



GFor information about how to order additional documentation, visit the !following World Wide Web address:

 

"
,    http://www.hp.com/go/openvms/doc/order/ 




>Part numbers for DCPS-related documentation are listed in the ;Ordering Additional Documentation appendix of the `Software Installation Guide, System Manager's Guide and User's Guide..

Conventions



2The following conventions are used in this manual:                                                    
Ctrl/ x  A sequence such as Ctrl/N x indicates that you must hold down the key labeled Ctrl while 8 you press another key or a pointing device button.
 [Return] K In examples, a key name enclosed in a box indicates that you press a J key on the keyboard. (In text, a key name is not enclosed in a box.)K

In the HTML version of this document, this convention appears as " brackets, rather than a box.

... G A horizontal ellipsis in examples indicates one of the following  possibilities:
    I
  • Additional optional arguments in a statement have been omitted.H
  • The preceding item or items can be repeated one or more times.M
  • Additional parameters, values, or other information can be entered.
( ) I In command format descriptions, parentheses indicate that you must B enclose choices in parentheses if you specify more than one.
[ ] N In command format descriptions, brackets indicate optional choices. You L can choose one or more items or no items. Do not type the brackets on M the command line. However, you must include the brackets in the syntax M for OpenVMS directory specifications and for a substring specification ! in an assignment statement.
 | L In command format descriptions, vertical bars separate choices within L brackets or braces. Within brackets, the choices are optional; within M braces, at least one choice is required. Do not type the vertical bars  on the command line.
{ } L In command format descriptions, braces indicate required choices; you N must choose at least one of the items listed. Do not type the braces on  the command line.
bold text G This typeface represents the introduction of a new term. It also C represents the name of an argument, an attribute or a reason.
 italic text N Italic text indicates important information, complete titles of manuals H or variables. Variables include information that varies in system  output (Internal error4 number), in command lines (/PRODUCER== name) and in command parameters in text (whereF dd represents the predefined code for the device type).
 UPPERCASE TEXT M Uppercase text indicates a command, the name of a routine, the name of 9 a file, or the abbreviation for a system privilege.
 Monospace text M Monospace type indicates code examples and interactive screen displays.
 - K A hyphen at the end of a command format description, command line or I code line indicates that the command or statement continues on the  following line.
numbers L All numbers in text are assumed to be decimal unless otherwise noted. I Nondecimal radixes---binary, octal or hexadecimal---are explicitly  indicated.



6

Chapter 1
Printing Files


A

1.1 Overview



-To print files, you need to do the following:

    
  1. Issue the PRINT command)
  2. Specify the name of the print queue)
  3. Add any command qualifiers you want4
  4. Include the name of the file you want to print


For example:

 

"
W    $ PRINT /QUEUE=MYPRINTER /PARAMETER=DATA_TYPE=POSTSCRIPT SUMMER.PS




This example specifies:



FThe following sections show you some of the techniques you can use to print custom documents.

M

1.2 Selecting a Data Type

4To specify the data type of your print job, use the 5/DATA_TYPE=parameter qualifier. For example:

 

"
H    $ PRINT /QUEUE=MYPRINTER /PARAMETER=DATA_TYPE=ASCII




>You can choose from any of the following data type parameters:

 ASCII
ANSI
DDIF
List
PCL
PostScript
Proprinter
ReGIS
Tek4014


@For more information about the various data types, see Chapters t4 through Chapter 9.

HIf you try to print to a printer model unsupported by DCPS, the printer His classified as an "unrecognized" printer and while printing 'is attempted, it may not be successful.

GDCPS has a "generic HP" class of printer to help in printing Hto new HP printer models. When printing to an HP printer not recognized Gby DCPS, a set of paper sizes, tray names and commands to select those Etrays, known to work with HP printers, are used. Therefore, features Dnot available with an "unrecognized" printer are probably Aavailable with an "generic HP" printer. These features Ginclude tray selection and use of the printer's native PCL interpreter.e

1.3 Printing Two-Sided Documents



HSome PostScript printers can print on two sides of each sheet of paper, Falso known as duplex printing. You can print a document on both sides Gof the paper if you include the SIDES=2 parameter in the PRINT command.

For example:

 

"
:    $ PRINT /PARAMETERS=SIDES=2 MYFILE.PS




FIf the printer does not support two-sided printing, your print job is 2terminated and the following message is displayed:

 

"
M    DCPS-E-DPLXNOSUP, printer-name does not support duplex printing 




lSee Figure 1-1 for an example of a two-sided document."

.Figure 1-1 Two-Sided Printing


'm

1.4 Specifying Landscape and Portrait Orientation



DTo specify the page orientation, use the PAGE_ORIENTATION parameter ;with either the PORTRAIT or LANDSCAPE keyword. For example:

 

"
N    $ PRINT /PARAMETERS=PAGE_ORIENTATION=LANDSCAPE MYFILE.TXT






/  
Note

GDo not use this parameter with PostScript and DDIF files because these Btypes of files already contain printing instructions that include Eorientation. If you include the PAGE_ORIENTATION parameter for these Ctypes of files, your specification is ignored and the print job is 7printed following the instructions in the file.


{Figure 1-1 shows pages printed in portrait orientation. For advanced \methods of printing documents, see Chapter 10.

eFigure 1-2 shows a page printed in landscape orientation.

1Figure 1-2 Landscape Orientation


'^

1.5 Specifying Multiple Copies



ETo make multiple copies of a file, use any of the following commands:

p

1.6 Printing Multiple Pages on Each Side of the Sheet



HYou can print more than one page on each side of a sheet of paper. This Atechnique saves paper and can also be used to provide customized Fprinted documents. For example, you can print four pages on each side Nof a sheet, as shown in Figure 1-3.

GUse the NUMBER_UP parameter in the PRINT command to specify the number @of pages to print on each side of a sheet of paper. For example:

 

"
>    $ PRINT /PARAMETERS=NUMBER_UP=4 MYFILE.PS




NTo fit multiple pages on a side, the DECprint Supervisor software changes the Dsize of the logical pages in the document to fit in the area on the Dphysical sheet. This change does not affect the relationship of the page height to the page width.

=Figure 1-3 Printing Four Pages to a Sheet (NUMBER_UP =4)


']

1.7 Printing a Range of Pages



EYou can print a specific page or range of pages in a print job. This Hfeature may be useful, for example, when you continue a large print job .that was terminated in the middle of printing.

HTo print only a specific range of pages from the print job, include the CPAGE_LIMIT parameter in the PRINT command. Include one or two page Fnumbers to specify the range of pages. For example, to print only the H50th through the 100th page of a print job, enter the following command:

 

"
H    $ PRINT /PARAMETERS="PAGE_LIMIT=(50,100)" MYFILE.PS






/  
Note

HQuotation marks are required when the parameter value contains a comma, (as in this PAGE_LIMIT parameter.


CThe pages you specify do not correspond to the page numbers in the Edocument. They represent the number of pages that have been printed. BYou can print the last portion of this same document by using the following command:

 

"
E    $ PRINT /PARAMETERS="PAGE_LIMIT=(50,)" MYFILE.PS




MThis command instructs the DECprint Supervisor software to start printing at Gthe 50th page in the document, and continue to the end of the document.

BYou can print the first part of a document by using the following command:

 

"
@    $ PRINT /PARAMETERS=PAGE_LIMIT=50 MYFILE.PS




NThis command instructs the DECprint Supervisor software to print the first 50 pages of the document.

EWhen you use the PAGE_LIMIT parameter, your print job completes when Ethe upper-limit value is reached. Therefore, if you specify Fthe PAGE_LIMIT parameter and do not print to the end of the file, you Gdo not get a file trailer page for the file that was cut off. The rest Fof the data for that file and for any subsequent files for that print job is ignored.

FThe maximum PAGE_LIMIT value, for either the starting or ending page, is 999999.u

1.8 Delays in Deleting an Entry or Stopping a Queue



F If DCPS has problems communicating with a printer when processing a G STOP/QUEUE/NEXT or DELETE/ENTRY request, it may take several minutes G before DCPS considers the request completed. Eventually, however, it I will stop waiting for a response from the printer that the current job  has been cancelled.Q

1.9 File Formats



EIf you are copying your file from a system running another operating Esystem to an OpenVMS system and then printing it, the resulting file wmust have one of the OpenVMS file formats listed in Table 1-1.

]  0 ,                          
Table 1-1 File Formats
OpenVMS Record Format Record Attributes
Stream Any
 Variable length None
 Undefined Any
 Fixed format None
Indexed Any
 Relative Any



11Acceptable for files with binary data





/  
Note



EWhen you copy files with binary data, such as images and fonts, make Gsure you copy the file in binary mode. For example, use binary mode in FTP or useCOPY /B$ from a Windows® system.


DDCPS allows you to print files that utilize an indexed, relative or sequential file organization.

GIndexed and relative files are accessed sequentially, by their primary Gindex and relative record number respectively. This is consistent with the TYPE command.



/  
Note

FIndexed and relative files frequently contain binary data. Attempting @to print files containing such unprintable binary data can give 7unpredictable and probably undesirable results.





 a d f  
NextContentsIndex