Please enable JavaScript to view this site.

The various flavors of A-Shell/Unix complete the spooling process by executing some form of Unix system line printer command:

SCO OpenServer (-R = delete):

lp -dprinter {-R} {-onobanner} {-onofilebreak} {-ncopies} file

The –onobanner switch will be ignored by OpenServer (leading to annoying banner pages) unless you specifically enable it in the configuration screens (scoadmin) or via an lpadmin command line.

AIX2 (-nb0 = nobanner, -rm = delete):

print -printer {-nb0} {-rm}

AIX/3 thru AIX/5 (-r = delete, -Ban = banner, -Bnn - no banner):

enq -Pprinter {-Ban|Bnn} {-r} {-Ncopies}

Linux (-h = nobanner, -r = delete)

lpr -Pprinter {-#copies} {-h} {-r} file

Others (-h = nobanner, -r = delete)

lpr -Pprinter {-h} {-r} file

Notes

Normally A-Shell does not display the line printer command that it submits, but for troubleshooting purposes, you can force it to by setting TRACE=LP in miame.ini, or with SET TRACE LP ON from the dot prompt.

A log of all spooler requests is kept in the file opr:spool.log). This log gives information about the context of the print request (time, date, user, program, etc.), the actual command line executed, and any response received from the print subsystem. When the file reaches 3MB, it is renamed to spool.00# (number ranges from 1 to 4, for 4 archive copies) and a new one started.

If your flavor of Unix requires something different from the above, then you can use the COMMAND statement in the printer ini file to specify an arbitrary command line.

Created with Help+Manual 9 and styled with Premium Pack Version 5 © by EC Software