Printing With UX Filter (UNIX/Linux)

 

  Overview

  Installing the UX Filter

  Uninstalling the UX Filter

  Printing and Using the Utilities

  Precautions and Limitations


Overview

The UX Filter

This section describes the features of the UX filter and its operating environment.

Features

The UX filter is a utility software which converts files created by the UNIX workstation into a format which conforms to the PostScript language loaded in the printer. The utility provides software that converts text files, SunRaster image files (for Sun/Solaris only), TIFF image files and XWD image files into the PostScript language program. Also, it makes use of the printer features to output in the following manner.

NOTICE: Depending on the configurations of the printers, some may not be able to use the UX filter.

Operating Environment

Text files, SunRaster image files (for Solaris only), TIFF image files and XWD image files received from a workstation connected to a printer by a USB cable or parallel cable (hereinafter referred to as the local workstation), or from one located on the network (hereinafter referred to as the remote workstation), can be converted into the PostScript language program and output to the printer.

In addition, it can also be used in an environment where a printer, installed with an interface board, is connected directly to the network.

Before Using UX Filter

Check the following items before using the UX filter.
Before setting up the workstation, set up the printer as follows.

  1. Make sure the lpd port is working or not when using the network environment. If the lpd port is not working, set LPD to On on the operator panel. (Mandatory) See "Protocol" for more information.

When a parallel or USB port is to be used, make sure these are working. (Mandatory)

  1. Set up IP address and subnet mask when the printer is used in the network environment. (Mandatory)

  2. Make TBCPFilter function available if TBCPFilter function is installed on the printer. See "Adobe Protocol" for more information.


Installing the UX Filter

Before Installation

The following are required for the installation.

Disk capacity: 20 MB of free disk space required, including temporary working space for installation.

Files Added by the Installation

The following files will be added when the UX filter is installed.

Solaris

Directory
File name
Contents
/usr/local/dellbin3100cn
txt2ps2
Text conversion utility
sunras2ps2
SunRaster conversion utility
tiff2ps2
TIFF conversion utility
xwd2ps2
XWD conversion utility
dellpsif
Input filter
/usr/lib/lp/postscript
dellposttxt
Symbolic link file to txt2ps2
dellpostps
Symbolic link file to dellpsif
dellbinpath3100cn
Directory description file for the UX filter print tool
/usr/lib/lp/model
Model interface program
Source file of the model interface program (stored as the printer name during registration)
/etc/lp/interfaces
Model interface program
Interface program for PRINTER (stored as the printer name during registration)
/etc/lp/fd
dellposttxt.fd
Filter description file for txt2ps2
dell3100cn.fd
dell3100cn filter description file for Dell Laser Printer 3100cn
dellpostio.fd
dellpostio Filter description file
delldownload.fd
delldownload Filter description file
/usr/share/man/man1
dellpsif.1
man file for dellpsif
sunras2ps2.1
man file for sunras2ps2
txt2ps2.1
man file for txt2ps2
tiff2ps2.1
man file for tiff2ps2
xwd2ps2.1
man file for xwd2ps2

NOTE: The directories listed are default directories.
Linux

Directory
File name
Contents
/usr/local/dellbin3100cn
txt2ps2
Text conversion utility
tiff2ps2
TIFF conversion utility
xwd2ps2
XWD conversion utility
printcap. sample
Printcap file sample
dellpsif
Input Filter
.dellpsdefault3100cn
Default command option file
/usr/share/man/man1
dellpsif.1
man file for dellpsif
txt2ps2.1
man file for txt2ps2
tiff2ps2.1
man file for tiff2ps2
xwd2ps2.1
man file for xwd2ps2

NOTE: The directories listed are default directories.
HP-UX

Directory
File name
Contents
/usr/local/dellbin3100cn
txt2ps2
Text conversion utility
xwd2ps2
XWD conversion utility
tiff2ps2
TIFF conversion utility
/usr/lib/lp/postscript
dellbinpath3100cn
Directory description file for the UX filter print tool
/usr/spool/lp/interface
Model interface program
Interface program for PRINTER (stored as the printer name during registration)
/usr/share/man/man1
txt2ps2.1
man file for txt2ps2
tiff2ps2.1
man file for tiff2ps2
xwd2ps2.1
man file for xwd2ps2

NOTE: The directories listed are default directories.

Installation Procedure Overview

This section provides information on the installation of the UX filter using the UNIX workstation.

Linux
  1. Setup the printer and network.

  2. Insert the Drivers and Utilities CD into the local workstation.

  3. Run the installer and begin the installation.

  4. Edit /etc/printcap and print for testing the printer.

Solaris
  1. Setup the printer and network.

  2. Insert the Drivers and Utilities CD into the local workstation.

  3. Run the installer and begin the installation.

  4. Print for testing the printer.

HP-UX
  1. Setup the printer and network.

  2. Insert the Drivers and Utilities CD into the local workstation.

  3. Run the installer and begin the installation.

  4. Print for testing the printer.

Operation on Linux

Installation of Software

  1. Insert the Drivers and Utilities CD in the CD-ROM drive of the local workstation.
    If CD-ROM drive is not mounted on your workstation, extract files by using another workstation that has a CD-ROM drive to transfer those files to your workstation.

  2. Log on as a root account and extract the installation script from the Drivers and Utilities CD.

NOTICE: If you have no root privilege, contact your system administrator.
# mount /dev/cdrom /mnt/cdrom
# cd /tmp
# cp /mnt/cdrom/UNIXFilter/Linux/UXFILTER.tar /tmp
# tar xvf ./UXFILTER.tar

NOTE: CD-ROM is sometimes mounted automatically.
  1. Type ./install.sh and run the installer.
    #./install.sh


  2. Select the printer model to install.
    Printer Model?
    1. Dell Laser Printer 3100cn
    2. Exit
    Enter Process No(1/2)? : 1


  3. It asks whether you want to install the filter. Type <y>.
    Install Filter? (y/n) [y] : y


NOTE: If [ ] appears in a message, the default value will appear inside the [ ]. It will be selected when you press the <Enter> key.

The disk status on the workstation appears. 20 MB of free disk space is required for the installation of the filter.

  1. Specify the directory to install the filter. To install into /usr/local/dellbin3100cn, press the <Enter> key. To change the directory, specify one. Change the directory to.
    Enter Library directory name [/usr/local/dellbin3100cn]


  2. Confirm the directory to be installed.
    directory is '/usr/local/dellbin3100cn' (y/n)[n] : y


The software installation is complete.

Setting the Printer

Write printer setting in /etc/printcap or /etc/printcap.local referencing /usr/local/dellbin3100cn/printcap.sample.

Linux (LPRng):

/etc/printcap.local or /etc/printcap
lp:\
:bk:\
:bkf:\
:lpd_bounce=true:\
:sd=/var/spool/lpd/lp:\
:af=/var/spool/lpd/lp/lp.acct:\
:lf=/var/spool/lpd/lp/log:\
:rm=PrinterHostName:\
:rp=ps:\
:if=/usr/local/dellbin3100cn/dellpsif:

NOTICE: The directory to spool can be created in the partition with sufficient disk space. If there is no spooling directory, it is not possible to print large files.
NOTICE: The account files or logging files can be created with the file name specified in the directory path specified.

Operation on Solaris

Installation/Printer Setting

  1. Insert the Drivers and Utilities CD in the CD-ROM drive of the local workstation.
    If CD-ROM drive is not mounted on your workstation, extract files by using another workstation that has a CD-ROM drive to transfer those files to your workstation.

  2. Log on as a root account and extract the installation script from the Drivers and Utilities CD.

NOTICE: If you have no root privilege, contact your system administrator.
# cd /tmp
# cp /cdrom/cdrom0/UNIXFilter/Solaris/UXFILTER.tar /tmp
# tar xvf ./UXFILTER.tar
  1. Type ./install.sh and run the installer.
    # ./install.sh


  2. Select the printer model to install.
    Printer Model ?
    1. Dell Laser Printer 3100cn
    2. Exit
    Enter Process No (1/2)? : 1


  3. The following menu appears. Select <1> and set up the local printer.
    Solaris Installation for Dell Laser Printer 3100cn Type Printer
    1. Set Local Printer
    2. Set Remote Printer
    Enter Process No (1/2)? : 1


  4. Type the device name of the connection port.
    Enter port-device-name? [/dev/ecpp0] : /dev/bpp0


NOTICE: Specify the device file in the communication port available.
  1. When Set Remote Printer is selected, type the host name of the server or the host name of the printer.
    Enter server-hostname? : server
    server-hostname is 'server' (y/n)[y] : y


NOTICE: The host name of the server must be pre-registered with DNS, NIS, NIS+ or /etc/hosts.
  1. When Set Remote Printer is selected, type the remote printer name.
    Enter server-printer-name? : ps
    server-printer-name is 'ps' (y/n)[y] : y


NOTICE: Type ps when the printer is a network connection printer.
  1. Type the printer name to be registered with the system.
    Enter printer-name? [dell3100cn] : dell3100cn
    Printer-name is 'dell3100cn' (y/n)[y] : y


  2. Specify the directory to install the utility. To install into /usr/local/dellbin3100cn, press the <Enter> key. To change the directory, specify one.
    Enter Binary directory name? [/usr/local/dellbin3100cn] :


  3. If this utility has been installed earlier, the user will be prompted whether to overwrite the earlier version.
    directory is '/usr/local/dellbin3100cn' (y/n)[n] : y


  4. If the server input at step 5 the printer connected by the network, type <y>. If the server and the printer are connected locally, type <n>.
    'dell3100cn'is network printer?:(y/n)[y] : y


  5. When the other filters have been registered in your workstation, the following message appears. Type <y>.
    Do you want remove 'XXXXXX' filter and re-install (y/n) [y]


The software installation is complete.

NOTICE: When the printing settings are modified or changed by the Administration Tool (admintool) after the installation, printing may not work.

Operation on HP-UX

Installation Procedure

NOTE: The host name of the output printer which you want to specify in step 6 must be pre-registered with a sam command.
  1. Insert the Drivers and Utilities CD into the CD-ROM drive of the local workstation.

  2. Log on as a root account and extract the installation script from the Drivers and Utilities CD.

NOTICE: If you have no root privilege, contact your system administrator.
# mount -F cdfs -o cdcase /dev/dsk/c1t2d0 /cdrom
# cd /tmp
# cp /cdrom/UNIXFilter/HP-UX/UXFILTER.tar /tmp
# tar xvf UXFILTER.tar

NOTE: /dev/ds/clt2d0 is an example. Specify the CD-ROM device file for all workstations.
  1. Type ./install.sh and run the installer.
    # ./install.sh


  2. Select the printer model to install.
    Printer Model ?
    1. Dell Laser Printer 3100cn
    2. Exit
    Enter Process No (1/2)? : 1


  3. Specify the directory to install the utility.
    Enter install directory name /usr/local/dellbin3100cn] :
    directory is '/usr/local/dellbin3100cn' (y/n)[n]: y


  4. Type the name of the output printer. Type delllp3100cn. Type the printer name to be registered with the system.
    Enter output-printer-name? : delllp3100cn
    output-printer-name is 'delllp3100cn' (y/n)[y]: y


NOTE: The registered printer name can be verified by executing lpstat -v.
  1. Type the logical printer name. Register dell3100cn. Type a printer name that has not already been registered with the system.
    Enter logical-printer-name? : dell3100cn
    Printer-name is 'dell3100cn' (y/n)[y]: y


  2. The utility will be installed in the directory specified at step 5. Registration will be executed here so that the logical printer registered at step 7 can access the utility. As this process is automatically executed, no input is required. With the above steps, the installation is complete.


Uninstalling the UX Filter

About Uninstalling

The UX filter does not come with an uninstaller. To uninstall the UX filter, follow the following procedure.

NOTICE: Log on as a root account to perform the operation here. If you have no root privilege, contact your system administrator.

Linux

  1. Delete the descriptions for each printer from /etc/printcap.

  2. Delete the added spool directory.

  3. Restart lpd.

  4. Delete all the directories that contain the UX filters and the files in these directories created during the installation. The following directories must be deleted.
    /usr/local/dellbin3100cn

    The above directories are standard directories created during the installation. If you had specified other directories for the installation, delete those directories.

Solaris

  1. Delete the printer that was registered with the system. Use the printer name created during the installation and the lpadmin command.
    # lpadmin -x printername


  2. Delete the filters registered with the system. Delete the filters registered during the installation using the lpfilter command.
    # lpfilter -f dell3100cn -x (for Dell Laser Printer 3100cn)
    # lpfilter -f delldownload -x
    # lpfilter -f dellpostio -x
    # lpfilter -f dellposttxt -x



  3. Delete the symbolic files required to call up the filter.
    Delete the following files from /usr/lib/lp/postscript.
    dellposttxt
    dellpostps
    dellbinpath3100cn



  4. Delete the interface program files of Selected printer type name from /usr/lib/lp/model.
    Please also delete the interface program files of Selected printer name from /etc/lp/interfaces.

  5. Delete all the directories that contain the UX filters and the files in these directories created during the installation. The following directories must be deleted.
    /usr/local/dellbin3100cn


  6. Delete the filter description files. Delete the following files from /etc/lp/fd.
    Filter description files for various printers.
    dell3100cn.fd (for Dell Laser Printer 3100cn)
    delldownload.fd
    dellpostio.fd
    dellposttxt.fd



HP-UX

  1. Delete the printer that was registered with the system. Use the sam command to delete the printer set up during the installation.
    # sam


  2. Delete all the directories that contain the UX filters and the files in these directories created during the installation. The following directories must be deleted.
    /usr/local/dellbin3100cn (directory specified during the installation)



Printing and Using the Utilities

Printing (Linux)

This section provides information on printing with the filter.
To print, specify the printer registered with /etc/printcap as the output destination.

Printing From Linux

To print to the default printer:

If the printer is registered as the default printer, the name of the printer can be shortened and specified as shown in the following example.
% lpr filename

To print to other printers:

To print to a printer named dell3100cn, type as follows.
% lpr -Pdell3100cn filename

To select a paper tray for printing:

To select a paper tray, you need to define a printer which uses the desired tray by using a .dellpsdefault3100cn file in your home directory. After setting the .dellpsdefault3100cn file, you can print using the command.
% lpr -Ptray2 filename

About /usr/local/dellbin3100cn/.dellpsdefault3100cn:

This is the file for system default settings when using various utilities via /etc/printcap. Hereinafter, it is referred to as the default command option setting file.

Method:

To define a printer named a4d which prints on A4 with the long-edge binding feature turned on, follow the following steps.

Procedure:

  1. Register the printer a4d with /etc/printcap.

Linux (LPRng):

/etc/printcap.local or /etc/printcap
a4d:\
:bk:\
:bkf:\
:lpd_bounce=true:\
:sd=/var/spool/lpd/a4d:\
:af=/var/spool/lpd/a4d/a4d.acct:\
:lf=/var/spool/lpd/a4d/log:\
:rm=PrinterHostName:\
:rp=ps:\
:if=/usr/local/dellbin3100cn/dellpsif_a4d:

  1. Log on as the root account and create the symbolic links for dellpsif_a4d of IF Filter for printing on A4 with the long-edge binding feature turned on.
    # ln -s /usr/local/dellbin3100cn/dellpsif /usr/local/dellbin3100cn/dellpsif_a4d


  2. Add the following descriptions to the default command option setting file that specifies the user defined commands of the dellpsif_a4d of IF Filter.
    /usr/local/dellbin3100cn/.dellpsdefault3100cn
    dellpsif_a4d -IA4 -D


  3. When the printer name a4d is specified, printing can be done on A4 with the long-edge binding feature turned on.
    % lpr -Pa4d filename


Printing (Solaris)

This section provides information on printing that makes use of the filter. To print from Solaris, specify the printer registered during the installation of filters as the output destination.

NOTICE: To use the lp command, make sure the operating environment of the spooler has been set up correctly (enabled, available) using the lpstat command (lpstat-p all). For details on the options of the lp command and the lpstat command or how to make use of them, see the related manuals of Solaris.
Printing From Solaris

To print to the default printer:

If the printer is registered as the default printer, the name of the printer can be shortened and specified as shown in the following example.
% lp filename

To print to other printers:

To print to a printer named dell3100cn, type as follows.
% lp -d dell3100cn filename

NOTE: The name of the printer can be confirmed by executing lpstat -v.

To change the default printer temporarily for printing:

To change the default printer, set the printer name in the environment variable LPDEST.
To set a printer named dell3100cn as the default printer for printing, type as follows.
% setenv LPDEST dell3100cn
% lp filename

NOTE: Using this method, a default printer can be set up for each user.
NOTE: The above example describes the setup method executed when csh is used.

To select a paper tray for printing:

To select a paper tray for printing, specify the paper tray after the -y option of the lp command.

NOTE: Depending on installed options, the available paper trays are different.

To select and print to a letter size paper of the printer named dell3100cn with landscape, specify as follows.
% lp -d dell3100cn -y landscape -y letter filename

The following options can be specified by the lp command.
To print text files:

NOTE: It prints according to the length and width specified by the lpadmin command.

-y double

Sets printing to 2-column printing.

-y landscape

Rotates the image by 90o and uses the paper in the landscape orientation.

-y size=n

Sets the font size to n point.

-y outcolumn=n

This option converts text to single-byte text and sets printing to start from the nth column.

-y outline=n

Sets printing to start from the nth line.

-y font=font

Sets the font for printing single-byte alphanumeric characters. If the font specified is not available for the printer, the default fonts are used.

NOTE: To specify a font, type the font name as-is after the -y font= option.
% lp -y font=Courier-Oblique filename
NOTE: For information on the available fonts, see the PS Fonts List.

-y margin=u:b:r:l

Specifies the margin of a page in inches. The u (upper margin), b (bottom margin), r (right margin), and l (left margin) are positive real numbers (up to two decimal points). The default is 0.

To print text/PostScript files:

-y DuplexBook

Enables the long-edge binding feature. When it is specified, the printing direction or position will be adjusted and both sides of the paper printed so that the longer edge of the pages can be bound.

-y DuplexList

Enables the short-edge binding feature. When it is specified, the printing direction or position will be adjusted and both sides of the paper printed so that the shorter edge of the pages can be bound.

-y tray-input

The paper tray-related parameters that can be specified by the lp command are as follows.

NOTE: When you specify com 10, MxNmm or MxNin and so on, also specify the -y msi option.

tray1
Feed paper from tray 1 (standard 250-sheet tray module).

tray2
Feed paper from tray 2 (optional 250-sheet tray module or 500-sheet tray module).

a4
Feed paper from the tray loaded with A4 (210 x 297 mm).

a5
Feed paper from the tray loaded with A5 (148 x 210 mm).

b5
Feed paper from the tray loaded with B5 (182 x 257 mm).

letter
Feed paper from the tray loaded with Letter (8.5 x 11 inches).

folio
Feed paper from the tray loaded with Folio (8.5 x 13 inches).

legal
Feed paper from the tray loaded with Legal (8.5 x 14 inches).

executive
Feed paper from the tray loaded with Executive (7.25 x 10.5 inches).

monarch
Feed paper from the tray loaded with Monarch (3.875 x 7.5 inches).

com10
Feed paper from the tray loaded with Envelope #10 (4.125 x 9.5 inches).

dl
Feed paper from the tray loaded with DL (110 x 220 mm).

c5
Feed paper from the tray loaded with C5 (162 x 229 mm).

MxNmm
Feed paper from the tray loaded with MxNmm defined by users.
Possible range specified:
Width: 90.0 to 215.9 mm
Length: 139.7 to 355.6 mm

MxNin
Feed paper from the tray loaded with MxNinches defined by users.
Possible range specified:
Width: 3.54 to 8.50 inches
Length: 5.50 to 14.0 inches
If this option is not specified or the tray specified tray is not available, feed paper from the default tray.

-y toner_save
Turns on the save toner mode for printing. The print result will be fainter than that of normal printing.

-y nc=n
Specifies the number of output copies (the value of copies must be a positive integer). If this option is not specified, 1 will be selected.

-y ps
The input file will be processed as the PostScript file. If the file does not begin with %!, %! will be output to the beginning line. If a file contains %!, this option will be ignored.

-y msi
Specifies Multipurpose Feeder.

-y m=type
Specifies Multipurpose Feeder Paper Type.

Available Multipurpose Feeder Paper Types are as follows.

B
FinePaper/Bond/Plain Paper 2

BB
FinePaperBack/Bond/Plain Paper 2 - Side 2

P
Stationary/Plain/Plain Paper 1

PB

StationaryBack/Plain/Plain Paper 1 - Side 2

H1
ThickPaper/Heavyweight 1/Covers 1

H1B
ThickPaperBack/Heavyweight 1/Covers 1 - Side 2

H2
ThickPaper2/Heavyweight 2/Covers 2

H2B
ThickPaper2Back/Heavyweight 2/Covers 2 - Side 2

OHP
Transparency

L
LabelPaper/Labels

C1
CoatingPaper1/Coated 1/Coated Paper 1

C1B
CoatingPaper1Back/Coated 1/Coated Paper 1- Side 2

C2
CoatingPaper2/Coated 2/Coated Paper 2

C2B
CoatingPaper2Back/Coated 2/Coated Paper 2 - Side 2

E
Envelope

If this option is not specified, Multipurpose Feeder Paper Type for the printer can be used.

-y mfo=mode

Specifies orientation for Multipurpose Feeder.

Available orientations for Multipurpose Feeder are as follows.

le
Landscape

ler
Landscape (Rotated)

se
Portrait

ser
Portrait (Rotated)

-y po=n

Specifies Alternate Tray.

Available Alternate Trays are as follows.

0
Use Printer Settings

1
Display Message

2
Feed from Multipurpose Feeder

3
Use Nearest Size (Adjust to Fit)

4
Use Larger Size (Adjust to Fit)

5
Use Nearest Size (No Zoom)

6
Use Larger Size (No Zoom)

-y st=mode

Specifies Feed Separators from.

Available Feed Separators from the following.

auto
AutoTray/Auto

1
1stTray/Tray 1 (standard 250-sheet tray module)

2
2ndTray/Tray 2 (optional 250-sheet tray module or 500-sheet tray module)

off
Off

-y sp

Specifies Printed Separators

-y sb

Specifies Skip Blank Pages.

-y cm=mode

Specifies Output Color.

Available Output Colors are as follows.

c
Color (CMYK)

k
Black

-y pr=mode

Specifies Print Mode.

Available Print Modes are as follows.

hs
High Speed

hq
High Quality

-y cc=mode

Specifies RGB Color Correction.

Available RGB Color Corrections are as follows.

0
Off

1
Photo

2
sRGB

3
Standard/ Normal

4
Presentation

This option is available only for color printing.

-y gc=mode

Specifies RGB Gamma Correction.

Available RGB Gamma Corrections are as follows.

1.0
1.0

1.4
1.4

1.8
1.8

2.2
2.2

2.6
2.6

off
Off

-y sc=mode

Specifies Screen.

Available Screens are as follows.

0
Fineness

1
Gradation

2
Auto

3
For Transparency

-y gg=mode

Specifies Gray Guaranteed.

Available Gray Guaranteed modes are as follows.

on
On

off
Off

This option is available only for color printing.

-y ct

Specifies Color Transformation.

This option is available only for color printing.

Printing (HP-UX)

This section provides information on printing from the registered logical printer during the installation.

Printing From HP-UX

To print to the default printer:

If the printer is registered as the default printer, the name of the printer can be shortened and specified as shown in the following example.
% lp filename

To print to other printers:

To print to a printer named dell3100cn, type as follows.
% lp -d dell3100cn filename

To change the default printer temporarily for printing:

To change the default printer, set the printer name in the environment variable PRINTER.
To set a printer named dell3100cn as the default printer for printing, type as follows.
% setenv PRINTER dell3100cn
% lp filename

To print with added options:

To print with the options, specify the option of the lp command using -o as follows.
The available options are the same as txt2ps2/tiff2ps/xwd2ps2.
Depending on installed options, the available paper trays are different.
%lp -d dell3100cn -o r -o ILT filename

To print using file format:

To print text files:
% lp -d dell3100cn filename

To print XWD files:
% lp -d dell3100cn -o XWD filename

To print TIFF format files:
% lp -d dell3100cn -o TIF filename

To print PostScript files:
% lp -d dell3100cn filename

To print PostScript files as text files:
% lp -d dell3100cn -o TX filename

However, for PostScript files with options set up, such as paper selection, etc., when the same option is specified, it will be ignored.

txt2ps2 (Linux/Solaris/HP-UX)

Format

/usr/local/dellbin3100cn/txt2ps2 [-d] [-D] [-Itray-input] [-t] [-2] [-r] [-F] [-llines] [-wcolumns] [-ooutcolumns] [-Loutlines] [-en] [-ssize] [-E] [-ffont] [-Nc=copies] [-ps] [-mg=up:bottom:right:left] [-Hd=position:format:page] [-Hffont] [-MSI] [-M=type] [-Mfo=mode] [-Pon] [-St=mode] [-Sp] [-Sb] [-Cm=mode] [-Pr=mode] [-Cc=mode]
[-Gc=
mode] [-Sc=mode] [-Gg=mode] [-Ct] [filename...]

Function

Reads text, converts it to the PostScript language program, and writes to standard output. If the filename is not specified, the standard input will be taken as the command input.
By typing character strings in the environmental variable TXT2PS2OPTION, the input of option at the command line can be omitted.
At the environmental variable TXT2PS2OPTION and the command line, if no option is specified, the printer will output in 10-point font size in the portrait orientation.
At the environmental variable TXT2PS2OPTION and the command line, if the same option is specified, the one specified at the command line will prevail.
txt2ps2 outputs the PostScript language program that adjusts the line/column according to the paper size. For this reason, the user need not be aware of the paper size. If there is an option to specify the line/column, automatic line feed according to the paper size will not be executed. Printing will be output according to the line/column specified.
txt2ps2 interprets the following control codes. Other control codes/undefined codes will be converted to octal numbers and output as-is.

LF

Line feed

FF

Form feed (modifiable by option)

TAB

8-column tab stop (modifiable by option)

BS

Backspace 1 character

Option

-d

Enables the short-edge binding feature. When it is specified, the printing direction or position will be adjusted and both sides of the paper printed so that the shorter edge of the pages can be bound. This option is available only when optional duplex module is installed on the printer.

-D

Enables the long-edge binding feature. When it is specified, the printing direction or position will be adjusted and both sides of the paper printed so that the longer edge of the pages can be bound. This option is available only when optional duplex module is installed on the printer.

-Itray-input

Specifies the paper tray. A paper tray can be selected by directly specifying a tray or by specifying a paper size.
When a paper size is specified, the tray loaded with paper of the specified size will be found and selected automatically.
The parameters for selecting a paper tray are as follows.

1

Feed paper from tray 1 (standard 250-sheet tray module).

2

Feed paper from tray 2 (optional 250-sheet tray module or 500-sheet tray module).

A4

Feed paper from the tray loaded with A4 (210 x 297 mm).

A5

Feed paper from the tray loaded with A5 (148 x 210 mm).

B5

Feed paper from the tray loaded with B5 (182 x 257 mm).

LT

Feed paper from the tray loaded with Letter (8.5 x 11 inches).

FL

Feed paper from the tray loaded with Folio (8.5 x 13 inches).

LG

Feed paper from the tray loaded with Legal (8.5 x 14 inches).

EX

Feed paper from the tray loaded with Executive (7.25 x 10.5 inches).

MO

Feed paper from the tray loaded with Monarch (3.875 x 7.5 inches).

COM10

Feed paper from the tray loaded with Envelope #10 (4.125 x 9.5 inches).

DL

Feed paper from the tray loaded with DL (110 x 220 mm).

C5

Feed paper from the tray loaded with C5 (162 x 229 mm).

MxNmm

Feed paper from the tray loaded with MxNmm defined by users.
Possible range specified:
Width: 90.0 to 215.9 mm
Length: 139.7 to 355.6 mm

MxNin

Feed paper from the tray loaded with MxNinches defined by users.
Possible range specified:
Width: 3.54 to 8.50 inches
Length: 5.50 to 14.0 inches

If this option is not specified or the tray specified is not available, feed paper from the default tray.

-t

Turns on the save toner mode for printing. The print result will be fainter than that of normal printing. In some cases, this option will be ignored.

-2

Sets printing to 2-column printing.

-r

Rotates the image by 90o and uses the paper in the landscape orientation.

-F

Ignores the form feed code (FF).

-llines

Specifies the number of lines per page.

-wcolumns

Specifies the number of columns per line.

-ooutcolumns

Converts print data to single-byte text and sets printing to start from outcolumns.

-Loutlines

Prints text from the outline columns.

-en

Expands horizontal tabs to n columns (space). The default is 8.

-ssize

Specifies the font size as point size. The default is 10.

-E

This function turns on the image enhancement function. In some cases, this option will be ignored.

-ffont

Sets the font.

NOTE: The available fonts are limited to the font in the printer. For more information, see "Understanding Fonts."

-Nc=copies

Specifies the number of output copies (the value of copies must be a positive integer).

-ps

The input file will be processed as the PostScript file. If the file does not begin with %!, %! will be output to the beginning line. If a file contains %!, it will be processed in the same way as dellpsif.

-mg=up:bottom:right:left

Specifies the margin of a page in inches. The upper margin, bottom margin, right margin, and left margin are positive real numbers (up to two decimal points). The default is 0.

-mg=0:0:0:3

Sets the left margin to 3 inches.

-mg=3:3:0:5

Sets the upper margin to 3 inches; bottom margin, 3 inches; and left margin, 5 inches. If the margin is 0, it can be omitted.

-mg=:::3

Sets the left margin to 3 inches.

-Hd=position:format:page

Specifies the position that the user information of the header or footer is output at.
position specifies output position. But this option is available only for converting text files.

ul

Output on the upper left corner of the paper.

ur

Output on the upper right corner of the paper.

dl

Output on the lower left corner of the paper.

dr

Output on the lower right corner of the paper.

format specifies the contents and the order to output. This option is omissible.
If this option is omitted, uh is specified as the default value.

u

User name

h

Host name

t

Date and time

If the output contents are specified as tuh, it is output as follows.
Date and Time User: username Host: hostname

page specifies the page to output. This option is omissible.

f

Output the top page only.

(default in case of PostScriptfiles conversion)

a

Output all pages.

(default in case of Text files conversion)

Specify these options as follows.
In the case that convert text file, output the host name following the user name on the upper right corner of the paper, output all pages.
(User name, Host name, all page output are default)

-Hd=ur
-Hd=ur:uh
-Hd=ur:uh:a

In the case that convert PostScript file, output the host name following the date and time on the lower left corner of the paper, output all pages (a option value is necessary because output the top page only is default when PostScript file is converted.)

-Hd=dl:th:a

NOTICE: If the paper size is not specified, it outputs the header and footer at the position of A4 size by default. If the paper size is specified by lp command, the output position of the header or footer is not changed from the position of the paper size specified by txt2ps2. Specify the paper size at the same time when the header and footer option is used. Sometimes all pages are not printed despite specifying all page output when PostScript file conversion is specified. In such cases, specify output the top page only. By using TZ environmental variable, specify time zone (GMT etc.).

-Hffont

Specify the font to print the header and footer. European fonts the same as half size alphanumeric fonts can be specified. Helvetica is specified as default. If the wrong font is specified, the default European font of the printer can be used. If the header/footer output option is specified, the font specification for the header/footer is ignored.

-MSI

Specifies Multipurpose Feeder.

-M=type

Specifies Multipurpose Feeder Paper Type.
Available Multipurpose Feeder Paper Types are as follows.

B

FinePaper/Bond/Plain Paper 2

BB

FinePaperBack/Bond/Plain Paper 2- Side 2

P

Stationary/Plain/Plain Paper 1

PB

StationaryBack/Plain/Plain Paper 1 - Side 2

H1

ThickPaper/Heavyweight 1/Covers 1

H1B

ThickPaperBack/Heavyweight 1/Covers 1 - Side 2

H2

ThickPaper2/Heavyweight 2/Covers 2

H2B

ThickPaper2Back/Heavyweight 2/Covers 2 - Side 2

OHP

Transparency

L

LabelPaper/Labels

C1

CoatingPaper1/Coated 1/Coated Paper 1

C1B

CoatingPaper1Back/Coated 1/Coated Paper 1 - Side 2

C2

CoatingPaper2/Coated 2/Coated Paper 2

C2B

CoatingPaper2Back/Coated 2/Coated Paper 2 - Side 2

E

Envelope

If this option is not specified, Multipurpose Feeder Paper Type of the printer can be used.

-Mfo=mode

Specifies orientation for Multipurpose Feeder.
Available orientations for Multipurpose Feeder are as follows.

le

Landscape

ler

Landscape (Rotated)

se

Portrait

ser

Portrait (Rotated)

-Pon

Specifies Alternate Tray.
Available Alternate Trays are as follows.

0

Use Printer Settings

1

Display Message

2

Feed from Multipurpose Feeder

3

Use Nearest Size (Adjust to Fit)

4

Use Larger Size (Adjust to Fit)

5

Use Nearest Size (No Zoom)

6

Use Larger Size (No Zoom)

-St=mode

Specifies Feed Separators from.
Available Feed Separators froms are as follows.

auto

AutoTray/Auto

1

1stTray/Tray 1 (standard 250-sheet tray module)

2

2ndTray/Tray 2 (optional 250-sheet tray module or 500-sheet tray module)

off

Off

-Sp

Specifies Printed Separators

-Sb

Specifies Skip Blank Pages.

-Cm=mode

Specifies Output Color.
Available Output Colors are as follows.

c

Color (CMYK)

k

Black

-Pr=mode

Specifies Print Mode.
Available Print Modes are as follows.

hs

High Speed

hq

High Quality

-Cc=mode

Specifies RGB Color Correction.
Available RGB Color Corrections are as follows.

0

Off

1

Photo

2

sRGB

3

Standard/ Normal

4

Presentation

This option is available only for color printing.

-Gc=mode

Specifies RGB Gamma Correction.
Available RGB Gamma Corrections are as follows.

1.0

1.0

1.4

1.4

1.8

1.8

2.2

2.2

2.6

2.6

off

Off

-Sc=mode

Specifies Screen.
Available Screens are as follows.

0

Fineness

1

Gradation

2

Auto

3

For Transparency

-Gg=mode

Specifies Gray Guaranteed.
Available Gray Guaranteed options are as follows.

on

On

off

Off

This option is available only for color printing.

-Ct

Specifies Color Transformation.
This option is available only for color printing.

Example

To convert the program list of the file.txt file into the PostScript language program that sets the paper to the landscape orientation and prints in the 2-column mode, type as follows:
% txt2ps2 -r -2 file.txt | lpr (for Linux)
% txt2ps2 -r -2 file.txt | lp (for Solaris/HP-UX)

To convert file.txt to the PostScript language program and output it to the file.ps file, type as follows:
% txt2ps2 file.txt > file.ps
% lpr file.ps
(for Linux)
% lp file.ps (for Solaris/HP-UX)

To convert the output result of the command into the PostScript language program using txt2ps2 and print it to the printer, type as follows:
% ls -alF | txt2ps2 | lpr (for Linux)
% ls -alF | txt2ps2 | lp (for Solaris/HP-UX)

Environmental Variable

TXT2PS2OPTION

Optional settings based on the environmental variable. To output in the 2-column mode, 8 points and the landscape orientation, type as follows:
% setenv TXT2PS2OPTION "-2 -s8 -r"

To use the same options as those of the dellpsif filter specified by printcap, type as follows:
% setenv TXT2PS2OPTION "<dellpsif>"

File

/usr/local/dellbin3100cn/.dellpsdefault3100cn
This is the default command option setting file for individual users.

Important

sunras2ps2 (Solaris)

Format

/usr/local/dellbin3100cn/sunras2ps2 [-d] [-D] [-Itray-input] [-t] [-r] [-n] [-l=left,bottom] [-s=width,height] [-S=width] [-E] [-Nc=copies] [-Hd=position: format] [-Hffont] [-MSI] [-M=type] [-Mfo=mode] [-Pon] [-St=mode] [-Sp] [-Sb] [-Cm=mode] [-Pr=mode] [-Cc=mode] [-Gc=mode] [-Sc=mode] [-Gg=mode] [-Ct] [filename...]

Function

Reads SunRaster data, converts it to the PostScript language program and writes to standard output. If the filename is not specified, the standard input will be taken as the command input. SunRaster files with a pixel depth of 1, 8, 24, and 32 bits can be specified.
sunran2ps2 takes filename as having been created in 72dpi and calculates the output size. Thus, to convert SunRaster files created in other resolutions, specify the size option (-s, -S) explicitly.

Option

-d

Enables the short-edge binding feature. When it is specified, the printing direction or position will be adjusted and both sides of the paper printed so that the shorter edge of the pages can be bound. This option is available only when the optional duplex module is installed on the printer.

-D

Enables the long-edge binding feature. When it is specified, the printing direction or position will be adjusted and both sides of the paper printed so that the longer edge of the pages can be bound. This option is available only when the optional duplex module is installed on the printer.

-Itray-input

Specifies the paper tray.
A paper tray can be selected by directly specifying a tray or by specifying a paper size.
When a paper size is specified, the tray loaded with paper of the specified size will be found and selected automatically.
The parameters for selecting a paper tray are as follows.

1

Feed paper from tray 1 (standard 250-sheet tray module).

2

Feed paper from tray 2 (optional 250-sheet tray module or 500-sheet tray module).

A4

Feed paper from the tray loaded with A4 (210 x 297 mm).

A5

Feed paper from the tray loaded with A5 (148 x 210 mm).

A6

Feed paper from the tray loaded with A6 (105 x 148 mm).

B5

Feed paper from the tray loaded with B5 (182 x 257 mm).

LT

Feed paper from the tray loaded with Letter (8.5 × 11 inches).

FL

Feed paper from the tray loaded with Folio (8.5 × 13 inches).

LG

Feed paper from the tray loaded with Legal (8.5 × 14 inches).

EX

Feed paper from the tray loaded with Executive (7.25 × 10.5 inches).

MO

Feed paper from the tray loaded with Monarch (3.875 × 7.5 inches).

COM10

Feed paper from the tray loaded with Envelope #10 (4.125 × 9.5 inches).

DL

Feed paper from the tray loaded with DL (110 x 220 mm).

C5

Feed paper from the tray loaded with C5 (162 x 229 mm).

LP 210x900

Feed paper from the tray loaded with LP210x900 (210 x 900 mm).

MxNmm

Feed paper from the tray loaded with MxNmm defined by users.

Possible range specified:
Width: 90.0 to 215.9 mm
Length: 139.7 to 355.6 mm

MxNin

Feed paper from the tray loaded with MxN inches defined by users.

Possible range specified:
Width: 3.54 to 8.50 inches
Length: 5.50 to 14.0 inches

If this option is not specified or the tray specified is not available, feed paper from the default tray.

-t

Turns on the save toner mode for printing. The print result will be fainter than that of normal printing. In some cases, this option will be ignored.

-r

Rotates the image by 90o and uses the paper in the landscape orientation.

-n

Disables the addition of the showpage. It is used when files converted to the PostScript language program are merged with files created with other applications.

-l=left,bottom

Specifies the print position. Printing will be executed from the left and bottom of the page. The default is 0.25 inches for both left and bottom.

-s=width,height

Specifies the output size. Printing will be executed with the width and height in inches.

-S=width

Sets the width of the output size in inches. The height will be calculated automatically according to the width.

-E

This function turns on the image enhancement function. In some cases, this option will be ignored.

-Nc=copies

Specifies the number of output copies (the value of copies must be a positive integer).

-Hd=position:format

Specifies the position to be output the user information as the header or footer.
position specifies output position. But this option is available only for converting text files.

ul

Output on the upper left corner of the paper.

ur

Output on the upper right corner of the paper.

dl

Output on the lower left corner of the paper.

dr

Output on the lower right corner of the paper.

format specifies the contents and the order to output. This option is omissible.
If this option is omitted, uh is specified as the default value.

u

User name

h

Host name

t

Date and time
If the output contents are specified as tuh, it is output as follows.
Date and Time User: username Host: hostname.

Specify these options as follows.
In the case that convert text file, output the host name following the user name on the upper right corner of the paper, output all pages.
(User name, Host name, all page output are default)

-Hd=ur
-Hd=ur:uh

-Hffont

Specify the font to print the header and footer. European fonts the same as half size alphanumeric fonts can be specified. Helvetica is specified as default.
If the wrong font is specified, default European font of the printer can be used.
If header/footer output option is specified, the font specification of header/footer is ignored.

-MSI

Specifies Multipurpose Feeder.

-M=type

Specifies Multipurpose Feeder Paper Type.
Available Multipurpose Feeder Paper Types are as follows.

B

FinePaper/Bond/Plain Paper 2

BB

FinePaperBack/Bond/Plain Paper 2 - Side 2

P

Stationary/Plain/Plain Paper 1

PB

StationaryBack/Plain/Plain Paper 1 - Side 2

H1

ThickPaper/Heavyweight 1/Covers 1

H1B

ThickPaperBack/Heavyweight 1/Covers 1 - Side 2

H2

ThickPaper2/Heavyweight 2/Covers 2

H2B

ThickPaper2Back/Heavyweight 2/Covers 2 - Side 2

OHP

Transparency

L

LabelPaper/Labels

C1

CoatingPaper1/Coated 1/Coated Paper 1

C1B

CoatingPaper1Back/Coated 1/Coated Paper 1 - Side 2

C2

CoatingPaper2/Coated 2/Coated Paper 2

C2B

CoatingPaper2Back/Coated 2/Coated Paper 2 - Side 2

E

Envelope

If this option is not specified, Multipurpose Feeder Paper Type of the printer can be used.

-Mfo=mode

Specifies orientation for Multipurpose Feeder.
Available orientations for Multipurpose Feeder are as follows.

le

Landscape

ler

Landscape (Rotated)

se

Portrait

ser

Portrait (Rotated)

-Pon

Specifies Alternate Tray.
Available Alternate Trays are as follows.

0

Use Printer Settings

1

Display Message

2

Feed from Multipurpose Feeder

3

Use Nearest Size (Adjust to Fit)

4

Use Larger Size (Adjust to Fit)

5

Use Nearest Size (No Zoom)

6

Use Larger Size (No Zoom)

-St=mode

Specifies Feed Separators from.
Available Feed Separators from the following.

auto

AutoTray/Auto

1

1stTray/Tray 1 (standard 250-sheet tray module)

2

2ndTray/Tray 2 (optional 250-sheet tray module or 500-sheet tray module)

off

Off

-Sp

Specifies Printed Separators

-Sb

Specifies Skip Blank Pages.

-Cm=mode

Specifies Output Color.
Available Output Colors are as follows.

c

Color (CMYK)

k

Black

-Pr=mode

Specifies Print Mode.
Available Print Modes are as follows.

hs

High Speed

hq

High Quality

-Cc=mode

Specifies RGB Color Correction.
Available RGB Color Corrections are as follows.

0

Off

1

Photo

2

sRGB

3

Standard/ Normal

4

Presentation

This option is available only for color printing.

-Gc=mode

Specifies RGB Gamma Correction.
Available RGB Gamma Corrections are as follows.

1.0

1.0

1.4

1.4

1.8

1.8

2.2

2.2

2.6

2.6

off

Off

-Sc=mode

Specifies Screen.
Available Screens are as follows.

0

Fineness

1

Gradation

2

Auto

3

For Transparency

-Gg=mode

Specifies Gray Guaranteed.
Available Gray Guaranteed options are as follows.

on

On

off

Off

This option is available only for color printing.

-Ct

Specifies Color Transformation.

This option is available only for color printing.

Example

To output the displayed screen image to a file using the snapshot command and convert the file into the PostScript language program using the sunras2ps2 command, type as follows.
% sunras2ps2 file.rs > file.ps

To output the displayed screen image to a file using the snapshot command, convert the file into the PostScript language program using the sunras2ps2 command and output it to a printer, type as follows.
% sunras2ps2 file.rs | lp

Important

tiff2ps2 (Linux/Solaris/HP-UX)

Format

/usr/local/dellbin3100cn/tiff2ps2 [-d] [-D] [-Itray-input] [-t] [-r] [-n] [-l=left,bottom] [-s=width,height] [-S=width] [-E] [-Nc=copies] [-Hd=position:format] [-Hffont] [-MSI] [-M=type] [-Mfo=mode] [-Pon] [-St=mode] [-Sp] [-Sb] [-Cm=mode] [-Pr=mode] [-Cc=mode] [-Gc=mode] [-Sc=mode] [-Gg=mode] [-Ct] [filename...]

Function

Reads TIFF data, converts it to the PostScript language program and writes to standard output. If the filename is not specified, the standard input will be taken as the command input. TIFF files with a pixel depth of 1, 4, 8, 24, and 32 bits can be specified.
There are four types of supported compression formats.
Huffman compression (CCITT Group 3 transformed Huffman run length encoding)
Fax-CCITT3 compression (facsimile-compatible CCITT Group 3)
PackBits compression
Non-compression
Even in the above compression format, the TIFF file that has multiple images in one file is not supported.
tiff2ps2 takes filename as having been created in 72 dpi and calculates the output size. Thus, to convert TIFF files created in other resolutions, specify the size option (-s, -S) explicitly for conversion.

Option

-d

Enables the short-edge binding feature. When it is specified, the printing direction or position will be adjusted and both sides of the paper printed so that the shorter edge of the pages can be bound. This option is available only when the optional duplex module is installed on the printer.

-D

Enables the long-edge binding feature. When it is specified, the printing direction or position will be adjusted and both sides of the paper printed so that the longer edge of the pages can be bound. This option is available only when the optional duplex module is installed on the printer.

-Itray-input

Specifies the paper tray.
A paper tray can be selected by directly specifying a tray or by specifying a paper size.
When a paper size is specified, the tray loaded with paper of the specified size will be found and selected automatically.
The parameters for selecting a paper tray are as follows.

1

Feed paper from tray 1 (standard 250-sheet tray module).

2

Feed paper from tray 2 (optional 250-sheet tray module or 500-sheet tray module).

A4

Feed paper from the tray loaded with A4 (210 x 297 mm).

A5

Feed paper from the tray loaded with A5 (148 x 210 mm).

A6

Feed paper from the tray loaded with A6 (105 x 148 mm).

B5

Feed paper from the tray loaded with B5 (182 x 257 mm).

LT

Feed paper from the tray loaded with Letter (8.5 × 11 inches).

FL

Feed paper from the tray loaded with Folio (8.5 × 13 inches).

LG

Feed paper from the tray loaded with Legal (8.5 × 14 inches).

EX

Feed paper from the tray loaded with Executive (7.25 × 10.5 inches).

MO

Feed paper from the tray loaded with Monarch (3.875 × 7.5 inches).

COM10

Feed paper from the tray loaded with Envelope #10 (4.125 × 9.5 inches).

DL

Feed paper from the tray loaded with DL (110 x 220 mm).

C5

Feed paper from the tray loaded with C5 (162 x 229 mm).

LP 210x900

Feed paper from the tray loaded with LP210x900 (210 x 900 mm).

MxNmm

Feed paper from the tray loaded with MxNmm defined by users
Possible range specified:
Width: 90.0 to 215.9 mm
Length: 139.7 to 355.6 mm

MxNin

Feed paper from the tray loaded with MxNinches defined by users
Possible range specified:
Width: 3.54 to 8.50 inches
Length: 5.50 to 14.0 inches

If this option is not specified or the tray specified is not available, feed paper from the default tray.

-t

Turns on the save toner mode for printing. The print result will be fainter than that of normal printing. In some cases, this option will be ignored.

-r

Rotates the image by 90o and uses the paper in the landscape orientation.

-n

Disables the addition of the showpage. It is used when files converted to the PostScript language program are merged with files created with other applications.

-l=left,bottom

Specifies the print position. Printing will be executed from the left and bottom of the page. The default is 0.25 inches for both left and bottom.

-s=width,height

Specifies the output size. Printing will be executed with the width and height in inches.

-S=width

Sets the width of the output size in inches. The height will be calculated automatically according to the width.

-E

This function turns on the image enhancement function. In some cases, this option will be ignored.

-Nc=copies

Specifies the number of output copies (the value of copies must be a positive integer).

-Hd=position:format

Specifies the position to be output the user information as the header or footer.
position specifies output position. But this option is available only for converting text files.

ul

Output on the upper left corner of the paper.

ur

Output on the upper right corner of the paper.

dl

Output on the lower left corner of the paper.

dr

Output on the lower right corner of the paper.

format specifies the contents and the order to output. This option is omissible.
If this option is omitted, uh is specified as the default value.

u

User name

h

Host name

t

Date and time
If the output contents are specified as tuh, it is output as follows.
Date and Time User: username Host: hostname.

Specify these options as follows.
In the case that convert text file, output the host name following the user name on the upper right corner of the paper, output all pages.
(User name, Host name, all page output are default)

-Hd=ur
-Hd=ur:uh

-Hffont

Specify the font to print header and footer. European fonts the same as half size alphanumeric fonts can be specified. Helvetica is specified as default.
If the wrong font is specified, default European font of the printer can be used.
If header/footer output option is specified, the font specification of header/footer is ignored.

-MSI

Specifies Multipurpose Feeder.

-M=type

Specifies Multipurpose Feeder Paper Type.
Available Multipurpose Feeder Paper Types are as follows.

B

FinePaper/Bond/Plain Paper 2

BB

FinePaperBack/Bond/Plain Paper 2 - Side 2

P

Stationary/Plain/Plain Paper 1

PB

StationaryBack/Plain/Plain Paper 1 - Side 2

H1

ThickPaper/Heavyweight 1/Covers 1

H1B

ThickPaperBack/Heavyweight 1/Covers 1 - Side 2

H2

ThickPaper2/Heavyweight 2/Covers 2

H2B

ThickPaper2Back/Heavyweight 2/Covers 2 - Side 2

OHP

Transparency

L

LabelPaper/Labels

C1

CoatingPaper1/Coated 1/Coated Paper 1

C1B

CoatingPaper1Back/Coated 1/Coated Paper 1 - Side 2

C2

CoatingPaper2/Coated 2/Coated Paper 2

C2B

CoatingPaper2Back/Coated 2/Coated Paper 2 - Side 2

E

Envelope

If this option is not specified, Multipurpose Feeder Paper Type of the printer can be used.

-Mfo=mode

Specifies orientation for Multipurpose Feeder.
Available orientations for Multipurpose Feeder are as follows.

le

Landscape

ler

Landscape (Rotated)

se

Portrait

ser

Portrait (Rotated)

-Pon

Specifies Alternate Tray.
Available Alternate Trays are follows.

0

Use Printer Settings

1

Display Message

2

Feed from Multipurpose Feeder

3

Use Nearest Size (Adjust to Fit)

4

Use Larger Size (Adjust to Fit)

5

Use Nearest Size (No Zoom)

6

Use Larger Size (No Zoom)

-St=mode

Specifies Feed Separators from.
Available Feed Separators from the following.

auto

AutoTray/Auto

1

1stTray/Tray 1 (standard 250-sheet tray module)

2

2ndTray/Tray 2 (optional 250-sheet tray module or 500-sheet tray module)

off

Off

-Sp

Specifies Printed Separators

-Sb

Specifies Skip Blank Pages.

-Cm=mode

Specifies Output Color.
Available Output Colors are as follows.

c

Color (CMYK)

k

Black

-Pr=mode

Specifies Print Mode.
Available Print Modes are as follows.

hs

High Speed

hq

High Quality

-Cc=mode

Specifies RGB Color Correction.
Available RGB Color Corrections are as follows.

0

Off

1

Photo

2

sRGB

3

Standard/ Normal

4

Presentation

This option is available only for color printing.

-Gc=mode

Specifies RGB Gamma Correction.
Available RGB Gamma Corrections are as follows.

1.0

1.0

1.4

1.4

1.8

1.8

2.2

2.2

2.6

2.6

off

Off

-Sc=mode

Specifies Screen.
Available Screens are as follows.

0

Fineness

1

Gradation

2

Auto

3

For Transparency

-Gg=mode

Specifies Gray Guaranteed.
Available Gray Guaranteed options are as follows.

on

On

off

Off

This option is available only for color printing.

-Ct

Specifies Color Transformation.
This option is available only for color printing.

Example

To convert the TIFF image into the PostScript language program and output it to a file, type as follows.
% tiff2ps2 file.tiff > file1.ps

To output the TIFF image to a printer, type as follows.
% tiff2ps2 file.tiff | lpr (for Linux)
% tiff2ps2 file.tiff | lp (for Solaris/HP-UX)

Important

xwd2ps2 (Linux/Solaris/HP-UX)

Format

/usr/local/dellbin3100cn/xwd2ps2 [-d] [-D] [-Itray-input] [-t] [-r] [-n] [-l=left,bottom] [-s=width,height] [-S=width] [-E] [-Nc=copies] [-Hd=position:format] [-Hffont] [-MSI] [-M=type] [-Mfo=mode] [-Pon] [-St=mode] [-Sp] [-Sb] [-Cm=mode] [-Pr=mode] [-Cc=mode] [-Gc=mode] [-Sc=mode] [-Gg=mode] [-Ct] [filename...]

Function

Reads XWD data, converts it to the PostScript language program and writes to standard output. If the filename is not specified, the standard input will be taken as the command input. XWD files with a pixel depth of 1, 4, 8, 24, and 32 bits can be specified.
There are three types of supported compression formats.
The visual class is Static Gray and the pixel is 1 bit.
The visual class is Pseudo Color and the pixel is 4 bits or 8 bit. The image format is Zpixmap.
The visual class is True Color and the pixel is 24 bits or 32 bit. The image format is Zpixmap.
xwd2ps2 takes filename as having been created in 72dpi and calculates the output size. Thus, to convert XWD files created in other resolutions, specify the size option (-s, -S) explicitly for conversion.

Option

-d

Enables the short-edge binding feature. When it is specified, the printing direction or position will be adjusted and both sides of the paper printed so that the shorter edge of the pages can be bound. This option is available only when the optional duplex module is installed on the printer.

-D

Enables the long-edge binding feature. When it is specified, the printing direction or position will be adjusted and both sides of the paper printed so that the longer edge of the pages can be bound. This option is available only when the optional duplex module is installed on the printer.

-Itray-input

Specifies the paper tray.
A paper tray can be selected by directly specifying a tray or by specifying a paper size.
When a paper size is specified, the tray loaded with paper of the specified size will be found and selected automatically.
The parameters for selecting a paper tray are as follows.

1

Feed paper from tray 1 (standard 250-sheet tray module).

2

Feed paper from tray 2 (optional 250-sheet tray module or 500-sheet tray module).

A4

Feed paper from the tray loaded with A4 (210 x 297 mm).

A5

Feed paper from the tray loaded with A5 (148 x 210 mm).

A6

Feed paper from the tray loaded with A6 (105 x 148 mm).

B5

Feed paper from the tray loaded with B5 (182 x 257 mm).

LT

Feed paper from the tray loaded with Letter (8.5 × 11 inches).

FL

Feed paper from the tray loaded with Folio (8.5 × 13 inches).

LG

Feed paper from the tray loaded with Legal (8.5 × 14 inches).

EX

Feed paper from the tray loaded with Executive (7.25 × 10.5 inches).

MO

Feed paper from the tray loaded with Monarch (3.875 × 7.5 inches).

COM10

Feed paper from the tray loaded with Envelope #10 (4.125 × 9.5 inches).

DL

Feed paper from the tray loaded with DL (110 x 220 mm).

C5

Feed paper from the tray loaded with C5 (162 x 229 mm).

LP 210x900

Feed paper from the tray loaded with LP210x900 (210 x 900 mm).

MxNmm

Feed paper from the tray loaded with MxN mm defined by users.
Possible range specified:
Width: 90.0 to 215.9 mm
Length: 139.7 to 355.6 mm

MxNin

Feed paper from the tray loaded with MxNinches defined by users
Possible range specified:
Width: 3.54 to 8.50 inches
Length: 5.50 to 14.0 inches

If this option is not specified or the tray specified is not available, feed paper from the default tray.

-t

Turns on the save toner mode for printing. The print result will be fainter than that of normal printing. In some cases, this option will be ignored.

-r

Rotates the image by 90o and uses the paper in the landscape orientation

-n

Disables the addition of the showpage. It is used when files converted to the PostScript language program are merged with files created with other applications.

-l=left,bottom

Specifies the print position. Printing will be executed from the left and bottom of the page. The default is 0.25 inches for both left and bottom.

-s=width,height

Specifies the output size. Printing will be executed with the width and height in inches.

-S=width

Sets the width of the output size in inches. The height will be calculated automatically according to the width.

-E

This function turns on the image enhancement function. In some cases, this option will be ignored.

-Nc=copies

Specifies the number of output copies (the value of copies must be a positive integer).

-Hd=position:format

Specifies the position to be output the user information as the header or footer.
position specifies output position. But this option is available only for converting text files.

ul

Output on the upper left corner of the paper.

ur

Output on the upper right corner of the paper.

dl

Output on the lower left corner of the paper.

dr

Output on the lower right corner of the paper.

format specifies the contents and the order to output. This option is omissible.
If this option is omitted, uh is specified as the default value.

u

User name

h

Host name

t

Date and time
If the output contents are specified as tuh, it is output as follows.
Date and Time User: username Host: hostname.

-Hffont

Specify the font to print header and footer. European fonts the same as half size alphanumeric fonts can be specified. Helvetica is specified as default.
If the wrong font is specified, default European font of the printer can be used.
If header/footer output option is specified, the font specification of header/footer is ignored.

-MSI

Specifies Multipurpose Feeder.

-M=type

Specifies Multipurpose Feeder Paper Type.
Available Multipurpose Feeder Paper Types are as follows.

B

FinePaper/Bond/Plain Paper 2

BB

FinePaperBack/Bond/Plain Paper 2 - Side 2

P

Stationary/Plain/Plain Paper 1

PB

StationaryBack/Plain/Plain Paper 1 - Side 2

H1

ThickPaper/Heavyweight 1/Covers 1

H1B

ThickPaperBack/Heavyweight 1/Covers 1 - Side 2

H2

ThickPaper2/Heavyweight 2/Covers 2

H2B

ThickPaper2Back/Heavyweight 2/Covers 2 - Side 2

OHP

Transparency

L

LabelPaper/Labels

C1

CoatingPaper1/Coated 1/Coated Paper 1

C1B

CoatingPaper1Back/Coated 1/Coated Paper 1 - Side 2

C2

CoatingPaper2/Coated 2/Coated Paper 2

C2B

CoatingPaper2Back/Coated 2/Coated Paper 2 - Side 2

E

Envelope

If this option is not specified, Multipurpose Feeder Paper Type of the printer can be used.

-Mfo=mode

Specifies orientation for Multipurpose Feeder.
Available orientations for Multipurpose Feeder are as follows.

le

Landscape

ler

Landscape (Rotated)

se

Portrait

ser

Portrait (Rotated)

-Pon

Specifies Alternate Tray.
Available Alternate Trays are as follows.

0

Use Printer Settings

1

Display Message

2

Feed from Multipurpose Feeder

3

Use Nearest Size (Adjust to Fit)

4

Use Larger Size (Adjust to Fit)

5

Use Nearest Size (No Zoom)

6

Use Larger Size (No Zoom)

-St=mode

Specifies Feed Separators from.
Available Feed Separators from the following.

auto

AutoTray/Auto

1

1stTray/Tray 1 (standard 250-sheet tray module)

2

2ndTray/Tray 2 (optional 250-sheet tray module or 500-sheet tray module)

off

Off

-Sp

Specifies Printed Separators

-Sb

Specifies Skip Blank Pages.

-Cm=mode

Specifies Output Color.
Available Output Colors are as follows.

c

Color (CMYK)

k

Black

-Pr=mode

Specifies Print Mode.
Available Print Modes are as follows.

hs

High Speed

hq

High Quality

-Cc=mode

Specifies RGB Color Correction.
Available RGB Color Corrections are as follows.

0

Off

1

Photo

2

sRGB

3

Standard/ Normal

4

Presentation

This option is available only for color printing.

-Gc=mode

Specifies RGB Gamma Correction.
Available RGB Gamma Corrections are as follows.

1.0

1.0

1.4

1.4

1.8

1.8

2.2

2.2

2.6

2.6

off

Off

-Sc=mode

Specifies Screen.
Available Screens are as follows.

0

Fineness

1

Gradation

2

Auto

3

For Transparency

-Gg=mode

Specifies Gray Guaranteed.
Available Gray Guaranteed options are as follows.

on

On

off

Off

This option is available only for color printing.

-Ct

Specifies Color Transformation.
This option is available only for color printing.

Example

To convert the XWD image into the PostScript language program and output it to a file, type as follows.
% xwd2ps2 file.xwd > file.ps

To output the XWD image to a printer, type as follows.
% xwd2ps2 file.xwd | lpr (for Linux)
% xwd2ps2 file.xwd | lp (for Solaris/HP-UX)

Important

dellpsif (Linux)

Format

/usr/local/dellbin3100cn/dellpsif -w width -l length -i indent -n login -h host accountfile

Function

If the first two characters of the input data are not %!, the dellpsif filter will convert it to the PostScript language program that can be output according to the paper size. If the first two characters of the input data are %!, it will be considered the PostScript language program and no data conversion will be executed. The following control codes are interpreted for the conversion of input data.

LF

Line feed

FF

Form feed

TAB

8-column tab stop

BS

Backspace 1 character

The dellpsif is the hard link file of txt2ps2.
The dellpsif filter will be used as the IF filter specified by /etc/printcap.
The lpd daemon will specify the following command options and start up the dellpsif filter.

dellpsif -w width -l length -i indent -n login -h host accountfile

In addition, options useable by txt2ps2 can be specified by the /usr/local/dellbin3100cn/.dellpsdefault3100cn file. With this option, detailed control can be achieved. However, if the input data are PostScript files, only the following options of txt2ps2 will become valid.

-d

Enables the short-edge binding feature. When it is specified, the printing direction or position will be adjusted and both sides of the paper printed so that the shorter edge of the pages can be bound. This option is available only when the optional duplex module is installed on the printer.

-D

Enables the long-edge binding feature. When it is specified, the printing direction or position will be adjusted and both sides of the paper printed so that the longer edge of the pages can be bound. This option is available only when the optional duplex module is installed on the printer.

-Itray-input

Specifies the paper tray.
The parameters to be able to specify are the same as txt2ps2.

-t

Turns on the save toner mode for printing. The print result will be fainter than that of normal printing. In some cases, this option will be ignored.

-E

This function turns on the image enhancement function. In some cases, this option will be ignored.

-Nc=copies

Specifies the number of output copies (the value of copies must be a positive integer).

-ps

The input file will be processed as the PostScript file. If the file does not begin with %!, %! will be output to the beginning line. For files with %!, this option will be ignored.

-M=type

Specifies Multipurpose Feeder Paper Type.
If this option is not specified, Multipurpose Feeder Paper Type of the printer can be used.

-Mfo=mode

Specifies orientation for Multipurpose Feeder.

-Pon

Specifies Alternate Tray.

-St=mode

Specifies Feed Separators from.

-Sp

Specifies Printed Separators

-Sb

Specifies Skip Blank Pages.

-Cm=mode

Specifies Output Color.

-Pr=mode

Specifies Print Mode.

-Cc=mode

Specifies RGB Color Correction.
This option is available only for color printing.

-Gc=mode

Specifies RGB Gamma Correction.

-Sc=mode

Specifies Screen.

-Gg=mode

Specifies Gray Guaranteed.
This option is available only for color printing.

-Ct

Specifies Color Transformation.
This option is available only for color printing.

File

/usr/local/dellbin3100cn/.dellpsdefault3100cn
This is the default command option setting.

Important


Precautions and Limitations

During Installation

Pay attention to the following points during the installation.

Solaris

# lpadmin -d Printer Name

HP-UX

Linux

During Printing

Pay attention to the following points during printing.

Using lp/lpr Command (Linux/Solaris/HP-UX)

Using txt2ps2 (Linux/Solaris/HP-UX)

Using sunras2ps2/tiff2ps2/xwd2ps2 (sunras2ps2 apply to Solaris only)

Using tiff2ps2 (Linux/Solaris/HP-UX)

Even if the format is a supported format, the tiff that has multiple images in one file is not supported.

Using xwd2ps2 (Linux/Solaris/ HP-UX)

Using dellpsif (Linux)

Printing PostScript Files (Linux/Solaris/ HP-UX)

Printing Image Files (Solaris)

% xwd2ps2 file.xwd | lp

Double-sided Printing (Linux/Solaris/HP-UX)

Header/footer Option (-Hd=position:format:page, -Hfheaderfont) (txt2ps2,sunras2ps2,tiff2ps2,xwd2ps2)

Upper margin: 0.23 inch
Lower margin: 0.06 inch
Right margin: 0.03 inch
Left margin: 0.09 inch

In case of images

Lower margin: 0.3 inch

TBCPFilter (Solaris/Linux/HP-UX)

As for libtiff

Copyright ©1988-1997 Sam Leffler

Copyright © 1991-1997 Silicon Graphics, Inc.

THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAGHICS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.