User manual

User’s Manual InterCon-PrintServer
94
2. Creating the Printer Device
The print spooler needs information about a printer device. Due to the fact that the print server doesn’t
need a physical device, a link to the null device is given. Please enter the following command:
# ln -sf /dev/null /dev/<printername>
In our example the command would be:
# ln -sf /dev/null /dev/printer
3. Entering the Printer into the Spooler System
The
mkque
command administrates the AIX print spooler. Please enter the following command:
# mkque -q<printername> -a"up = "'TRUE' && mkquedev \
-q<printername> -d<printername> \
-a"file = /dev/<printername>" \
-a"backend = /etc/printserver/interfaces/<printername>"
The
mkque
command in our example would be:
# mkque -qprinter -a"up = "'TRUE' && mkquedev \
-qprinter -dprinter \
-a"file = /dev/printer" \
-a"backend = /etc/printserver/interfaces/printer"
The full pathname (for example
/usr/lib/mkque
) may possibly be needed when entering the
mkque
command.
4. Enabling and Starting the Printer
After entering the print server into the spooler system the
enq
command should be sent to the print
spooler. This command tells the print spooler to accept print jobs for this printer and to start the
printer.
Please enter the following command:
# enq -U -P<printername>
In our example the command would be:
# enq -U -Pprinter
The full pathname may possibly be needed for this command.
The installation of the print server into the AIX print spooler is now complete.