EnglishFrenchSpanish

OnWorks favicon

pap - Online in the Cloud

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

This is the command pap 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


pap - client interface to remote printers using Printer Access Protocol

SYNOPSIS


pap [-A address] [-c] [-d] [-e] [-E] [-p nbpname] [-s statusfile] [-w] [-W] [FILES]

DESCRIPTION


pap is used to connect and send files to an AppleTalk connected printer using the Apple
Printer Access Protocol (PAP). When pap starts execution, it tries to open a session with
the printer using PAP, and then downloads the files to the printer.

If no files are given on the command line, pap begins reading from standard input.

If no printer is specified on the command line, pap looks for a file called .paprc in the
current working directory and reads it to obtain the nbpname of a printer. Blank lines and
lines that begin with a `#´ are ignored. type and zone default to LaserWriter and the
zone of the local host, respectively.

Note that pap is designed to be useful as a communication filter for sending lpd(8)
spooled print jobs to AppleTalk connected printers. See psf(8) for hints on how to use it
this way.

OPTIONS


-A address
Connect to the printer with Appletalk address address and do not consult the .paprc
file to find a printer name. See atalk_aton(3) for the syntax of address.

-c
Take cuts. The PAP protocol specified a simple queuing procedure, such that the
clients tell the printer how long they have been waiting to print. This option causes
pap to lie about how long it has been waiting.

-d
Enable debug output.

-e
Send any message from the printer to stderr instead of stdout. psf(8) invokes pap
with this option.

-E
Don´t wait for EOF from the printer. This option is useful for printers which don´t
implement PAP correctly. In a correct implementation, the client side should wait for
the printer to return EOF before closing the connection. Some clients don´t wait, and
hence some printers have related bugs in their implementation.

-p nbpname
Connect to the printer named nbpname and do not consult the .paprc file to find a
printer name. See nbp_name(3) for the syntax of nbpname.

-s statusfile
Update the file called statusfile to contain the most recent status message from the
printer. pap gets the status from the printer when it is waiting for the printer to
process input. The statusfile will contain a single line terminated with a newline.
This is useful when pap is invoked by psf(8) within lpd´s spool directory.

-w
Wait for the printer status to contain the word "waiting" before sending the job. This
is to defeat printer-side spool available on HP IV and V printers.

-W
Wait for the printer status to contain the word "idle" before sending the job. This is
to defeat printer-side spool available on HP IV and V printers.

Use pap online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 2
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 3
    gMKVExtractGUI
    gMKVExtractGUI
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 4
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 5
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 6
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • More »

Linux commands

Ad