Forrest logo
back to the lp tool

lp:ai:c7812

Send pdf file to postscript network printer, stapling the printed document
$ lp -d printer_name -o sides=two-sided-long-edge -o OutputMode=StapleTop -o OutputBin=Bin4 filename.pdf
try on your machine

This command sends the PDF file to the specified network printer, while instructing it to print double-sided and staple the printed document at the top. Replace 'printer_name' with the actual name of the network printer you want to use, and 'filename.pdf' with the path and name of the PDF file you want to print.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • Send pdf file to postscript network printer, stapling the printed document?
back to the lp tool