METRESRC Scenario 2
Assume you want to take Metacode print stream from Scenario 1 and print it on a Metacode printer that does not have the necessary Xerox resource files.
To produce a Metacode print stream that contains the original Metacode print stream (example1.met) plus all of the Xerox resources used in that file, you would enter this command:
METRESRC /I=Example1.met /L=list.txt /O=NewFile.met /RESDIR=C:\XRXFiles
This command produces a new Metacode print stream called newfile.met that contains the original Metacode print stream (example1.met) plus all of the Xerox resources used in that file. For this example, the Xerox resource files must be in the c:\xrxfiles directory, as specified by the /RESDIR parameter.
The Xerox resource files contained in the newfile.met file are downloaded to the printer before printing the contents of the original Metacode print stream. Because you omitted the /SAVE parameter, the Xerox resource files contained in the newfile.met file are deleted from the printer after the print stream finishes printing. If you had included the /SAVE parameter, the embedded Xerox resource files would have been retained on the printer after the new print stream finished printing.
The optional /L parameter tells the utility to also produce a text file named list.txt that contains a list of the Xerox resources files used by the Metacode print stream (example1.met).
Notes:
- Printing a Metacode print stream with embedded Xerox resource files will overwrite any Xerox resource files stored on the printer with the same names.
- All embedded Xerox resource files — even those that overwrite existing files — are deleted from the printer after the print stream has finished printing unless you include the /SAVE parameter when you produce the new print stream.
- Because an embedded Xerox font overwrites an existing Xerox font stored on the printer, the METRESRC utility never embeds the standard Xerox line drawing font (FORMSX.FNT) into a new Metacode print stream.
© Copyright 2020, Oracle and/or its affiliates. All rights reserved. Legal notices.