OpenSolaris
Collectives
Discussions
Documentation
Download
Source Browser
Free CD
Log-in
|
en
Community Group printing
:
Where are the Bits
Top Menu
Show
:
Comments
Attachments
History
Information
Print
:
Print
Print preview
Export as PDF
Export as RTF
Export as HTML
Export as XAR
Wiki code for
Where are the Bits
Hide Line numbers
1: == Where are the Bits? 2: 3: The Solaris print system source code is is comprised of components from various sources. At the core of the print system is a Unix System V (r4) based spooler. Along with the spooler are client applications to make requests of and manage the spooler, filters to perform document translation, back-end processing software to perform final document transformation and device (printer) communication. To obtain a complete set of functionality, all sources are required. 4: 5: === Where to find the packages. 6: 7: The OpenSolaris code base can be found at [[http://cvs.opensolaris.org/source/xref/usr/src/>>http://cvs.opensolaris.org/source/xref/usr/src/]] 8: and contains the following Solaris Printing components: 9: 10: > |Solaris LP code 11: [[usr/src/cmd/lp>>http://cvs.opensolaris.org/source/xref/usr/src/cmd/lp/]] 12: |Original Solaris LP code base. Contains spooler, postscript filters, terminfo files, PAPI interface code, and more 13: |Solaris PostScript filters 14: [[usr/src/cmd/lp/postscript>>http://cvs.opensolaris.org/source/xref/usr/src/cmd/lp/filter/]] 15: |Base postscript filters 16: |Solaris LP spooler 17: [[usr/src/cmd/lp/cmd/lpsched>>http://cvs.opensolaris.org/source/xref/usr/src/cmd/lp/cmd/lpsched]] 18: |Base Solaris LP spooler 19: |PAPI Solaris LP interface code 20: [[usr/src/cmd/lp/lib/papi>>http://cvs.opensolaris.org/source/xref/usr/src/cmd/lp/lib/papi]] 21: |Support for applications using the [[PAPI>>Community Group printing.topics]] to interact with the Solaris LP spooler 22: |Legacy RFC-1179 to lpsched translator 23: [[usr/src/cmd/lp/cmd/bsd-adaptor>>http://cvs.opensolaris.org/source/xref/usr/src/cmd/lp/cmd/bsd-adaptor/]] 24: |Support for translating legacy protocol listener requests to lpsched messages. 25: |Legacy backend processing scripts 26: [[usr/src/cmd/lp/model/[net]standard>>http://cvs.opensolaris.org/source/xref/usr/src/cmd/lp/model/]] 27: |standard/netstandard interface scripts use for several years to perform final job processing and send job data to local and network attached printers 28: |Modified backend processing scripts 29: [[usr/src/cmd/lp/model/*_foomatic>>http://cvs.opensolaris.org/source/xref/usr/src/cmd/lp/model/]] 30: |modified versions of the *standard interface scripts that use foomatic for final job data transformation to a printer ready format. 31: |New backend processing script 32: [[usr/src/cmd/lp/model/uri>>http://cvs.opensolaris.org/source/xref/usr/src/cmd/lp/model/uri]] 33: |New backend processing script that optionally uses foomatic for final job data transformation to a printer ready format and uses helper modules (like smbspool) to send job data to a local or network attached printer. 34: |Local Printer I/O handler 35: [[usr/src/cmd/lp/model/lp.cat.c>>http://cvs.opensolaris.org/source/xref/usr/src/cmd/lp/model/lp.cat.c]] 36: |incredibly simplistic local printer I/O handler 37: |Local PostScript Printer I/O handler 38: [[usr/src/cmd/lp/filter/postscript/postio>>http://cvs.opensolaris.org/source/xref/usr/src/cmd/lp/filter/postscript/postio/]] 39: |more sophisticated local printer I/O handler 40: |Network Printer I/O handler 41: [[usr/src/cmd/lp/model/netpr>>http://cvs.opensolaris.org/source/xref/usr/src/cmd/lp/model/netpr/]] 42: |network printer I/O handler for printers that support raw sockets or "lpd" protocol 43: |Solaris Client code 44: [[usr/src/cmd/print>>http://cvs.opensolaris.org/source/xref/usr/src/cmd/print/]] 45: |Client comands (lp/lpr/lpstat/lpq/cancel/lprm/...), in.lpd rfc-1179 protocol listener, print manager, and more. The client commands will be replaced with PAPI based implementations in short order. 46: |Legacy RFC-1179 listener 47: [[usr/src/cmd/print/gateway>>http://cvs.opensolaris.org/source/xref/usr/src/cmd/print/gateway/]] 48: |Legacy RFC-1179 protocol listening service that will ultimately be replaced with a PAPI based version. 49: |Solaris PrintMgr code 50: [[usr/src/cmd/print/printmgr>>http://cvs.opensolaris.org/source/xref/usr/src/cmd/print/printmgr]] 51: |JAVA based configuration management GUI that eases queue creation/modification. 52: |Printer probe 53: [[usr/src/cmd/print/printer-info>>http://cvs.opensolaris.org/source/xref/usr/src/cmd/print/printer-info/]] 54: |A program to probe USB and ECPP connected printers for Make/Model information used by the printmgr. 55: |Various scripts 56: [[usr/src/cmd/print/scripts>>http://cvs.opensolaris.org/source/xref/usr/src/cmd/print/scripts/]] 57: |Various scripts including retreival of information from the PPD cache file used by the printmgr. 58: |Solaris common client library 59: [[usr/src/lib/print>>http://cvs.opensolaris.org/source/xref/usr/src/lib/print/]] 60: |Common code for client commands and client side management commands. As PAPI based client commands integrate, much of this code will dissappear. 61: |Name Service Switch support 62: [[usr/src/lib/nsswitch/*/common/getprinter.c>>http://cvs.opensolaris.org/source/xref/usr/src/lib/nsswitch/]] 63: |Name Service Switch support for client commands to get configuration data from a variety of sources including network repositories 64: 65: The Free Standard Group OpenPrinting API (PAPI) code base can be found at 66: [[http://cvs.sf.net/viewcvs.py/openprinting/papi>>http://cvs.sourceforge.net/viewcvs.py/openprinting]] and contains the following components: 67: 68: > |PAPI Shared routines 69: [[papi/source/libpapi-common/>>http://cvs.sourceforge.net/viewcvs.py/openprinting/papi/source/libpapi-common/]] 70: |Common routines used by most, if not all, of the PAPI support. This includes an implementation of the attributes interface and several helper functions 71: |PAPI Dynamic library 72: [[papi/source/libpapi-dynamic/>>http://cvs.sourceforge.net/viewcvs.py/openprinting/papi/source/libpapi-dynamic/]] 73: |PAPI library that provides names service lookup support and redirection to alternate PAPI implementations. 74: |PAPI RFC-1179/LPD support 75: [[papi/source/libpapi-lpd/>>http://cvs.sourceforge.net/viewcvs.py/openprinting/papi/source/libpapi-lpd/]] 76: |PAPI support for interacting with RFC-1179/LPD protocol servers. 77: |PAPI CUPS support 78: [[papi/source/libpapi-cups/>>http://cvs.opensolaris.org/source/xref/usr/src/cmd/lp/lib/papi/source/libpapi-cups/]] 79: |PAPI support for interacting with CUPS spooler using libcups interfaces. 80: |PAPI IPP support 81: [[papi/source/libpapi-ipp/>>http://cvs.sourceforge.net/viewcvs.py/openprinting/papi/source/libpapi-ipp/]] 82: |PAPI support for interacting with IPP based protocol servers. This includes servers like Solaris LP, CUPS, WinXP, and more. 83: |Core IPP protocol library 84: [[papi/source/libipp-core/>>http://cvs.sourceforge.net/viewcvs.py/openprinting/papi/source/libipp-core]] 85: |IPP encoding/decoding and on the wire support 86: |IPP listening service operations library 87: [[papi/source/libipp-listener/>>http://cvs.sourceforge.net/viewcvs.py/openprinting/papi/source/libipp-listener/]] 88: |Server side IPP operations support 89: |Apache IPP listener module 90: [[papi/source/mod_ipp>>http://cvs.sourceforge.net/viewcvs.py/openprinting/papi/source/mod_ipp/]] 91: |Apache glue module for passing IPP requests to the IPP listener library and ultimately the print service. (supports both Apache 1.X and 2.X) 92: |BSD & SYSV commands 93: [[papi/source/bsd-sysv-commands>>http://cvs.sourceforge.net/viewcvs.py/openprinting/papi/source/]] 94: |Replacement implementations of common BSD & SYSV print commands using the PAPI for print service interaction. 95: (lpr/lpq/lprm/lpc) 96: (lp/lpstat/cancel/accept/reject/enable/disable) 97: |Example code using the PAPI 98: [[papi/source/examples/>>http://cvs.sourceforge.net/viewcvs.py/openprinting/papi/source/]] 99: |Sample code that shows how to use the PAPI 100: |PAPI specification and documentation 101: [[papi/docs>>http://cvs.sourceforge.net/viewcvs.py/openprinting/papi/docs]] 102: |PAPI specification and documentation about code in the source base. 103: 104: The balance of the components can be found in various Open Source repositories throughout the internet. 105: 106: > |GhostScript 107: [[http://www.cups.org/espgs/index.php>>http://www.cups.org/espgs/index.php]] 108: |ESP Ghostscript 7.07.1 converts PostScript job data to a variety of printer ready formats. 109: |a2ps 110: [[http://www.gnu.org/software/a2ps/>>http://www.gnu.org/software/a2ps/]] 111: |a2ps 4.13 converts from various formats to PostScript 112: |gimp-print (aka gutenprint) 113: [[http://gimp-print.sourceforge.net/>>http://gimp-print.sourceforge.net/]] 114: [[http://sourceforge.net/projects/gutenprint/>>http://sourceforge.net/projects/gutenprint/]] 115: |gimp-print 4.2.6 support for a variety of different printers used with GhostScript 116: |HPIJS 117: [[http://hpinkjet.sourceforge.net/>>http://hpinkjet.sourceforge.net/]] 118: |hpijs 1.6 support for HP printers used with GhostScript 119: |psutils 120: [[http://freshmeat.net/projects/psutils/>>http://freshmeat.net/projects/psutils/]] 121: [[>>http://linuxprinting.org/foomatic.html]]|psutils p17 support for handling reasonably behaved PostScript files. 122: |ImageMagick [[http://sourceforge.net/projects/imagemagick/>>http://sourceforge.net/projects/imagemagick/]] 123: [[>>http://linuxprinting.org/foomatic.html]]|ImageMagick 5.4.7 support for image format conversion 124: |Foomatic 125: [[http://linuxprinting.org/foomatic.html>>http://linuxprinting.org/foomatic.html]] 126: [[>>http://linuxprinting.org/foomatic.html]]|Foomatic 3.0.2 is the document format converter from hell that makes use of all of these components, as well as annotated PPD files, to convert print job data to a printer ready format and folds in capability information on the way out to the printer. 127: |Foomatic ppd [[http://linuxprinting.org/foomatic.html>>http://linuxprinting.org/foomatic.html]]|Foomatic annotated PPD files with instructions on how to convert to a printer ready format and fold in printer capability information. 128: from 2004-03-04 129: |SAMBA 130: [[http://samba.org/>>http://samba.org/]] 131: |Samba 3.0.4 provides support for Windows clients to access printers on a Solaris host and Solaris a means of sending print job data to printers connected to Windows hosts using native windows protocols. 132: |GNOME (libgnomeprint) 133: [[http://cvs.gnome.org/.../libgnomeprint/.../PAPI/>>http://cvs.gnome.org/viewcvs/libgnomeprint/libgnomeprint/modules/papi/]] 134: |GNOME Application support to print via the PAPI. 135: |Apache 136: [[http://www.apache.org/>>http://www.apache.org/]] 137: |Apache Web server used for IPP support
Search
Collectives
Community Group
Academic and Research
Accessibility
Advocacy
Appliances
Approachability
Architecture Process and Tools
BrandZ
Chinese Users
Community Advisory Board
Databases
Desktop
Device Drivers
Distribution
Documentation
DTrace
Emerging Platforms
Fault Management
Games on OpenSolaris
HA Clusters
HPC Developer
Installation and Packaging
Internationalization and Localization
Laptop
Logical Domains
Modular Debugger (MDB)
Networking
NFS
Observability
OpenSolaris Governing Board (OGB)
OpenSolaris Printing
OS/Net (ON)
Performance
Power Management
PowerPC
Security
Service Management Facility (smf(5))
Software Porters
Solaris Volume Manager
Storage
Systems Administration Community Group
Testing
Tools Home
Unix File Systems (UFS)
Website Community
X Window System
Xen
ZFS
Zones
Project
ADSL Modem Enhancement
ARC Process Definition
ARM Platform Port
Automatic Data Migration
BIND Update
Bluetooth Stack & Drivers
Brocade FC HBA - Initiator
Brocade FC HBA - Target
Brussels - unified network link configuration
Caiman, Solaris Install Revisited
Celeste
Český portál
Chime Visualization Tool for DTrace
CIFS client for Solaris
CIFS Server
Clearview: Network Interface Coherence
Cluster Agent: Informix Dynamic Server
Cluster Agent: OpenSolaris Container
Cluster Agent: OpenSolaris xVM
Cluster Agent: Oracle E-Business Suite
Cluster agent: PostgreSQL
Cluster Agent: Samba
Cluster Agent: Tomcat
CMT
Coarse Data Flow Parallelism
Colorado: Open HA Cluster on OpenSolaris
Command Assistant
Common Array Manager
Companion - /opt/sfw: Free and Open Source software
COMSTAR: Common Multiprotocol SCSI Target
Content
Contest
CPU Observability
Credentials Process Groups
Crossbow: Network Virtualization and Resource Control
Crypto KMS Agent Toolkit
Cryptographic Framework
Data Migration Manager
Data Tethers
Deutsches Portal
Device Detection Tool
Device Driver Utility
Device Manager
Device Mapper
Direct Rendering Infrastructure & 3D drivers
DTrace Guide
Duckwater: Simplified name services management
Easy Tools
Emancipation
Emulex Fibre Channel Device Driver
Emulex Advanced Ethernet Device Driver
Enable/Enhance Solaris support for Intel Platform
Enhance the support of USB webcams
Enhanced SMF Profiles
Enhancements for AMD-based Platforms
Erlang DTrace Integration
Ethernet bridge module for Solaris
Evaluate Conary
Events Registry
Ext3 file system support
F/OSS Package Base
Facilitation
Fibre Channel over Ethernet
Fine Grained Access Policy (FGAP)
Fingerprint Authentication
Flexible Mandatory Access Control
Forensic Tools
Fully Open X Project
Fuse on Solaris
gcore
Generic Machine Check Architecture Improvements
Google SOC
HA-JBoss
HA-MySQL
Hadoop Live CD
Hitachi
HoneyComb Fixed Content Storage
HPC Stack
Image Packaging System
Improved Performance MIB
Indiana
Innovation Awards
Input Method
Intel Graphics
Internet Key Exchange, version 2
Interrupt Resource Management
IP Datapath Refactoring
IP over Infiniband
IPsec Tunnel Reform
iSCSI Extensions for Remote DMA (iSER)
iSNS Server
JeOS - Just enough Operating System
JKstat - a java binding for libkstat
Journaled File System (JFS)
K Desktop Environment
Kerberos
Kernel Sockets
Kernel SSL Enhancements
Key Management Framework
Korn Shell 93 integration/migration project
Labeled IPsec
LatencyTOP
Layer 2 Filtering
LDoms Manager
Lending
libMicro - portable microbenchmarks
Link Layer Discovery
Live Media: Technologies for distributions running from CD and other media
Locale Data
lofi compression and cryptography support
lx64 brand
Media Management System
Mega_sas
Mexico
MilaX minimal Live Distribution
MIPS Platform Port
Mozilla DTrace
MRSL.NONsharedDevice
Multi-lingual Glossary
Multi-pathing software (MPxIO)
Multiple disk sector size support
Multiple DOI
Muskoka: An open repository for OpenSolaris technical content
Navigator
Nemo: A Framework for High-Performance Networking
Network Auto-Magic
Network Data Management Protocol
Network MIBs
Network Storage
Network Time Protocol (NTP)
Nevada Globalization
New Design of 4over6 Mechanism Based on OpenSolaris
NFS RDMA transport update and performance analysis
NFS Server in non-Global Zones
NFS version 4.1 pNFS
NFSv4 namespace extensions
Nightingale: Port Songbird to OpenSolaris
NPort ID Virtualization (NPIV)
NUMA
Object Storage Device (OSD) support for Solaris
OHACGE Script Based Plug-in
ON/Nevada (ONNV) Project
Open Development Infrastructure
Open HA Cluster Utilities
Open Sound System
OpenGrok
OpenPegasus CIM Server
OpenRTI
OpenSolaris Busybox
OpenSolaris Desktop
OpenSolaris Hispano
OpenSolaris Security Audit
OpenSolaris support for the QEMU processor emulator: host and guest
PEF: Packet Event Framework
Performance Wrappers
Pkgfactory
Polski Portal
Portail Francophone
Portal Brasil
Portals
Power Management Usability Interfaces
Presto: Automatic Printing Configuration
Printable Many Page Solaris Manuals
Promise SuperTrak RAID HBA Driver
QLogic Converged Network Adapter GLDv3 NIC Driver
Quagga Routing Protocol Suite Integration
RAID Configuration Utility
RBridge (IETF TRILL) support
RDMA Offload Framework
Reno: Login Process Enhancements for Interop
Resource Management
s10brand
SAM/QFS
SCM Migration Project
SCSI RDMA Protocol
SDcard Drivers
Sensor Abstraction Layer
Session Initiation Protocol
SFW
Shell: bourne shell, korn shell, C shell, etc.
Sierra: Intel WiFi Chipsets Support
Simple Panels
SM-HBA Based SAS HBA Management
SMF Documentation
Solaris iSCSI Target
Solaris PowerPC Port
SourceJuicer
Sparks: name service switch/nscd enhancements
Squashfs
Star integration/migration project
Starfish
Starter Kit
Storage Power Management
Sun Security Toolkit
Sun StorageTek Availability Suite
Support for OpenFabrics User Verbs / API on OpenSolaris OS
Support gcc4/GCCfss in Solaris
Suspend/Resume
SVR4 Packaging
Systemz
Tamarack: Removable Media Enhancements in Solaris
Tesla: OpenSolaris Enhanced Power Management
Test Development
Tickless Kernel Architecture
TIPC
Trademarks
Trusted networking interface policy database for Trusted Extensions
Trusted Platform Module support
Use Case
Validated Execution Project
Virtual Console
Virtual Network Machines
Visual Panels
Visualization for HPC
Volo
VRRP: Virtual Router Redundancy Protocol Implementation
VSCAN service
Web Stack
Website
Winchester: Schema mapping and ID mapping for AD Interoperability
Wireless USB Support
Wireless Wide Area Network
X Consolidation
x86 Generic FMA Topology Enumerator
Xen Gate
Xfce: A lightweight desktop environment
ZFS Boot and Install
ZFS on disk encryption support
Zone Manager
Zone Statistics
Русский портал
البوابة العربية
भारतीय पोर्टल
中国门户
日本ポータル
한국 포탈
User Group
Adelaide
Argentina
Arizona
Atlanta
Baltimore-Washington
Bangalore
Bangkok
Bangladesh
Beijing
Bélem
Berlin
Bhimavaram
Bloomington
Campus Ambassadors
Capital Region
Cardiff
Charlotte
Chengdu
Chennai
Chihuahua
Chile
Cleveland
Colombia
Columbus
Connecticut
Cracow
Czech
Dallas/Ft. Worth
Danish
Delaware
Edinburgh
Egypt
Finland
Florida
Front Range
FuZhou
Great Lakes
Greece
Hangzhou
Hawaii
HeFei
Houston
Hyderabad
Indonesia
Irish
Israel
Italian
Jinan
Kabul
Kansas City
Latvia
London
Madurai
Manchester
Mato Grosso
Melbourne
Minas Gerais
Minnesota
Montreal
Moscow
Mumbai
Munich
NEA
Netherlands
New England
New York City
New Zealand
NIT Hamirpur
Noroeste
Oklahoma City
Osnabrück
Peru
Philadelphia
Piaski
Pittsburgh
Porto Alegre
Puget Sound
Pune
Queensland
Research Triangle Park
Romania
Russia
San Antonio
San Diego
San Francisco
São Paulo
Scottish
Serbia
Shanghai
Shenzhen
Silicon Valley
Singapore
Slovak
South African
Southern Connecticut
St. Louis
Sweden
Switzerland
Sydney
Szczecin
Taiwan
Tecum
Thames Valley
Tokyo
Toronto
Trondheim
Tulsa
Turkey
Ukraine
University of Melbourne
Vale do Paraíba
Vancouver
Venezuela
Welsh - Cymru
Wisconsin
Xi'an
Subsites
Code Reviews
Code Repositories
Package Search
Bugster
Bugzilla
Test Machines
Planet
Mailing Lists
Elections & Polls
ARC Case Logs
Source Juicer
Package Factory
User Authentication
Community Group printing Pages
Documentation
System Administration Guide: Solaris Printing
Using CUPS in the Solaris OS
Administering Printers by Using the OpenSolaris Print Manager
Commonly Used Printing Terms
Frequently Asked Questions
Files
History of Solaris Printing
Current Projects
Presto
PAPI Client Commands
PPD Cache Management
Standards
Topics of Interest
Where are the Bits