[cups.general] Re: Printer classes and Windows

Helge Blischke H.Blischke at srz-berlin.de
Fri Jul 23 11:18:47 PDT 2004


Anthony Chavez wrote:
> 
> 
> On Thu, 22 Jul 2004 13:31:47 +0200 Helge Blischke <H.Blischke at srz-berlin.de> wrote:
> 
> >> > Anthony Chavez wrote:
> >> >
> >> >> I've currently got the class set up to use the PostScript devices, with
> >> >> Adobe's drivers installed on the client machines.  This works great
> >> >> except Ghostscript renders pages quite slowly.  So I'm interested in
> >> >> using class that will print to the raw devices instead.
> >> >>
> >> >> However, when I try to configure the clients, I get prompted to install
> >> >> a driver (as you would expect), but I'm not sure what to tell it, since
> >> >> the class is heterogeneous.
> >
> > Well, I posted just what I would do in that case. As for the .inf file,
> > an example
> > has been posted recently in the cupd.development newsgroups.
> 
> Can you point me to the thread / message in question?  A search for
> ".INF" on gmane.org only yielded one thread ("Cups 1.1.20 User Mode
> Driver") that isn't very recent.
see the attachment
> 
> > As for the "joint PPD", things are a little bit tricky, as both physical
> > printers have to be handled differently. A first approach may be to
> > write a
> > PPD that only contains those statements, e.g. for paper sizes, that are
> >   b) switched on or off by exactly the same PS code on both printers.
> 
> I don't think that I was being clear enough in my above statement.  I am
> looking for a driver that would support multiple heterogeneous *raw*
> printers (though using their PCL drivers would be acceptable).
> 
> In my case, one printer has native support for PostScript, but the other
> requires Ghostscript, which renders too slowly (I think this is because
> it's printing at too high of a resolution).
> 
> I am looking to get away from using Ghostscript, but now that I think
> about it, this brings to mind another question: is it possible to
> configure CUPS to print at a different resolution, or is that only
> possible through the Windows driver?  I am currently using the Adobe
> PostScript printer driver [1], which doesn't appear to have that
> capability.
> 
> > Any things beyond this "primitive" approach would require quite a lot
> > more
> > work, including special filters for post-processing the code coming from
> > the Winxx box(es).
> 
> Thanks for the pointers.  I have yet to delve into PPD code, so wish me
> luck. :-)
> 
> [1] http://www.adobe.com/support/downloads/product.jsp?product=44&platform=Windows
> 
> - --
> Anthony Chavez                             http://www.anthonychavez.org/
> mailto:acc at anthonychavez.org                jabber:acc at anthonychavez.org

-- 
H.Blischke at srz-berlin.de
H.Blischke at srz-berlin.com
H.Blischke at acm.org
-------------- next part --------------
>From - Sat Oct  4 18:48:08 2003
Path: news.easysw.com!not-for-mail
From: Guenther Frick <gfrick at chemie.fu-berlin.de>
Newsgroups: cups.development
Subject: Re: Cups 1.1.20 User Mode Driver
Date: Fri, 3 Oct 2003 21:03:50 +0000 (UTC)
Organization: Easy Software Products
Lines: 94
Message-ID: <blko7m$ad1$1 at dns.easysw.com>
NNTP-Posting-Host: dns.easysw.com
X-Trace: dns.easysw.com 1065215030 10657 65.120.94.1 (3 Oct 2003 21:03:50 GMT)
X-Complaints-To: news at dns.easysw.com
NNTP-Posting-Date: Fri, 3 Oct 2003 21:03:50 +0000 (UTC)
In-Reply-To: <bljpkq$baa$1 at dns.easysw.com>
Xref: news.easysw.com cups.development:957

Anonymous wrote:

> You may not have noticed, but the current CUPS PostScript driver supports(**)
> some CUPS-specific extensions (like setting job priority, banner pages,
> page
> label and job billing options). I would very much like to see these
> and
> other IPP extensions (like "job-hold-until" and others), plus maybe
> even 
> some deliberate "self-invented" options supported in a "version 3"
> driver.
> 
> If I had a field for "Custom Options", where I can fill in any option
> value
> (maybe even supporting it through a PPD section, which could offer
> pre-defined
> values) I could write my own CUPS filters which would read and process
> that
> option values.
> 
> -----------------------------------------------------------------------
> (**) through the "*cupsJobTicket" keywords in the header of the generated
> PostScript file, with lines like 
>     "*cupsJobTicket: job-sheets=banner.ascii, banner.ascii2"
> 
> 
> > If you install the latest service
> > pack you would also have an actual version of Adobe's Postscript
> driver.
> > The only difference is 
> 
> No, there are more differences (see above):
> 
>
(Appendix missing)

I wonder where I can read a in-depth documentation about the
CUPS Postsript driver. There is nothing provided with it.

Here is an INF file for installation of the CUPS Postscript driver
to whom it concern. Replace the PPD entry with yours.

################# cut below ###################
[Version]
Signature="$CHICAGO$"
Class=Printer
Provider=%MS%
LayoutFile=layout.inf

; The Manufacturer sections lists all of the manufacturers
;  that we willdisplay in the Dialog box

[Manufacturer]
"Kyocera"

; Model sections.  Each section here corresponds with an entry listed in the
; [Manufacturer] section, above.  The models will be displayed in the order
; that they appear in the INF file.

[Kyocera]
"Kyocera FS-800"                                   = FS-800,PPD,Kyocera FS-800


; Installer Sections

[FS-800.PPD]
CopyFiles=@FS-800.PPD,PSCRIPT
DataSection=PSCRIPT_DATA


; Data Sections
;

[PSCRIPT_DATA]
DriverFile=CUPSDRVR.DLL
HelpFile=CUPS.HLP
LanguageMonitor=CUPSUI.DLL

; Copy Sections
;

[PSCRIPT]
CUPSDRVR.DLL
CUPS.HLP
CUPSUI.DLL

[DestinationDirs]
DefaultDestDir=11

[Strings]
MS="Microsoft"
CLASSNAME="Printer"
#################### cut above ################### 



More information about the cups mailing list