Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

libprinterconf(3) [debian man page]

libprinterconf(3)					     Library Functions Manual						 libprinterconf(3)

NAME
libprinterconf - A C library of routines for autodetecting printers in Linux SYNOPSIS
Libprinterconf is a C library for autodetecting printers from Linux. It currently supports two methods of autodetection: parallel port detection and network detection. The following functions are available: pconf_detmethod_t *pconf_get_detection_methods (int *count); char ** pconf_detect_printer (int dettype, char *detinfo); char * pconf_autodetect_pport (long int port); DESCRIPTION
Each of these is described in detail in its own man page. Of most interest is pconf_detect_printer(). This function will execute one of the detection methods and return an array of character strings, each representing a single detected printer. The actual format of these strings will depend on the detection method. For parallel port detection, the string will be in the basic form: "port=p;model=m". For a network printer the form is: "printer=hostaddr;vendor=v;model=m". This library is intended for use by printer detection and configuration tools. SEE ALSO
pconf_detect(6), pconf_detect_printer(3), pconf_get_detection_methods(3), pconf_autodetect_pport(3), pconf_read_xref_file(3), pconf_find_xref_by_id(3) Printerconf Docs 12 April 2000 libprinterconf(3)

Check Out this Related Man Page

FOOMATIC-GETPJLOPTIONS(8)				      System Manager's Manual					 FOOMATIC-GETPJLOPTIONS(8)

NAME
foomatic-getpjloptions - <put a short description here> SYNOPSIS
foomatic-getpjloptions device foomatic-getpjloptions hostname port DESCRIPTION
foomatic-getpjloptions Sends a set of PJL commands and reads back the PJL options and status from a printer over a network connection or device bidirectional interface such as parallel, USB, serial. printers to standard output. The output can be piped into foomatic-addpjlop- tions to add options to the database. Options device The interface to which a local printer is connected, e.g. /dev/lp0, /dev/usb/lp0, /dev/tty00, etc. For a parallel port, you must have bidirectional support enabled at the BIOS level and the parallel port driver must support the bidirectional mode. Check your parallel port BIOS settings for EPP/bi-directional mode. hostname Host name or IP address of a network printer (HP JetDirect, DLINK, etc.). port Port on which your network printer listens for socket (Appsocket) connections. Most common ports are 9100 (JetDirect), 10000 (DLINK). Usually you can configure the port via a configuration interface. EXIT STATUS
foomatic-getpjloptions returns ??? AUTHOR
Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de> for the foomatic project using output from the associated binary. Modified by Patrick Pow- ell <papowell at lprng.com> to provide betters support for network printers, error messages, and remove CR and FF from output. WARNINGS
Uni-directional protocols as remote LPD are not supported as no status is returned. Some network print servers which attach to a printer parallel port do not support bidirectional mode. Foomatic Project 2001-05-07 FOOMATIC-GETPJLOPTIONS(8)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Pinter model list

Where can I install from to update to the most recent printer model list when installing a printer? Thanks (1 Reply)
Discussion started by: kikkin
1 Replies

2. AIX

Memoryleak detection using MALLOCDEBUG

This topic could also fit into the High Level Programming Forum, but i post it here since its very AIX specific. I am trying to isolate and resolve memory leaks and -corruption using AIX's MALLOCDEBUG environment variables. Isolate and resolve memory leaks using MALLOCDEBUG on AIX Version 5.3 ... (0 Replies)
Discussion started by: Lazzar
0 Replies

3. Shell Programming and Scripting

NAT detection

hellou, can anybody help me with nat detection in real time ? i prefer some detection script because i try some nat detection program's for example p0f or i'm using tcpdump, but i would get contain of specific packet. Some ideas? (1 Reply)
Discussion started by: TheTechnic
1 Replies

4. Linux

On Zorin - trouble installing new printer - need help

Hi. I am new to Linux & am using Zorin on my computer. :confused: I had my old printer pack it in & so I had to replace it with my new printer - which is the same make & model as the old one (a newer model only). There is some code name under Printers which I presume to be the old printer. ... (1 Reply)
Discussion started by: snookerdoodles
1 Replies