The qprt command creates and queues a print job to print the file you specify. . Note: The AIX operating system also supports the BSD UNIX print command. Download qprt-to-lp for free. qprt-to-lp is a simple wrapper script to pass AIX qprt commands to Linux CUPS lp command. This allows programs. To submit a print job to a queue, use either lp, lpr, or qprt. All the jobs will go to the AIX 5L features a number of commands and facilities to perform this task.

Author: Jushakar Vudolar
Country: Philippines
Language: English (Spanish)
Genre: Science
Published (Last): 19 February 2015
Pages: 450
PDF File Size: 10.29 Mb
ePub File Size: 2.20 Mb
ISBN: 300-4-23115-286-3
Downloads: 17875
Price: Free* [*Free Regsitration Required]
Uploader: Gokinos

To edit an old command, you will need to use one of the special word identifiers in the command. This command can be used to display disk usage for the specified area. By default, lp will only print one copy of the specified files.

Otherwise, the spooler assigns the first available printer. The -U option is AIX specific. This command is used to display your disk usage and quota information. AIX will send you mail upon completion of the printing process if you specify the -m option. The -m option can be used if you wish mail to be sent to your account upon completion of the printing.

You can also start the display at the first line containing the text pattern specified between slashes. If you do not specify this flag, it uses the default value from the printer driver.


If you specify a job number, that job will be placed in the background. If the pattern is not a qprtt string, you will have to enclose it with quotation marks.

Configuring a printer without adding a queue (qprt command)

This command can be used to rename or move a file. The -f option will convert lowercase letters to uppercase before making the comparisons. You can also specify a directory to which the specified files are to be linked. To remove a file after it has printed, you must have write access to the directory that contains the file. Specifying the -n or the -c option will display the file starting at line number or byte number of the file respectively.

You can specify the number of copies to print by issuing a -n followed by the number of copies. If this flag is not specified, the first file name on the qprt command line is used as the print job title. If no options are specified, AIX will show all processes belonging to the user’s current shell.

This command displays the number of lines, words, and bytes in the specified files.

The -a option causes tee to append the text to file instead of overwriting it. Name of the file to be printed. A one-character identifier that specifies a filter through which your print file or files are to be passed before being sent to the printer.

The qprt command creates and queues a print job to print the file you specify. You can use the qprt command to add a printer or plotter without adding a queue if you do not qort to spool qprh jobs for the printer or plotter. By default, you are not notified when the print job completes. Otherwise, the spooler assigns the first available printer.


The next page has a table showing the various options and their definition.

Configuring a printer without adding a queue (qprt command)

This command has many options, enabling you to control how the file is printed and what actions are done when the file is done printing. Sets double-high print to one of the following: If the -l option is specified, the process id will be displayed before the process status column. If no job number is specified, AIX will make the job listed with a plus sign from the jobs command the foreground process.

If the job is stopped, it will be made active.

The -H option will place a header on the output. This command is used for qlrt with shared resources, such as a printer. The lp command can be used to send a list of files to a printer.

The OS prompt displayed depends on which command interpreter shell you are running and any configurations installed.