manualshive.com logo in svg
background image

2. Using 4L-cli

There is one subcommand for every use case commonly encountered when using LightScribe.

2.1 Drive enumeration and identification

The 

4L-cli 

enumerate subcommand allows to list all the available LightScribe-enabled drives on the system. The drive path allows to identify each 

drive uniquely (even if two drives of the same model are present, they will have a different drive path). Other informations include

 

:

 • The current state of the drive (Usable: 0 or 1)
 • The name, model and manufacturer of the drive
 • The printing capabilities of the drive
 • The radius range reachable by the drive (in microns)

#4L-cli enumerate
Drive path: /dev/sr1
Usable: 1
Full name: IDE-DVD  - DVDRW8851        - 2X24
Model: DVDRW8851
Manufacturer: IDE-DVD
Capabilities: monochrome
Drive inner radius: 21700
Drive outer radius: 59000

Drive path: /dev/sr0
Usable: 1
Full name: TSSTcorp - CD/DVDW SH-S162L - lc00
Model: CD/DVDW SH-S162L
Manufacturer: TSSTcorp
Capabilities: monochrome
Drive inner radius: 21700
Drive outer radius: 59000

In  case  you  have  several  LightScribe  drives  of  the  same  model  connected  at  the  same  time,  you  can  use  the 

4L-cli open <drive_path> 

subcommand, to open the tray of the corresponding drive, allowing you to physically identify the drive.

#4L-cli open /dev/sr0

A subcommand to close the tray is also available

 

4L-cli close <drive_path>

#4L-cli close /dev/sr0

2.2 Media information

You can use the 

4L-cli mediainfo <drive_path

>  to retrieve information about the  media currently present in a given drive. Returned information 

includes:

 • media presence
 • media LightScribe capability
 • media orientation

and if a properly oriented LightScribe media is present,

 • media shape
 • media ID
 • printable radius range (in microns)

4L User Manual

2

Отзывы: