Dell 3100cn Color Laser Printer User's Guide - Page 102

txt2ps2 Linux/Solaris/HP-UX

Page 102 highlights

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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219

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.
To print to other printers:
To print to a printer named
dell3100cn
, type as follows.
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.
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.
To print using file format:
To print text files:
To print XWD files:
To print TIFF format files:
To print PostScript files:
To print PostScript files as text files:
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] [-I
tray-input]
[-t] [-2] [-r] [-F] [-l
lines
]
[-w
columns
]
[-
ooutcolumns
]
[-L
outlines
]
[-e
n
]
[-s
size
]
[-
E] [-f
font]
[-Nc=
copies
]
[-ps] [-mg=
up:bottom:right:left
]
[-Hd=
position:format:page
]
[-Hf
font
]
[-MSI] [-M=
type
]
[-Mfo=
mode
]
[-Po
n
]
[-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
% lp
filename
% lp -d dell3100cn
filename
% setenv PRINTER dell3100cn
% lp
filename
%lp -d dell3100cn -o r -o ILT
filename
% lp -d dell3100cn
filename
% lp -d dell3100cn -o XWD
filename
% lp -d dell3100cn -o TIF
filename
% lp -d dell3100cn
filename
% lp -d dell3100cn -o TX
filename