• Aucun résultat trouvé

number_up -Nnum

Dans le document Guide to PrintServer Clients ULTRIX (Page 32-36)

2.2 Ipr Command Options

2.2.7 number_up -Nnum

The graphic arts term for printing multiple pages on a sheet is number up. (A sheet is a piece of paper. A page is an image, usually printed on a single sheet.) The ·N option flag sets the maximum number of page spots on a sheet. These are the positions on a sheet where a page could be printed. For example, if number_

up is 4 (-N4), you can print four pages on a single sheet. This means there are four page spots on the sheet, even if your print job actually has fewer than four pages. Figure 2-1 shows an example of a sheet printed with a number_up value of 4.

2-6 Printing on a PrintServer System

Figure 2-1 Four Pages to a Sheet (4-Up)

Chopllr1

Printing on a PrlntServer

1.1 IprCotmnonllCltll_onaPrin_

n.. v .. x ... rwf" DIC' .... cu. .... ULftIX •• ,.... ....

ULTlIX ... c - M . . _ . . . . _ , . . _ _ ...

.... .".fJDIOITAL··,..IJ",r-'"" .. prilnwnm..··,.., ..

.... utf'llr I...,-·.II.-.lS""'_".-I7 ,.,.~,

=-.r ....

I .. ~.,...aftt_""'""'" .... ,.;IIIIVft'.,

1.1., ...

... I '~.,I ... ., ... ., I :.

1.1IIi •• , . . ... ft., h . . . ,. .. otipInr ... Itnrr_ ..-r ...

:,-::.;-.!::!::!.·==~-;.=.::.·:::-=ri~

... "..-. ... "_fi'" .... ~If'tN...,. i • . . . r- ... , h ... ' ... "....I.

:.'=::.;r:::.:r...-=:..::.-n::~!."!. ... r

:.=::-:::r":...~!:a~~~' .... tIf .... 1

....

.'1 ... ' _ " " -. -. " - - . . .... 1 .. -.. _ ... _____ .a.-....

.z I ... ·,....

8 ... 1. ... . , ... ,1tJI :.=.~.:!:.:!;. .. Il~...,. .... L .If ... ...

..

_

... , ... .

=.~.:!;. .. IJ..-... ~.l.

E.;:~-E.=!~t:t==:!...

" . . . lJ'IWk...., .... ,...vft ... -.-n.' ...

::=-=:., •. r...,'.-.. ... W'-WIIII .. III.

" ... .,., ... k _ ... I,.~ .. UIW ...

::-... er::.:r=-:'::tr..:::! .. ~~:::::::..~

Tk ,., ... " . , .. I . . . priM.-.

• .finf .... ft . . _.,~~ . . . . f.t.

• .. .w ...

...

Ifiri ... ..., ... ., .... (.),. '*".,

• .... d,-,...uftH ... .., ... . . .

...

" ...

_

... ., ... .

.~I

== .. ,. ... '"' ...

... lir'" . . . .rft . . . ". . . I""'.".W. ~ . . .

.AK'II '~II

n.1 ... ""' ... ft.' ... 'IM ... n' .. ifl ... ' ....

.. " ' ... i ... .

'hf~.,t. . . _m,. ... , ... t ... iIJ.,rM' ... ·wk .. eN . . . ___ ,..wJrn.T.Wr.·ll ... i . . . . If.' ...

, ... rw.IIIln, ... Pri.s.'"r_Pri .. ~ ....

DllpIt ... SIn..,2n.

MLO-004192

Printing on a PrintServer System 2-7

Your job prints using the number set by the -N option, unless you use a layup definition file that contains the PagesPerSheet option or the Grid option. The default is to print one page on a sheet (-Nl), but you can set a default number_up value in the /etc/printcap file.

num can have a value from 0 to 100.

To disable layup, specify -NO. This overrides any layup defaults that are set in the /etc/printcap file.

2.2.7.1 number_up Option and Page Orientation

When you print using the number_up option, the aspect ratio of the page is preserved. This means that, for example, a portrait-shaped page retains its portrait shape. However, the page and sheet may have different orientations. For example, if you print portrait pages 2-up (-N2), the pages remain portrait-shaped, but you hold the sheet- in landscape orientation to read them.

If you specify that the pages are to print as landscape pages, you hold the sheets in portrait orientation to read them.

Figure 2-2 shows the four different cases of page and sheet orientation with the -N option. Text in the first page spot is represented by the parallel lines. The POSTSCRIPT origin of the sheet and first page are represented by the quarter circles.

See Section 2.2.8 for a description of the page orientation option (-0).

Figure 2-2 Page Orientation with number_up

Portrait Page Portrait Sheet

Landscape Page Landscape Sheet

2.2.7.2 number_up Option Paper Selection Options

Portrait Page Landscape Sheet

Landscape Page Portrait Sheet

MLO-001476

The -N option sizes the page image according to the page size in effect at the time the print job is submitted.

If you specify -Nl for a file that uses a POSTSCRIPT tray selection operator, the printer changes paper trays, but the image is not resized to fit the new paper.

2-8 Printing on a PrintServer System

If you specify -N for a number greater than one, POSTSCRIPT tray selection operators in the file are ignored. Because ANSI files are translated to POSTSCRIPT before printing, ANSI tray selection sequences are also ignored when ANSI files are printed using -N.

If you want to print on paper other than the paper in the default input tray when you are using the number_up option, use the -I (input_tray) and -F (page_size) options.

Examples

1. This example prints the file eight pages to a sheet:

% lpr -p fast -N8 filename

2. This example prints the file eight pages to a sheet and uses a layup definition file:

% lpr -P fast -Llpssinqleholes.lup -N8 filename

3. This example prints the file 2-up (two pages to a sheet) in landscape orientation. Note that the sheet and the pages do not always have the same orientation (see Section 2.2.8.1):

% lpr -P fast -Olandscape -N2 filename

4. This example prints the file six pages to a sheet. It prints on 11 x 17 -inch paper, which is loaded in the middle input tray on this printer:

% lpr -P biqprinter -Imiddle -N6 filename

2.2.8 orientation

-Oorientation

The -0 option flag specifies the orientation of the printed output on the logical page.

Table 2-5 lists the qualifiers to the orientation option:

Table 2-5 orientation Qualifiers Qualifier

portrait landscape

Description

The lines of text are oriented parallel to the short side of the logical page.

(This page is printed in portrait mode.)

The lines of text are oriented parallel to the long side of the logical page.

The -0 option works only if the ANSI, Tektronix 4010/4014, or ReGIS translator is used. POSTSCRIPT files ignore the page orientation set by the -0 option, because attributes like page size and orientation are set in the file itself. If you want to change the page orientation, you have to edit the POSTSCRIPT file.

Example 2-1 shows POSTSCRIPT code you can add to the top of a file to change the orientation from portrait to landscape for an 8.5 x II-inch page. The number 612 represents the number of points in 8.5 inches. (There are 72 points to an inch.) The number 90 represents the number of degrees the page image is rotated.

Printing on a PrintServer System 2-9

Example 2-1 Sample POSTSCRIPT Code to Change from Portrait to Landscape Orientation

612 0 translate 90 rotate

2.2.8.1 orientation with number_up

The -0 option affects the page, not the sheet. When you print using the -N option with the -0 option, the page orientation and the sheet orientation are not always the same. For example, if you print portrait pages 2-up, the pages remain portrait-shaped, but you may hold the sheets in landscape orientation to read them. If you change the page orientation to landscape, the pages are printed as landscape pages, but you hold the sheets in portrait orientation to read them.

(See Figure 2-3.)

2.2.9

output_tray

Dans le document Guide to PrintServer Clients ULTRIX (Page 32-36)

Documents relatifs