ECups Next Generation Printing Support for OS/2 Warpstock Europe 2011 Presented by Alex Taylor.

Slides:



Advertisements
Similar presentations
Till Kamppeter, MandrakeSoft, France PWG/FSG OP Meeting, March 31-April 4, 2003 linuxprinting.org and Foomatic The Current Standard for Printer Driver.
Advertisements

Vector Printer Driver API Update Osamu MIHARA OpenPrinting WG Japan/Asia Fuji Xerox Printing Systems Co. Ltd November 2004.
Chapter 21 Supporting Printers.
1 Chapter Overview Understanding Printer Administration Managing Printers Managing Documents Administering Printers Using a Web Browser Troubleshooting.
70-270: MCSE Guide to Microsoft Windows XP Professional
Chapter 10 Chapter 10: Printer Management. Chapter 10 Learning Objectives n Describe the printing process used by Windows NT n Install a local printer.
MIS Chapter 81 Ch. 8 – Implementing and Managing Printers MIS 431 – created Spring 2006.
70-270, MCSE/MCSA Guide to Installing and Managing Microsoft Windows XP Professional and Windows Server 2003 Chapter Ten Implementing and Managing.
9.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 9: Installing and Configuring.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 12: Network Printing and Offline Files.
Hands-On Microsoft Windows Server 2003 Chapter 2 Installing Windows Server 2003, Standard Edition.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
Guide to Linux Installation and Administration, 2e1 Chapter 12 Printing in Linux.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 8: Implementing and Managing Printers.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 8 Introduction to Printers in a Windows Server 2008 Network.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
Linux Networking CIS Why Linux/Unix? Configurability ▫Customizable System to satisfy unique needs. Scalability ▫Able to serve an increasing number.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
Installing software on personal computer
A+ Guide to Software, 4e Chapter 11 Supporting Printers and Scanners.
1 Chapter Overview Introduction to Windows XP Professional Printing Setting Up Network Printers Connecting to Network Printers Configuring Network Printers.
Printing Terminology. Requirements for Network Printing At least one computer to operate as the print server Sufficient RAM to process documents Sufficient.
Lecture 8 Configuring a Printer-using Magic Filter Introduction to IP Addressing.
CN1260 Client Operating System Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
1 Module 17 Printing from Windows NT. 2  Overview Windows NT Printing Process Printing from MS-DOS-based Applications Windows NT Printing Components.
Guide to MCSE , Second Edition, Enhanced1 Objectives Understand Windows XP print terminology and architecture Work with the Windows XP print subsystem.
Windows Server 2008 Chapter 6 Last Update
9.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 9: Installing and Configuring.
Chapter 13: Sharing Printers on Windows Server 2008 R2 Networks BAI617.
Configuring Disk Quotas Linux System Administration To implement disk quotas, use the following steps: Enable quotas per file system by modifying /etc/fstab.
Overview Print and Document Services Print Management console Printer properties Troubleshooting PowerShell.
Managing Local and Network Printer Chapter 11 powered by dj.
Overview Print and Document Services Print Management console Printer properties Troubleshooting.
IT2204: Systems Administration I 9. Printing. Printing  Printing and print services –Printing policies and architecture –Printing terms –Types of printers.
Module 4: Add Client Computers and Devices to the Network.
Module 14: Configuring Print Resources and Printing Pools.
1 Guide to Novell NetWare 6.0 Network Administration Chapter 11.
Chapter 6 Configuring Windows Server 2008 Printing
IOS110 Introduction to Operating Systems using Windows Session 9 1.
1 Managing Printers (Week 12, Monday 3/26/2007) © Abdou Illia, Spring 2007.
Installing Ricoh Printers There are two basic steps: 1. Acquire the drivers. 2. Use the Windows Add Printer Wizard to install the drivers within the operating.
SUSE Linux Enterprise Desktop Administration Chapter 12 Administer Printing.
Guide to Linux Installation and Administration, 2e1 Chapter 2 Planning Your System.
Large Scale Parallel Print Service Ivan Deloose – David Foster – Ignacio Reguero CHEP 2000 – 8 February 2000 – Padova (I) Presented by Ivan Deloose -
CIS Lesson 10 Printers. CIS Lesson 10.
Linux Printing Chapter 14. Linux Printing Configuring a local printer Configuring a remote printer Traditional UNIX printing CUPS web Interface CUPS on.
11 WORKING WITH PRINTERS Chapter 10. Chapter 10: WORKING WITH PRINTERS2 TERMINOLOGY PrinterLogical object Print DevicePhysical object Printer DriversSoftware.
11 WORKING WITH PRINTERS Chapter 10. Chapter 10: WORKING WITH PRINTERS2 THE WINDOWS SERVER 2003 PRINTER MODEL  Locally attached printers Printers that.
Page 1 Printing & Terminal Services Lecture 8 Hassan Shuja 11/16/2004.
Printing at CERN Rafal Otto, Juraj Sucik, CERN IT Department CHEP 2007 International Conference on Computing.
1 Terminology. 2 Requirements for Network Printing Print server Sufficient RAM to process documents Sufficient disk space on the print server.
Hands-On Microsoft Windows Server 2008 Chapter 5 Configuring Windows Server 2008 Printing.
Configuring Print Services Lesson 7. Print Sharing Print device sharing is another one of the most basic applications for which local area networks were.
Chapter 4: server services. The Complete Guide to Linux System Administration2 Objectives Configure network interfaces using command- line and graphical.
Hands-On Microsoft Windows Server 2008 Chapter 6 Configuring Windows Server 2008 Printing.
ICAICT201A USE COMPUTER OPERATING SYSTEM. USING THE CONTROL PANEL The Control Panel contains many options for configuring your computer, including: adding.
© 2015 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 1 Chapter 11: Printers IT Essentials v6.0.
Guide to Operating Systems, 5th Edition
Configuring Disk Quotas
Lesson 5: Configuring Print and Document Services
MANAGING LOCAL AND NETWORK PRINTERS
Large Scale Parallel Print Service
Introduction to Computers
Introduction to Computers
Lesson #7 MCTS Cert Guide Microsoft Windows 7, Configuring Chapter 7 Configuring Devices and Updates.
CUPS Print Services.
Chapter 11 Supporting Printers and Scanners
Chapter 11: Printers IT Essentials v6.0 Chapter 11: Printers
Configuring Disk Quotas
Presentation transcript:

eCups Next Generation Printing Support for OS/2 Warpstock Europe 2011 Presented by Alex Taylor

eCups ● What is it? eCups is a new printing framework for OS/2 and eComStation, based on CUPS (the Common Unix Printing System) ● Why do we need it? OS/2 printer drivers are no longer provided for current- model printers While OS/2 continues to support PostScript printers, most consumer-grade printers are not PostScript, and need specific drivers eCups provides a potential solution

How Printing Works ● Every printer has its own native “language” Expects to receive print data in that language Language tends to vary according to manufacturer ● Printing to any printer requires: A. Translating print data into the printer's language B. Sending that data to the printer C. Job management/sequence control ● Under OS/2 (by means of a printer object): A. Printer driver (via individual printer device) B. Port driver (via individual printer port) C. Spooler (via individual print queue)

Printing Under OS/2 Presentation Manager ● Print jobs are sent as GPI data The printer driver converts them into the printer's native format ● Plain text & printer-native data are also accepted These can be passed straight on to the printer

OS/2 Printer Drivers ● Rather than supporting just one printer, most OS/2 printer drivers support an entire class of printers (usually based on a common printer language). For this reason they are sometimes called PrinterPak drivers Common OS/2 printer drivers include: LASERJET (PCL-based printers) EPOMNI[1-5](Epson inkjet printers) OMNI(Various models, mostly inkjets) PSCRIPT(PostScript printers)

PostScript Printers ● Some printers use PostScript as their “native” language PostScript is a well-defined, standardised language Allows generic support across PostScript devices Printer-specific capabilities are defined in PPD files ● Any PostScript printer can be supported by “importing” its PPD file The OS/2 PostScript driver includes a utility (PIN) for this purpose Therefore (in theory) any PostScript printer – old or new – can be fully supported on OS/2!

Printing Under Unix ● Unix is not an OS but a whole family of OSes There is no common GUI environment There is no unified data format (like GPI) for applications to use for their print jobs There is no real standard for print spooling (LPD is primitive, and different implementations are not perfectly compatible) ● Applications often have to provide their own printer drivers for each printer and each OS!

Common Unix Printing System ● All print jobs are PostScript files All PostScript printers can print these files natively For non-PostScript printers, conversion filters are provided which can convert PostScript into that printer's native language ● Applications generate print data in PostScript format CUPS accepts a few other formats (e.g. plain text, PDF, some types of image files) which it can convert to PostScript itself ● Effectively, all printers are now PostScript!

Overview of CUPS Operation

How eCups Works (1) ● The normal OS/2 print process, with a PostScript driver → The final output is a PostScript file ● What does CUPS expect as input? A PostScript file! Hmm...

How eCups Works (2) ● Applications print to a WPS printer object ● Special eCups port driver redirects the output to CUPS ● CUPS converts the PostScript and sends it to the actual printer

Installing eCups (1) ● Components: CUPS (daemon, filters, and support files) Ghostscript (used for PostScript data conversion) eCups port driver Printer support package – at least one of: Gutenprint (drivers for most printers) Splix (various Samsung and Xerox printers) HP-LIP (various HP printers) Other support packages (foomatic/foo2qpdl, etc.) PostScript printer driver, one of: ECUPS.DRV (default) ECUPS-HP.DRV (for use with HP-LIP)

Installing eCups (2) ● Default method: installing from ZIP files Unzip eCups port driver to \OS2\DLL and install from WPS Unzip ECUPS.DRV / ECUPS-HP.DRV to any directory, and use the WPS to install it from there Unzip all other packages to the root directory of a single drive. ● Experimental: WarpIN packages (WPI) Download WPI packages for each component required. ● Upgrading: install on top of previous version

Configuring eCups ● Make sure the eCups port driver is installed ● Check the path to Ghostscript in: \cups\lib\cups\filter\pstoraster \cups\etc\foomatic\filter.conf \cups\bin\foo2qpdl-wrapper (This is also required when upgrading Ghostscript) ● When upgrading GutenPrint: Edit all Gutenprint printers in the CUPS Administration GUI and re-select the PPD files

Printing with eCups ● Three steps to set up a printer: Create a printer in CUPS itself Create a desktop (WPS) printer object Create a port (CUPSx) to connect the two ● A graphical tool to automate this process is still under development

Creating a CUPS Printer ● Select built-in model or import PPD file ● Select back-end (printer connection) USB TCP/IP (IPP/LPD/AppSocket) SMB ● Assign name ● Set job options ● Print a test page!

Creating an OS/2 Printer ● Desktop 'Printer' template, eComStation 'Install Printer' tool, etc. ● Select the driver/model 'Other printer driver' → path to ECUPS files If not listed, it may be necessary to import from PPD

Creating a Printer Port ● Make sure CUPS.PDR is in x:\OS2\DLL ● Printer object properties → 'Output Port' → 'Install New Port' Select 'CUPS' port type ● Set port properties (double-click on port) Server: usually 'localhost' Printer name: as defined in CUPS

Troubleshooting (in CUPS) ● Make sure CUPSD.EXE is running ● Make sure you can print test page from CUPS web console and/or using CUPS lpr ● CUPS error log Turn on detailed logging if necessary Try and isolate the failing program/filter (e.g. pstoraster, Ghostscript, foomatic-rip, etc.) ● Make sure path to Ghostscript is correct ● Make sure the network URI is correct/valid

Troubleshooting (in WPS) ● Printing from application fails: Use ECUPS or ECUPS-HP, not PSCRIPT Make sure server and printer name are correct Make sure CUPSD.EXE is running ● Cannot edit driver/job properties in printer Make sure EAs on ECUPS[-HP].DRV are intact With imported PPDs, verify existence/timestamp of x:\OS2\DLL\...\AUXPRINT.PAK Reinstall driver if necessary

Future Plans ● Simpler installer (WarpIN) ● Integrated printer creation GUI ● More/better documentation ●... Suggestions?

Online Resources ● eCups website: Overview, files, links HOWTO (illustrated), Frequently Asked Questions ● CUPS: Manuals, forums, API documentation ● OpenPrinting database: Model and driver look-up

Questions? ?