EnglishFrenchSpanish

Ad


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

PROGRAM:

NAME


g3cat - concatenate multiple g3 documents

SYNOPSIS


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

DESCRIPTION


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.

OPTIONS


-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
0.

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

SPECIAL-CASE OPTIONS


-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
fixed.

-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).

Example


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
    Eclipse Tomcat Plugin
    Eclipse Tomcat Plugin
    The Eclipse Tomcat Plugin provides
    simple integration of a tomcat servlet
    container for the development of java
    web applications. You can join us for
    discussio...
    Download Eclipse Tomcat Plugin
  • 2
    WebTorrent Desktop
    WebTorrent Desktop
    WebTorrent Desktop is for streaming
    torrents on Mac, Windows or Linux. It
    connects to both BitTorrent and
    WebTorrent peers. Now there's no
    need to wait for...
    Download WebTorrent Desktop
  • 3
    GenX
    GenX
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 4
    pspp4windows
    pspp4windows
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 5
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • 6
    eSpeak: speech synthesis
    eSpeak: speech synthesis
    Text to Speech engine for English and
    many other languages. Compact size with
    clear but artificial pronunciation.
    Available as a command-line program with
    many ...
    Download eSpeak: speech synthesis
  • More »

Linux commands

Ad