Documentation Center

  • Trial Software
  • Product Updates

printopt

Configure printer defaults

Syntax

[pcmd,dev] = printopt

Description

[pcmd,dev] = printopt returns strings containing the current system-dependent printing command and output device. printopt is a file used by print to produce the hard-copy output. You can edit the file printopt.m to set your default printer type and destination.

pcmd and dev are platform-dependent strings. pcmd contains the command that print uses to send a file to the printer. dev contains the printer driver or graphics format option for the print command. Their defaults are platform dependent.

Platform

Print Command

Driver or Format

Mac and UNIX®

lpr -r

-dps2

Windows®

COPY /B %s LPT1:

-dwin

See Also

|

Was this topic helpful?