© Copyright Hewlett-Packard Company 1997
Contents
| Differences
| Kiosk
| Defaults
Using Kiosk Mode
If you want to let many different people
(possibly including members of the general public)
have access to your data, you should consider invoking the browser in kiosk mode.
To invoke the browser in kiosk mode, enter:
hpxt.navio_nopeer
or:
remsh terminalname navio
or start the Navio client from the Netstation's configuration screens.
In kiosk mode:
- The browser is not associated with a user name on the host.
- The home directory is
/opt/hpxt/enware2/Navio_3.0/.navio/terminalname
- Users have access to files and directories under
the home directory or the
/tmp directory only.
- Users cannot use News
- Users cannot use Mail
- Users cannot use helper applications that run on the host,
such as movemail and the MPEG player.
- Users cannot log on to another host
(by entering
rlogin in the Open Location dialog).
- When printing, users should
enter only the name of the printer or printer queue
in the Print Command field.
The printer queues must also be defined, as described below.
Adding a Local Printer
A local printer is directly connected to a Netstation.
Depending on how your network is set up, it may be usable only by that Netstation
or by other connected Netstations.
On the Netstation that is directly connected to the printer:
- Switch to the Netstation binary directory:
cd /opt/hpxt/enware2/xthome/bin
- If you have not previously done so,
create a directives file for this Netstation:
cp directives ipaddress.directives
(where ipaddress is the IP address of the Netstation)
- Edit the Netstation's directives file, and uncomment the following line:
# noshow auto App lpd=lpd "Berkeley LPR printer daemon"
Adding a Host-Based Printer
To connect a host-based printer,
define or create a Berkeley LPR/LPD RFC1179 printer queue.
See the documentation for your host computer.
Setting Up a Netstation to Use the Printer
On every Netstation that will use the printer:
- Switch to the Netstation binary directory:
cd /opt/hpxt/enware2/xthome/bin
- If you have not previously done so,
create a directives file for this Netstation:
cp directives ipaddress.directives
(where ipaddress is the IP address of the Netstation)
- Edit the Netstation's directives file, and uncomment the following lines:
# Driver LPRdrvr=drvr/lprExt "Remote printer driver (BSD/RFC 1179)"
# Auto extension Alias=drvr/aliasExt "Name alias extension"
# prerequisite LPRdrvr = Alias
- If you have not already done so, create
a remote configuration file for the Netstation.
For more information, see the HP Netstation Software Technical Reference.
- In this file,
create a print queue by adding the following line:
LPR queue = queue:host:remqueue:desc:f
(where queue is the local name or alias for the queue,
host is the hostname or IP address of the directly connected host or Netstation,
remqueue is the name of the printer queue
on the directly connected host or Netstation,
desc is a textual description of the queue,
and f is an optional format for
print jobs in this queue --
l for raw text, the default,
f for formatted text,
o for PostScript.)
For example:
LPR queue = laser:dave1x:HPLaserJ:"Dave's desk"
- For the queue that you have just defined,
optionally add the following lines:
-
LPR Leader = queue:string
This defines a string that will be sent to the printer before
the print file.
To include a non-printable character,
use \x followed by a hex code or
\o followed by an octal code.
The Esc character can be represented by \x1b.
For example,
LPR Leader = laser:"\x1b(s20v(s1S"
switches a PCL printer to print text.
-
LPR Trailer = queue:string
This defines a string that will be sent to the printer after
the print file.
For example,
LPR Trailer = laser:"\x1b(s12v(s0S"
returns a PCL printer to graphics mode.
-
LPR Local Spool Threshold = queue:n
(where any file larger than
n bytes is sent to the printer directly;
smaller files are sent to the spool file.
The maximum is also the default, 2147483647)
For example,
LPR Local Spool Threshold = laser:0
says that no files are sent to a spool file before being printed.
-
LPR Spool Path = queue:path
(where path is the directory that will contain spool files.
By default, this is
/opt/hpxt/enware2/spool)
- Optionally define additional print queues in the same way.
- Reboot the Netstation.
Troubleshooting Printer Problems
- If the printer that you want to use is not listed when
you select File and Print, add the printer (as described
earlier on this page).
- If you have trouble printing a file:
- Verify that the
/opt/hpxt/enware2/spool
directory exists and that all users have write permission for the directory.
(The directory should be created with the appropriate permissions during installation.)
- If that is not the problem, the file that you are printing may be
too large for the spool directory.
If you want to avoid using much memory when you print,
set the LPR Local Spool Threshold parameter (in the remote configuration file)
to 0.
Contents
| Differences
| Kiosk
| Defaults