PSF/AIX: How can one have a default pagedef or insert a pagedef to print landscape data in PSF/AIX?
ITEM: RTA000042170
QUESTION:
Customer has recently installed PSF/AIX but finds his print to be in
the portrait orientation. How can he have a pagedef like P1V06683 to
be his default? He tried following the example on page 122 of the Print
Submission manual but always got the message 'operator wait status'.
How can he achieve his objective? The actual print should be in the
landscape orientation. The printer that he is using are 3900s.
---------- ---------- ---------- --------- ---------- ----------
A: You can define queues with default values. These default values can
be parameters you would normally pass to PSF/AIX on the enq command, or
for that matter, on any of the transform commands, such as line2afp
(ACIF) or ps2afp. For example, you can define a queue so that it will
always invoke the line2afp transform using a certain pagedef or formdef.
In your example, say you normally print your job using the following
command:
enq -Pprinter -odatatype=line -opagedef=P1V06483 -occ=no -ochars=GT20 \
-oinpexit=/usr/lpp/psf/bin/apka2e /home/customer/data.file
where "printer" is the queue or printer name, and where the backslash
above is the continuation character (since this is a long command).
In order to set up defaults so that all you would have to type is:
enq -Pprinter /home/customer/data.file
you need to create a local queue for an existing PSF/AIX printer. The
basic procedure for doing this is outlined in the PSF/AIX Print
Administration book in the chapter on Customizing PostScript. In this
case, of course, we will be doing much the same thing, but for line
data instead of PostScript.
Assuming that you already have PSF/AIX queue for your 3900, you would
then create a local queue (see page 189 in Print Admin, S544-3817-01).
You would follow steps one thru four. Then on step 5, using the example
shown above, your backend statement would be:
/usr/lpp/psf/bin/ainbe printer datatype=line pagedef=P1V06483 \
chars=GT20 inpexit=/usr/lpp/psf/bin/apka2e cc=no
where "printer" is the name of the PSF/AIX queue you have defined for
the 3900; again the backslash is just a continuation character. This
would all be entered on one line.
Since you're talking about a 3900, you will also want to add more
queue devices as shown in the next section in the Print Admin book.
Use the same backend entry as shown above.
You can check that the backend entry appears correctly by viewing the
file, /etc/qconfig. Note that the values are case-sensitive. All
IBM-supplied pagedefs and formdefs are uppercase alphanumerics.
I hope this helps. You can get quite creative with defining queues with
various defaults using this method.
---------- ---------- ---------- --------- ---------- ----------
This item was created from library item Q658840 CRJPT
S e a r c h - k e y w o r d s:
AFP CRJPT DATA DEFAULT INSERT INSERTION LANDSCAPE psf/aix psf/6000
PAGEDEF PRINT PRINTABLE PRINTER PRINTING PRT PSF PSF6000 6000
psf aix defauls
WWQA: ITEM: RTA000042170 ITEM: RTA000042170
Dated: 01/1999 Category: XPSF6000
This HTML file was generated 99/06/24~12:43:17
Comments or suggestions?
Contact us