8.1.3 Requesting Notification when Printing is Complete
When you submit a large file for printing, you may want the LP print
service to notify you when printing is complete. You can request that the
LP print service notify you in two ways:
To request email notification, use the -m option when
you submit the print request:
To request a message be written to your console window, use the -w option when you submit the print request:
where filename is the name of the file you're printing.