Print

The Print internal command can be used to:

 

Command Arguments:

Argument

Type

Possible values

Description

(no argument)

-

-

Prints selected files. If only image files are selected (or no files at all are selected), the Windows Photo Printing wizard will be invoked. Non-image files will be printed via their registered print handler.

Example: Print

AS

/K

txt

Use plain text format when printing a folder to disk or the clipboard.

Example: Print FOLDER TO=clip AS=txt QUIET

 

 

csv

Use CSV (comma-separated value) format when printing a folder to disk or the clipboard.

Example: Print FOLDER TO /desktop/dirprint.csv AS=csv QUIET

 

 

tab

Use tab-separated format when printing a folder to disk or the clipboard.


Example: Print FOLDER TO clip AS tab QUIET

CALCSIZES

/K

yes

Calculate folder sizes when printing a folder.

Example: Print FOLDER TO clip CALCSIZES=yes QUIET

 

 

no

Do not calculate folder sizes.

Example: Print FOLDER TO clip CALCSIZES=no QUIET

DEFAULTLIST

/S

(no value)

Displays a generated list of installed printers (acts as a dynamic button). You can use this list to change the default printer, and right-click the items in the list to display the printer's context menu. You can also print a file by dropping it on the generated button for a printer.

Example: Print DEFAULTLIST

FILTER

/K

<filter>

Use a filter when printing the contents of sub-folders (via the FLATVIEW argument). This can be the name of a filter you have previously created via the File Operations \ Filters page in Preferences, or it can be a simple wildcard pattern to filter by filename.

Example: Print FOLDER FILTER *.jpg FLATVIEW=nofolders QUIET

FLATVIEW

/K

no

Do not print the contents of sub-folders when printing a folder listing.

Example: Print FOLDER FLATVIEW=no QUIET

 

 

mixed

Prints the contents of sub-folders in "mixed" mode. This mixes files and folders together in a flat list.

Example: Print FOLDER FLATVIEW=mixed TO clip QUIET

 

 

nofolders

Prints the contents of sub-folders in "mixed - no folders mode". All files from sub-folders are listed, but the folders themselves are not shown.

Example: Print FOLDER FLATVIEW=nofolders QUIET

 

 

grouped

Prints the contents of sub-folders in "grouped" mode. Files and folders are indented to reflect the tree hierarchy.

Example: Print FOLDER TO /desktop/dirtree.txt FLATVIEW=grouped QUIET

FOLDER

/O

(no value)

Displays the Print Folder dialog, which lets you print or export the contents of the current folder displayed in the Lister.

Example: Print FOLDER

 

 

selected

Only selected files in the current folder will be printed by the Print Folder function.

Example: Print FOLDER=selected

 

 

<path>

Specify the folder path to print.

Example: Print FOLDER /desktop TO clip QUIET

FONT

/K

<name>,<size>

Specify the font to use when printing to the printer.

Example: Print FOLDER FONT Arial,20 QUIET

FORMAT

/K

<format name>

Use the specified favourite folder format to control the appearance of the printed format. The named format must first have been created from the Folders / Folder Formats page in Preferences.

Example: Print FOLDER FORMAT PrintDirFmt QUIET

HEADER

/K

top

Print a header at the top of each page (or when printing to disk or the clipboard, at the top of the listing).

Example: Print FOLDER HEADER=top QUIET

 

 

bottom

Print a footer at the bottom of each page (or the bottom of the listing).

Example: Print FOLDER FOOTER=bottom QUIET

 

 

both

Print both a header and a footer.

Example: Print FOLDER FOOTER=both QUIET

 

 

none

Do not print a header or a footer.

Example: Print FOLDER FOOTER=none QUIET

NOWIZARD

/S

(no value)

Bypass the Windows Photo Printing Wizard for image files; Opus can natively print any image format that it is able to view.

Example: Print NOWIZARD

QUIET

/S

(no value)

Print the folder using the specified options without displaying the Print Folder dialog first.

Example: Print FOLDER QUIET

SETDEFAULT

/K

<printer name>

Set the named printer as the system default printer. The name you provide must be the full name of the printer as shown in the Printers Control Panel. Make sure you enclose the name in quotes if it contains a space.

Example: Print SETDEFAULT "Brother HL-4050CDN"

TO

/K

<printer name>

Print selected files or folders to the specified printer (overriding the default printer). A button with this command can also accept files dropped on it to print them.

Example: Print TO "Brother HL-4050CDN"

 

 

<file name>

Print the folder contents to a specified disk file.

Example: Print TO dirlist.txt FOLDER C:\Data QUIET AS txt

 

 

clip

Print the folder listing to the clipboard.

Example: Print FOLDER TO clip AS csv