Sponsored Content
Full Discussion: Some one please help
Top Forums UNIX for Dummies Questions & Answers Some one please help Post 302072968 by the_real_reaper on Tuesday 9th of May 2006 08:26:27 AM
Old 05-09-2006
Some one please help

Hi people please help i need to change the default printer on a usr name and i cant evin get in to the usr file EG do i type cd/ usr/ ims1 please i need help
 
lpx(8)							      System Manager's Manual							    lpx(8)

Name
       lpx - line printer exerciser

Syntax
       /usr/field/lpx [ -h ] [ -ofile ] [ -pn ] [ -tm ] -ddev

Description
       The line printer exerciser outputs a rolling character pattern to the printer. Five pages are output and then the printer will pause for 15
       minutes (default).  Then 5 more pages are output, followed by a pause.  This pattern continues until the process receives a or a  kill  -15
       pid.

       Disable	the line printer queue of the printer to be tested before running Check the file to determine the line printer queue, and then run
       line printer control program to disable the printer.  This will stop other jobs from interfering with the testing.

Arguments
       You must specify the following function flag and its argument to the exerciser:

       -ddev
	    The line printer device name and unit number to test as listed in the directory.  For example, lp, lp1.

Options
       The options are:

       -h   Prints the help messages for the command.

       -ofile
	    Saves the output diagnostics in file.

       -pn  Sets pause for n minutes.  During the pause period, will only exercise the controller, saving paper.  The default value for n  is  15.
	    A value of n = 0 indicates no pause.

       -tm  Specifies the run time in minutes (m).  The default is to run until the process receives a or kill -15 pid.

Restrictions
       If  there  is  a  need to run a system exerciser over an NFS link or on a diskless system there are some restrictions.  For exercisers that
       need to write into a file system, such as the target file system must be writable by root.  Also the directory, in which any of	the  exer-
       cisers  are  executed,  must be writable by root because temporary files are written into the current directory.  These latter restrictions
       are sometimes difficult to overcome because often NFS file systems are mounted in a way that prevents root from writing into them.  Some of
       the restrictions may be overcome by copying the exerciser to another directory and then executing it.

Examples
       The following example causes to exercise lp1 until the process receives a or kill -15 pid.
       % /usr/field/lpx -dlp1
       The following example exercises lp for 120 minutes in the background.
       % /usr/field/lpx -t120 -dlp &

See Also
       Guide to System Exercisers

																	    lpx(8)
All times are GMT -4. The time now is 01:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy