ARexx commands

There are 18 commands which TEXPrt can interpret:


CONFIG SAVE/S,SAVEAS/K

CONFIG SAVE saves the current setting of the GUI to the current selected printer driver spec file. CONFIG SAVEAS <filename> saves the current setting of the GUI to the giver filename.

COPIES NUMBER/A/N

COPIES <nn> places the number nn of copies into the "# of Copies" string gadget.

DRIVER NUMBER/A/N

DRIVER <nn> selects the driver number nn (given in the same order as they appear in the Drivers menu). Numbering begins with 1, not with 0.

DVIFILE FILE/A

DVIFILE <filename> selects the name of the DVI file which should be printed.

FROM_TO DOCUMENT/S,FROM/N/K,TO/N/K

FROM_TO DOCUMENT selects printing of the whole document. FROM_TO FROM <nn> sets the start of printing to page nn. FROM_TO TO <nn> sets the end of printing to page nn.

HOFFSET MM/A/N

HOFFSET <nn> sets the horizontal offset to the value nn.

OPTION1 ON/S,OFF/S

OPTION2 ON/S,OFF/S

OPTION3 ON/S,OFF/S

OPTION4 ON/S,OFF/S

OPTION# ON selects the appropriate command, OPTION# OFF deselects it.

ORIENTATION PORTRAIT/S,LANDSCAPE/S

ORIENTATION PORTRAIT sets portrait printing mode, ORIENTATION LANDSCAPE sets landscape printing mode.

PAGES ALL/S,EVEN/S,ODD/S

PAGES ALL sets the mode of printing to all pages, PAGES EVEN prints only even pages, PAGES ODD only odd pages.

PRINT

PRINT launches the specified printer driver with a set of parameters given by the values of the corresponding gadgets on TEXPrt's window.

QUIT FORCE/S

QUIT pops up the exit confirment requester. QUIT FORCE quits the program immediately.

REVERSE ON/S,OFF/S

REVERSE ON enables reverse printing of the pages, REVERSE OFF disables it.

TOBACK

Brings to front the public screen on which TEXPrt resides and also pops to front TEXPrt's window on that screen.

TOFRONT

Pushes to back TEXPrt's window.

VOFFSET MM/A/N

VOFFSET <nn> sets the vertical offset to the value nn.