l8HP DECprint Supervisor (DCPS) for OpenVMSG

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



 z d f  
PreviousContentsIndex

a

8.4.2 Specifying the Page Size for Proprinter Print Jobs



GYou can select the page size with the /PARAMETERS=PAGE_SIZE qualifier. EAll page size values are supported by the Proprinter translator. The Ctranslator will print within the area of the page specified by the CPAGE_SIZE parameter except for a small area around the edge of the Cpage. The area around the edge of the page is specified by the top joffset and the left offset (see Table 8-2).

HThe top offset specifies the position of the baseline of the first line Eof the page as well as the default margin at the bottom of the page. #The default top offset is 1/2 inch.

HThe left offset specifies the area at the left edge of the page as well Fas the default margin at the right edge of the page. The default left offset is 1/4 inch.

AIf your application allows for a margin around the page, you can decrease these offsets.

NIf you need a page size that is not supported by DECprint Supervisor, you can Cexplicitly specify the page size using the front panel mode escape sequences for form length and margins (see Table 8-2). These escape Esequences specify the length and width of the page measured from the offsets.

8.5 Specifying the Input Tray for Proprinter Print Jobs



GA Proprinter file may contain instructions to select the printer input Ftray on a Proprinter printer. When you print this file on a different Htype of printer, the print job will fail if the specified input tray is Gnot available. You can modify the print job to redefine the input tray Hselection command, using a PostScript setup module. Your system manager Acan create a setup module to redefine the appropriate Postscript Coperators, as in the following which shows the contents of a setup Hmodule that selects tray 3 for the upper input tray, and 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 =which the Proprinter translator converts them, are listed in Table 8-3. The default setpapertray value is the Evalue that the translator uses if no other value has been defined. A Fsetup module with a different value would override the default value. 

  " 8 5                          
Table 8-3 PostScript Operators for Changing Input Trays
Bin Meaning PostScript Extension Operator Default setpapertray Value
 0  No change    
 1  Upper tray ! settoptray  1
 2  Lower tray $ setbottomtray  2
 3  Envelope feeder , setenvelopefeedertray  3
|

8.6 Including Soft Fonts in Proprinter Print Jobs



@If your Proprinter file requires soft fonts to be loaded in the Bprinter, you can download the font using Proprinter setup modules.

GThe system manager must create a device control library designated for HProprinter 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.

HProprinter setup modules from the Proprinter device control library are Dhandled differently from ANSI and PostScript setup modules. Records @from a Proprinter module are not appended with carriage control Gcharacters (<CR><LF>) because Proprinter setup modules can Finclude binary data, such as Proprinter fonts and raster graphics. If @the Proprinter setup module contains lines of text that must be Fseparated by carriage control characters, you must explicitly specify $them in the Proprinter setup module.

GProprinter setup modules are processed without a subsequent page eject Gcommand, so that anything printed by such setup modules will appear on the first page of the file.


G

Chapter 9
Using the List Data Type




FThe List data type is a list numbering tool that prints line-oriented Dtext in a format that is easier to read. The List data type creates output that has:



sFigure 9-1 is an example of a page printed using the List data type.

1Figure 9-1 List Data Type Output


&

]

9.1 Using the List Data Type

HUse the following PRINT parameter to print your text document using the List data type:

 

"
    /PARAMETERS=DATA_TYPE=LIST 




EFor example, to print the file XREPORT.TXT using the List data type, enter the following command:

 

"
C    $ PRINT XREPORT.TXT /PARAMETERS=DATA_TYPE=LIST




=By default, DCPS prints using the List data type if the file "extension is one of the following:

 

"
@    B32    BAS    BLI    C      CBL    COM    CPP    CXX    FOR 9    H      HXX    MAR    MMS    PAS    PLI    R32    REQ 




ZSee the System Manager's Guide for information about changing this list.q

9.2 Using OpenVMS Forms with the List Data Type



FThe List data type ignores form settings for margins, page width, and Gso forth when formatting pages. It creates a page with maximum content 7at a size compatible with both A (Letter) and A4 paper:

, Portrait orientation: 80 columns, 70 lines2
Landscape orientation: 132 columns, 55 lines


FHowever, any setup modules invoked by the form definition are applied to the print job.


H

Chapter 10
Using Advanced Page Layouts




BThis chapter describes how to print different types of files on a APostScript printer, and shows how to access the printer-specific Hfeatures. Some features are not supported by all types of printers. You >should be aware of the type of file you are printing, and the capabilities of your printer.

EThere are many types of PostScript printers with unique capabilities Cand features. Make sure your printer can perform the functions you Especify in the print job. If your printer does not have a capability Eyou request (for example, two-sided printing), your print job may be Fterminated and a message displayed to inform you of the problem. Some Aof the unique capabilities that may be available on your printer include:



FIn addition to these printer-specific features, make sure the type of Fmedia you request is loaded in the printer before you enter the PRINT command.g

10.1 Printing Two-Sided Documents



CTo select two-sided printing, use the SIDES parameter to the PRINT command.

=The SIDES parameter provides the printing features listed in ;Table 10-1.

c  %                          
Table 10-1 Values for SIDES Parameter
Value Definition
 1, ONE, or
ONE_SIDED_SIMPLEX
/ Your job prints on one side of the sheet.
 2, TWO, or
TWO_SIDED_DUPLEX
M Your job prints on both sides of the sheet. The second side is reached K by turning the page about its left edge, as in the binding of a book.
 TUMBLE or
TWO_SIDED_TUMBLE
L Your job prints on both sides of the sheet, and alternating pages are rotated 180 degrees. Figure 10-2 shows the format for two-sided L tumble printing. The second side is reached by turning the page about / its top edge, as in some legal documents.
 ONE_SIDED_DUPLEX J Your job prints on one side of the sheet but alternate pages may be N offset for binding. Retains page layout for duplex printing for copying L on duplex copiers. Reflects the placement of margins and page numbers.
 ONE_SIDED_TUMBLE J Your job prints on one side of the sheet, and alternating pages are N rotated 180 degrees. This allows you to make a tumble-formatted copy to M take to a copying facility for multiple copies. Reflects the placement " of margins and page numbers.
 TWO_SIDED_SIMPLEX J Your job is printed on both sides of a sheet. This setting does not ' reflect the placement of margins.


k

10.2 Specifying Landscape and Tumble Printing

EFiles printed in landscape orientation (text printed parallel to the Elong edge of the paper) are, by default, printed in tumble mode when yprinted on two sides of the paper (see Figure 10-1). This provides ?output that can be bound along the top and flipped for reading.

9Figure 10-1 Landscape Orientation with Two-Sided Printing


'

DTo print pages in portrait orientation and tumble mode (as shown in tFigure 10-2), use the SIDES=TUMBLE parameter. For example:

 

"
?    $ PRINT /PARAMETERS=SIDES=TUMBLE MYFILE.PS


"

?Figure 10-2 Portrait Orientation with Two-Sided Tumble Printing


'

CIf you need a landscape oriented document printed on two sides and qbound along the short edge (see Figure 10-3), use both the HSIDES=TUMBLE and the PAGE_ORIENTATION=LANDSCAPE parameters in the PRINT command.

For example:

 

"
\    $ PRINT /PARAMETERS=(SIDES=TUMBLE,PAGE_ORIENTATION=LANDSCAPE) MYFILE.PS




@Figure 10-3 Landscape Orientation with Two-Sided Tumble Printing


'

HIf you specify SIDES=TUMBLE for a print job destined for a printer that Gdoes not support tumble printing, your print job is terminated and the following message is displayed:

 

"
IDCPS-E-TUMBNOSUP, printer-name does not support tumble printing 




ATo display the SIDES parameter values that are supported by your Eprinter, enter the HELP PRINT_PARAMETER SIDES command and select the %subtopic that describes your printer.

10.3 Specifying Multiple PostScript Files in Duplex Print Jobs

MThe DECprint Supervisor software treats adjacent PostScript files in a print Ejob as if they were combined into a single file. Therefore, when you Hprint multiple PostScript files in one duplex print job, pages from one Hfile may be printed on the same sheet with pages from another file. All 8other types of files automatically start on a new sheet.

CUse the following command to print two PostScript files using both sides of the sheet:

 

"
P    $ PRINT /QUEUE=PS$A14 /PARAMETERS=SIDES=2 FILE1.PS,FILE2.PS




CIf FILE1.PS has three pages, page 1 is printed on the front of the Hfirst sheet; page 2 is printed on the back of the first sheet; and page F3 is printed on the front of the next sheet. Then, page 1 of FILE2.PS 0is printed on the back of that sheet, and so on.

GTo begin printing each new file on a new sheet, use the /FLAG, /BURST, Eor /TRAILER qualifier to print a file separation page between files. DFor example, the following command prints FILE1.PS and FILE2.PS and 'includes a flag page between each file:

 

"
Y    $ PRINT /QUEUE=PS$DUPLEX /PARAMETERS=SIDES=2 /FLAG FILE1.PS,FILE2.PS


g

10.4 Specifying the Physical Sheet Size



CYou can specify the size of the physical sheet or type of media on Kwhich to print your file. The DECprint Supervisor software may assume this #information automatically from the:



AYou can explicitly request a certain sheet size by including the CSHEET_SIZE parameter in your PRINT command to specify a value that /describes the physical media size. For example:

 

"
@    $ PRINT /PARAMETERS=SHEET_SIZE=A4 MYFILE.PS




?To list the values available with your printer, enter the HELP @PRINT_PARAMETER SHEET_SIZE command and select the subtopic that describes your printer.

;Some sheet sizes are known by multiple names, as listed in Table 10-2. You may use any of these names to specify a sheet size Hto DCPS. The DCPS term is the term that DCPS prints on the trailer page "and reports in error messages.

s  $ "              
Table 10-2 Sheet and Page Size Synonyms
DCPS Term Synonym
 Business_Envelope Com10
 7_Envelope Monarch
 Halfletter  Statement
s

10.5 Printing Multiple Pages on Each Side of the Sheet



CYou can print more than one page on each side of a sheet of paper. >Printing this way saves paper and provides customized printed vdocuments. Figure 10-4 shows four pages on each side of a sheet. Use Fthe 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 Hphysical side. This change does not affect the relationship of the page height to the page width.c

10.5.1 Using NUMBER_UP with Input Tray Selection Operators



DIf you specify NUMBER_UP=1 for a file that has input tray selection Aoperators, the printer changes paper trays, but the image is not resized to fit the new paper.

CInput tray selection commands in a file are ignored if the file is Bprinted with a NUMBER_UP value greater than 1. If you include the B/NOTIFY qualifier in the PRINT command, a message is displayed to inform you of this action.

>Figure 10-4 Printing Four Pages to a Sheet (NUMBER_UP =4)


'X

10.5.2 Using NUMBER_UP with Page Orientation



?When you print using NUMBER_UP, the aspect ratio (that is, the Drelationship of the height of the page to the width of the page) is Bpreserved. Therefore, a portrait-shaped page retains its portrait Dshape. However, because NUMBER_UP may scale and rotate the pages to Hmake the best use of the available space, the logical page and physical &sheet may have different orientations.

CFigure 10-5 Portrait Orientation with NUMBER_UP =2


'

@The pages print vertically, but you hold the sheet in landscape Forientation to read them. To print two pages per sheet using portrait torientation as shown in Figure 10-5, use the following command:

 

"
c    $ PRINT /PARAMETERS=(NUMBER_UP=2,PAGE_ORIENTATION=PORTRAIT) file-name




ETo print two pages per sheet using landscape orientation as shown in ]Figure 10-6, use the following command:

 

"
c    $ PRINT /PARAMETERS=(NUMBER_UP=2,PAGE_ORIENTATON=LANDSCAPE) file-name




DFigure 10-6 Landscape Orientation with NUMBER_UP =2


'

O

10.5.3 Using NUMBER_UP with Multiple Files

HWhen you specify more than one file in a print job and use NUMBER_UP to Gprint more than one page on each side of a sheet, all the files in the Fprint job are printed using the NUMBER_UP value. If any files are not CPostScript files, they are printed starting on a new sheet. If any Gfiles are PostScript files, they are printed starting at the next page ,spot (the next location defined for a page).

HFor example, to print two ANSI files, one with seven pages and one with Fone page printed at four pages per sheet, enter the following command:

 

"
Y    $ PRINT /QUEUE=PS40$A14 /PARAMETERS=NUMBER_UP=4 7PAGES.TXT,1PAGE.TXT




GThe first four pages of 7PAGES.TXT are printed on the first sheet. The Dlast three pages of 7PAGES.TXT are printed on the second sheet; one Dpage spot is left blank. The file 1PAGE.TXT is printed on the third (sheet, with three page spots left blank.

ETo print two PostScript files, one with seven pages and one with one @page, printed four pages per sheet, enter the following command:

 

"
X    $ PRINT /QUEUE=PS$IGUANA /PARAMETERS=NUMBER_UP=4 7PAGES.PS,1PAGE.PS




EThe first four pages of 7PAGES.PS print on the first sheet. The last Ethree pages of 7PAGES.PS and the first page of 1PAGE.PS print on the second sheet.

DTo ensure that each new file in the multiple PostScript file job is Hstarted on a new sheet, specify file separation pages using the /BURST, */FLAG, or /TRAILER qualifier. For example:

 

"
\    $ PRINT /QUEUE=PS40$A14 /PARAMETERS=NUMBER_UP=4 /FLAG FILE1.PS,FILE2.PS


`

10.6 Printing a Range of Pages



?You can print a specific page or range of pages in a print job.

CTo print a specific range of pages from the print job, include the FPAGE_LIMIT parameter in the PRINT command and the range of pages. For Gexample, to print only the 50th 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. HYou can specify printing of just the last portion of this file by using the following command:

 

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




MThis example instructs the DECprint Supervisor software to start printing at Ethe 50th page in the print job, and continue to the end of the print job.

GYou can specify printing of just the first part of a document by using the following command:

 

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




NThis example instructs the DECprint Supervisor software to print the first 50 pages of the print job.

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

10.6.1 Using PAGE_LIMIT with Multiple Copies



GDo not use the PAGE_LIMIT parameter when you make multiple copies with Ethe /COPIES or /JOB_COUNT qualifiers. The print job may be completed Dbefore the next copy begins printing. If you want to print multiple Fcopies of a job for which you specify PAGE_LIMIT, use the SHEET_COUNT Mparameter (see Section 1.5).




 z a d f  
PreviousNextContentsIndex