OnWorks favicon

g3cat - Online in the Cloud

Run g3cat in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command g3cat that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



g3cat - concatenate multiple g3 documents


g3cat [-l] [-a] g3-file1 ...


g3cat concatenates g3 files. These can either be 'raw', that is, bitmaps packed according
to the CCITT T.4 standard for one-dimensional bitmap encoding, or 'digifax' files, created
by GNU's GhostScript package with the digifax drivers. Its output is a concatenation of
all the input files, in raw G3 format, with two white lines in between.

If a - is given as input file, stdin is used.

If the input data is malformed, a warning is printed to stderr, and the output file will
have a blank line at this place.


-l separate files with a one-pixel wide black line.

-h <blank lines>
specifies the number of blank lines g3cat should prepend to each page. Default is

-L <lines>
limit lenght of output page to maximum <lines> lines.


-w <width>
specifies the desired page width in pixels per line. Default is 1728 PELs, and this
is mandatory if you want to send the fax to a standard fax machine. If one of the
input files doesn't match this line width (for example because it was created by a
broken G3 creator), a warning is printed, and the line width is transparently

-a byte-align the end-of-line codes (EOL) in the file. Every EOL will end at a byte
boundary, that is, with a 01 byte.

-p <pad>
specifies a minimum number of bytes that each output line must be padded to.
Padding is done with 0-bits before the EOL code.

-R suppress output of end-of-page code (RTC).


The following example will put a header line on a given g3 page, 'page1' and put the
result into 'page2':

echo '$header' | pbmtext | pbm2g3 | g3cat - page1 >page2

Use g3cat online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    It ha...
    Download Shadowsocks
  • 2
    GLPI Themes
    GLPI Themes
    Download release at
    Color themes for GLPI 0.84 and 0.85 New
    Modifications for GLPI This is an
    application that c...
    Download GLPI Themes
  • 3
    SMPlayer is a free media player for
    Windows and Linux with built-in codecs
    that can also play YouTube videos. One
    of the most interesting features of
    Download SMPlayer
  • 4
    AAX to MP3
    AAX to MP3
    Usage: - Install the Audible Manager
    and open a file of your account. - Sign
    in into your audible account (in the
    application). Now the program can
    convert you...
    Download AAX to MP3
  • 5
    TestLink is a web based Test Management
    tool. The application provides Test
    specification, Test plans and execution,
    Reporting, Requirements specification
    and ...
    Download TestLink
  • 6
    XDXF - XML Dictionary Exchange Format
    XDXF - XML Dictionary Exchange Format
    XDXF is a project to unite all existing
    open dictionaries and provide both users
    and developers with universal XML-based
    format, convertible from and to other ...
    Download XDXF - XML Dictionary Exchange Format
  • 7
    Transmission Remote GUI
    Transmission Remote GUI
    Transmission Remote GUI is a feature
    rich cross platform front-end to
    remotely control a Transmission
    Bit-Torrent client daemon via its RPC
    protocol. Transmissi...
    Download Transmission Remote GUI
  • More »

Linux commands