PAPSTATUS(8) Netatalk 2.2 PAPSTATUS(8)NAME
papstatus - get the status of an AppleTalk-connected printer
SYNOPSIS
/usr/sbin/papstatus [-d] [-p printer] [retrytime]
DESCRIPTION
papstatus is used to obtain the current status message from an AppleTalk connected printer. It uses the Printer Access Protocol (PAP) to
obtain the status information.
If no printer is specified on the command line, papstatus looks for a file called .paprc in the current directory and reads it to obtain
the name of a printer. The .paprc file should contain a single line of the form object:type@zone where each of object, :type, and @zone are
optional. type and zone must be proceeded by `:' and `@' respectively. Blank lines and lines the begin with a `#' are ignored. type and
zone default to LaserWriter and the zone of the local host, respectively.
OPTIONS -d
Turns on a debugging mode that prints some extra information to standard error.
-p printer
Get status from printer (do not consult any .paprc files to find a printer name). The syntax for printer is the same as discussed above
for the .paprc file.
retrytime
Normally, papstatus only gets the status from the printer once. If retrytime is specified, the status is obtained repeatedly, with a
sleep of retrytime seconds between inquiring the printer.
FILES
.paprc
file that contains printer name
SEE ALSO nbp(1), pap(1)Netatalk 2.2 17 Dec 1991 PAPSTATUS(8)
Check Out this Related Man Page
PAP(1) General Commands Manual PAP(1)NAME
pap, papstatus - client interface to remote printers using Printer Access Protocol
SYNOPSIS
pap [ -c ] [ -e ] [ -p nbpname ] [ -s statusfile ] [ files ]
papstatus [ -p nbpname ]
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 -c Take cuts. Normally pap tells the printer how long it has been waiting. When -c is specified, pap claims to have been waiting for-
ever.
-e Send any message from the printer to stderr instead of stdout. psf(8) invokes pap with this option.
-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.
FILES
.paprc file that contains printer name
SEE ALSO nbp_name(3), lpd(8), psf(8).
netatalk 1.3 3 Jun 1994 PAP(1)
Hello There,
I have problem with installing my printer in solaris8, i have Lexmark Z22-Z32 series inkjet printer and i download its driver for solaris from the internet.
I got driver file like that... drivers-linux-glibc2-x86.tar.gz
first i copy this on my temporary folder and use these... (3 Replies)
Hi,
I work at IT department of a home furnishing company in Canada. Presently we are working on printer issue on UNIX system and we like to set up a dummy printer on the system. We are not much sure about the procedure to try it and it woul dbe great if we get some advice to go ahead.
Thanks... (3 Replies)
Hi there,
I want to open a cash drawer remotely. The cash drawer is commanded by a printer.
I need to connect to the cash drawer which is connected over a network (and shared) and simply send a sequence of five ASCII commands (see http://pages.prodigy.net/daleharris/popopen2.htm) to a... (5 Replies)
Hi,
I need some help with installing and configuring a printer via command line as the scoadmin menu system doesnt work fully.
So I was wondering how i can install and configure a printer purely from command line editing relevant files.
It would be great if someone can help me out.
... (7 Replies)
Problem Overview: We have a scheduler that prints report on any of the network printer.
Problem Statement: We need to find a UNIX command that picks up either A4, legal or letter size paper form the printer.
I found out a command but it's not working on our environment.
... (3 Replies)
I would like to add printer using hppi. The printer is shared by windows print server and the IP address is shown as 10.0.30.66-1.
(IP 10.0.30.66 using printer port 1)
I have added printer with IP 10.0.30.66, but it shows errors for print test.
Sending a test file to 4050SA ...
... (3 Replies)
We've got this zebra bar code printer that was originally connected to the server on serial, but we had some issues with hand shaking so we connected its parallel port to a HP printer server.
Someone/thing upset the wired connection (not in the OS) today and now it doesnt print.
I can access the... (4 Replies)
Hello,
The code below pulls printer information from a three-column file (set by the ${MULTIFILE} variable at the end), that has the printer queue name, IP, and type of printer. It is supposed to use this info to add the printers in the list to one, or more servers . The input file... (3 Replies)
I have configured HP 9040 printer on my solaris server using lpadmin command and printer is working fine but customer is saying that printouts are coming on top of the printer not to side stacks. I would like to know how to send printouts to side stacks insted of top of the printer. Is that... (3 Replies)
Hi,
We check the printer status at the command line by giving the following command and the system gives an output;
lpstat -prn001_hp4000n
When I give the same command in a UNIX script the system gives an error while running the script as "lpstat: not found".
Please let me know... (8 Replies)
I need a virtual open source printer that can print to a text file. I need this printer to be open source because i will have to include it with my distribution of a program i am building.
Just for a little background information, i am going to be building a program to run inside of a... (5 Replies)
My printer is due to be retired and I plan to replace it with a wireless printer which I want to share, at present, between two computers.
I'm running a very small home network comprised of a dual boot Desktop containing two HDDs one for Windows XP Professional and the other currently Ubuntu... (3 Replies)
Im new in unix :D so I need some help, I need a command to :
1- See all IP of the pcs are connecting to system ( my pc ), If I can find the name as in windows it will be cool !
2- See what are in the printer's queue, how to cancel and restart it.
3- How to appear the content of file in the... (5 Replies)