printCommand

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the printCommand to <commandLine>
Summary

Specifies the command line used for printing a PostScriptfile.

Introduced1.0
OSlinux
Platformsdesktop, server
Example
set the printCommand to "/usr/bin/printme %s"
set the printCommand to "mv %s output.ps" -- puts output in a file
Values
NameTypeDescription
Value

The printCommand is a string. By default, the printCommand property is set to "lp %s". ("lp" is the standard line-printer command.).

RelatedKeyword: string
Property: printColors, printScale
Command: print
Glossary: property, Unix, PostScript, command line
Securityprinting
Description

Use the printCommand property to control which program is used to print on Unix systems.

The value of the printCommand must be a valid Unix command line. The string "%s" is a placeholder for the print file name LiveCode sends to the printing command.

The setting of this property has no effect on Mac OS or Windows systems.

Tagsprinting