Kyocera Ai5555 NC-2 Instruction Hand Book - Page 139

Virtual Printer Commands continued

Page 139 highlights

UNIX Printing Through TCP/IP Installing TCP/IP If Not Running lpd Virtual Printer Commands (continued) 7. Enter the Device name. Use the same name entered during the install for printer name. 8. For Type of Printer, enter a number from the printers list, then press Enter. 9. Header pages wanted? Type n for none. 10. Trailer pages wanted? Type n for none. 11. Enter Print Queue name. Type ! to bypass configuration. 12. Should this be the default queue? Enter y for yes or n for no, then press Enter. 13. Exit smit. 14. Type cd/etc, then press Enter. After the virtual printer has been added, there will be a stanza in /etc/ qconfig for device printer_name that looks like the following: printer_name: file=/dev/printer_name backend=/usr/lpd/probe Edit /usr/qconfig and change the following: file=/dev/printer_name to file=/dev/nic/printer_name 15. Type stopsrc -s qdaemon. 16. Type startsrc -s daemon. Now you can print using the lp command. AIX Print Commands The AIX lp command works slightly differently from the lp command for other System V Release 4 systems. The following lp commands can be used to print files: lp -d or lp -d : UNIX Printing Through TCP/IP 5-49

  • 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

UNIX Printing Through TCP/IP 5-49
UNIX Printing Through TCP/IP
Installing
TCP/IP
If Not Running lpd
Virtual Printer Commands (continued)
7. Enter the
Device name
.
Use the same name entered during the install for printer name.
8. For
Type of Printer
, enter a number from the printers list, then press
Enter.
9. Header pages wanted? Type
n
for none.
10. Trailer pages wanted? Type
n
for none.
11. Enter Print Queue name. Type
!
to bypass configuration.
12. Should this be the default queue?
Enter
y
for yes or
n
for no, then press Enter.
13. Exit
smit
.
14. Type
cd/etc
, then press Enter.
After the virtual printer has been added, there will be a stanza in
/etc/
qconfig
for
device printer_name
that looks like the following:
printer_name:
file=/dev/printer_name
backend=/usr/lpd/probe
Edit /usr/qconfig and change the following:
file=/dev/printer_name to file=/dev/nic/printer_name
15. Type
stopsrc -s qdaemon
.
16. Type
startsrc -s daemon.
Now you can print using the lp command.
AIX Print Commands
The AIX lp command works slightly differently from the lp command for
other System V Release 4 systems. The following lp commands can be used
to print files:
lp -d <queue_name> <filename> or
lp -d <queue_name>:<device_name> <file_name>