manualshive.com logo in svg
background image

4L User Manual

#4L-cli mediainfo /dev/sr0
Media present: 1
Lightscribe media: 0
Oriented for labeling: 0

#4L-cli mediainfo /dev/sr1
Media present: 1
Lightscribe media: 1
Oriented for labeling: 1
Shape: disc_12cm
Manufacturer ID: 112
Print area inner radius: 23800
Print area outer radius: 58700

2.3 Printing information

The printing process is dependent on both the drive and the media in it. the 

print info

 subcommand allows to retrieve information dependent on 

this  combination  and  several  printing  parameters, as  the  printing  quality, whether printing  can be optimized  or  is  only  generic, and  labeling 
mode. This information includes the labeling area dimensions, and the maximum print resolution.

The command usage is:

4L-cli printinfo [-q <best|medium|draft>] [-m <title|content|full>] <drive_path> 
        

Besides the drive path, the accepted parameters are:

 • the optional 

-q/--quality

, followed by draft, medium or best, that can affect the print resolution.

 • the optional labeling mode

 -m/--mode

, followed by title, content or full (full is the default), affecting the printing area boundaries.

#4L-cli printinfo -q draft /dev/sr1 
Generic only: 0
Generic print inner radius: 25050
Generic print outer radius: 36500
Generic print resolution: 600
Optimized print inner radius: 25050
Optimized print outer radius: 36500
Optimized print resolution: 600

If  the media is more recent than the  installed LightScribe software, it may happen that only generic printing is  available. In this case, only the 
generic values will be present in the output.

2.4 Printing

The main functionnality of 

4L-cli

 is obviously label printing. The 

print 

subcommand is used here. Its usage is

 

:

4L-cli print 
        [-q <best|medium|draft>] 
        [-g] 
        [-s <fit_auto|fit_height|fit_width|no_fit|DPI>]
        [-m <title|content|full>]
        <drive_path> <input_image> 

Arguments are:

 • optional 

-q/--quality

 

: defines the quality of the printing

 • optional 

-g/--generic

 

: force printing in generic mode. If the optimized mode is not available, this option MUST be set, or the printing will fail. 

This is to avoid printing a label in generic mode by mistake.

 • optional 

-s/--size

 

: specify the image size setting to use for the printing

 • optional

 

-m/--mode

 

: specify the labeling mode, the default is full.

 • 

fit_auto

 will fit the smallest dimension of the image to the media, this is the default behaviour.

 • 

fit_width

 will fit the width of the image to the media.

 • 

fit_height

 will fit the height of the image to the media.

 • 

no_fit

 will not perform any scaling, but use the resolution written in the image header. If the resolution is not set in the image, printing will fail.

 • 

DPI

  is  a  decimal  integer value  that  allows  you  to  manually  select  the  resolution  to  use  with  the  image. This  is  not  the  printing  resolution, 

but gives the final dimension of the image on the media.

3

Отзывы: