Addressing a Specific Printer Tray

Support knowledgebase (ke_tray)
Applies to

SuSE Linux: Versions up to (including) 7.3

Situation:

You want to address a specific tray.

Prerequisite:

You have a PostScript printer.

Procedure:

From SuSE Linux 8.0 on, please refer to the "Reference" manual.

Up to SuSE Linux 7.3:

It is possible to address a specific printer tray via a PostScript command.
An example is shown in /var/lib/apsfilter/preloads/tray.ps.

Use a file similar to this as "preload" in /etc/apsfilterrc or in /etc/apsfilterrc.DRIVER:

PRELOADS="/var/lib/apsfilter/preloads/tray.ps"

The procedure with preloads is explained in the manual's apsfilter configuration section, in the chapter on printing. Alternatively, you can read the article "Printing: Gamma Correction (Adjusting the brightness)" which can be found in our support database by entering the keyword "gamma".


We include an additional suggestion by Dirk Schneider:

Situation:
Different users have to be able to print on different printer trays.

For this purpose, we have created two files: "outbin1.ps" and "outbin2.ps", which have been
added to the other optional preloads in the directory "/var/lib/apsfilter/preloads/".
Now the pertinent file has to be entered in the apsfilterrc for the respective printer
(in our case /etc/apsfilterrc.PS_1200dpi):

PRELOADS="/var/lib/apsfilter/preloads/outbin1.ps" (or outbin2.ps)

The file for Lexmark Optra S2455 looks like this:

-----8<------>8-----
%!PS
<<
/OutputAttributes
<<
/Priority [1]

>> >>
setpagedevice
-----8<------>8-----


The 1 following "/Priority" indicates the number of the corresponding tray,
1 stands here for the first ADDITIONAL tray, 2 for the second ADDITIONAL tray, etc.

See also:
o Printing: Gamma Correction (Adjusting the brightness)
o Printing: draft or economy mode

Keywords: PRINT, PRINTER, TRAY

Categories: Printer

SDB-ke_tray, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 26. Mär 2002
SuSE Linux AG - Last generated: 04. Jun 2002 by glazzar (sdb_gen 1.40.0)