# Direct Printing from Command Prompt

The command of the following format is effective.
lpr (a space) -S (a space) <the IP address of the printer> (a space) -P (a space) <the printer name> (a space) <the file name>

The printer name | Enter the printer name. You can check the printer name in [Device Name] on the Remote UI portal page.
The file name | Enter the name of the file to be printed.

Input Example <If the IP address of the printer is "192.168.0.215", if the printer name is "LBP-Printer", and if the file name is "sample.jpg">
lpr -S 192.168.0.215 -P LBP-Printer sample.jpg

NOTE
###### The settings which can be used for Direct Print The settings specified using the printer's control panel become effective. You can use the following [Setup] menus. "[Setup] Menu ([Control Menu] Options)" "[Setup] Menu ([Paper Source] Options)" "[Setup] Menu ([Layout] Options)" "[Setup] Menu ([Quality] Options)" "[Setup] Menu ([Imaging] Options)" "[Setup] Menu ([XPS] Options) (LBP7680Cx Only)" "[Setup] Menu ([PDF] Options)" "[Setup] Menu ([PS] Options)"

0258-0F8