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>
Содержание Ai5555
Страница 2: ......
Страница 6: ...1 ...
Страница 10: ...Section 1 NC 2 Introduction ...
Страница 16: ...Section 2 Installation ...
Страница 22: ...Section 3 NetWare Configuration ...
Страница 82: ...Section 4 AppleTalk Configuration and Administration Program ...
Страница 91: ...Section 5 UNIX Printing Through TCP IP ...
Страница 140: ...Section 6 Troubleshooting ...
Страница 165: ......