D-Link DPR-2000 Manual - Page 121

Unix/Linux Printing, Printing Text Files From Unix

Page 121 highlights

Setting up Printing in Mac OS X Tiger (10.4.9) Unix/Linux Printing Printing Text Files From Unix Text files on Unix systems contain lines that end with "newline" characters, as opposed to MS-DOS and Windows-related operating systems that end with a carriage return followed by a linefeed. Most printers require a carriage return/linefeed pair at the end of each line, making it necessary for some translation to be done before Unix text files can be printed on most printers. For this purpose, you can define two "printers" for the same printer port, one that prints to the port itself, and one that prints to the port name with _TEXT added to the name. Files printed to the second port will be translated so that the printer has the carriage return/linefeed pairs that it needs. For example, you could define a printer hp5l that prints to port PS-142634-P1, and a printer hp5lt that prints to port PS-142634-P1_TEXT. Your graphics files could then be printed to the hp5l printer, and "raw" text files could be printed to the hp5lt printer. D-Link DPR-2000 User Manual 116

  • 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

Setting up Printing in Mac OS X Tiger (10.4.9)
D-Link DPR-2000 User Manual
116
Unix/Linux Printing
Printing Text Files From Unix
Text files on Unix systems contain lines that end with “newline” characters, as
opposed to MS-DOS and Windows-related operating systems that end with a
carriage return followed by a linefeed. Most printers require a carriage
return/linefeed pair at the end of each line, making it necessary for some translation
to be done before Unix text files can be printed on most printers.
For this purpose, you can define two “printers” for the same printer port, one that
prints to the port itself, and one that prints to the port name with
_TEXT
added to the
name. Files printed to the second port will be translated so that the printer has the
arriage return/linefeed pairs that it needs.
For example, you could define a printer
hp5l
that prints to port
PS-142634-P1
, and
a printer
hp5lt
that prints to port
PS-142634-P1_TEXT
.
Your graphics files could
then be printed to the
hp5l
printer, and “raw” text files could be printed to the
hp5lt
printer.
c