Your printer's name is then one you defined on your system. You can check with your CUPS configuration by visiting http://localhost:631/printers. So, for example: lp -d Brother-MFC-9840CDW *.pdf