Index Index for
Section 8
Index Alphabetical
listing for A
Bottom of page Bottom of
page

asuclient(8)

NAME

asuclient - Creates or deletes a special file share that stores print jobs for a printer that is attached to a PC running the MS-DOS operating system software.

SYNOPSIS

/usr/bin/asuclient printername [-a | -d]

OPTIONS

-a Creates a file share on the Tru64 UNIX system for the specified printer. The name of the file share is the name of the printer with a .o extension. -d Deletes the file share from the Tru64 UNIX system for the specified printer.

PARAMETERS

printername Specifies the name of the printer for which the file share will be created or deleted.

DESCRIPTION

You can configure a printer that is attached to a PC that is running the MS-DOS operating system software as an ASU printer share. You cannot share a printer if the system is running Windows software. You use the asuclient command to create a special file share for the printer. The file share stores print jobs that are sent to the printer. The PC connects to the file share and retrieves the files to print. To configure a printer that is attached to a PC as an ASU printer share, you must configure the ASU server and the PC as described in the following sections. Configuring the ASU Server To configure the ASU Server to recognize the printer attached to a PC, you must: 1. Enter the lprsetup command. The lprsetup command prompts you for information about the printer, then creates a print queue for it on the Tru64 UNIX system. When the lprsetup utility prompts you for the printer type, enter clientps if the printer type is a PostScript printer or clienttxt if the printer type is a text printer. When the lprsetup utility prompts you for the spooler directory and error log file, enter a path and replace CLIENTNAME with the name of the PC to which the printer is attached. 2. Use the net share command to create a printer share for the printer. For example, to create a printer share called win_printer for a printer called laser, enter the following command: net share win_printer=laser /print 3. Enter the asuclient printername -a command to create the file share for the printer. For example, to create a file share for a printer called laser, enter the following command: asuclient laser -a Configuring the PC To configure the PC you must: · Load spooler agent software, provided with the ASU software, onto the PC to which the printer is attached. The spooler agent software is a terminate-and-stay-resident (TSR) program that receives print jobs from the ASU server and sends them to MS-DOS TSRs for printing. · Configure a persistent connection on the PC. This connection establishes a link to the ASU server and copies print jobs for the attached printer from the special file share. These tasks are described in the next sections. Loading Spooler Agent Software The way you load the spooler agent software onto the PC depends on if the attached printer is text or PostScript as described in the following sections: Configuring a Text Printer At the MS-DOS prompt on the PC to which the text printer is attached: 1. Edit the autoexec.bat file and add the following entries: After the call \directory\STARTNET.BAT entry, enter: print /d:portid: The portid is the ID of the client's printer port. For example, LPT1 or COM1. Then add the following entries: use driveid: \\unix_server_name\DOSUTIL driveid:\clispool /i /s:driveid The driveid is the same drive letter of your choice. 2. Reboot the PC. Configuring a PostScript Printer At the MS-DOS prompt on the PC to which the PostScript printer is attached: 1. Edit the autoexec.bat file and add the following entries: After the call \transport\STARTNET.BAT entry (transport is either TCP/IP or DECnet), enter: c:\pcache\pcache.com c:\pcache\print /d:portid: The portid is the ID of the client's printer port. For example, LPT1 or COM1. Then add the following entries: use driveid: \\unix_server_name\DOSUTIL driveid:\clipcach /i /s:driveid The driveid is the same drive letter of your choice. 2. Reboot the PC. Configuring a Persistent Connection on the PC If, on the ASU server, the autodisconnect registry parameter is disabled, which it is by default, and you followed the above Loading Spooler Agent Software steps, then nothing more is needed to create a persistent connection. If, on the ASU server, the autodisconnect registry parameter is enabled, you need to disable it, stop the ASU server, restart the ASU server, then reboot the PC. See the Installation and Administration Guide guide for information about the registry and stopping and restarting the ASU server.

SEE ALSO

Commands: net(1), lprsetup(8)

Index Index for
Section 8
Index Alphabetical
listing for A
Top of page Top of
page