
Cut and Paste Utilities
Cut and Paste Utilities
The next two utility commands, g3chop and g3combin, permit cutting and pasting of fax images at the command line. These two commands are most commonly used to create letterhead and signature files.
Cut Utility (g3chop)
Removes portions of Brooktrout Group 3 fax files and stores them in a separate file.
Command Syntax
g3chop -sx -cy -ifile1.301 -ofile2.301 Where:
(start chop) Specifies the distance in 1/10" units, from | |
| the top of the file, to skip before chopping. |
(chop size) Specifies the distance in 1/10" units to chop. | |
(input file) Specifies the name of the file to chop. | |
(output file) Specifies the name of the output file which | |
| contains the resulting chopped file. |
(lines) Changes the | |
| G3 lines as the units. |
| The number of lines are calculated in inches using the |
| file resolution if you know how far down in inches you |
| want to start and you use the |
| inches from the top of the file in normal resolution, skip |
| 200 lines; for fine resolution, skip 400 lines. |
| The number of lines to chop can also be calculated based |
| on the file resolution and the number of inches to remove |
| from the file. |
For example:
g3chop -s5 -c20 -isalute.301 -oadvert.301
skips the first five lines of the file salute.301, chops the next 20 lines, and puts them into the output file advert.301.
November 2009 | 411 |