punosevac at math.arizona.edu
Mon Mar 24 21:02:42 PDT 2008
Bernt Hansson wrote:
> punosevac at math.arizona.edu skrev:
>>> Ted Mittelstädt wrote , at 2008-03-19 05:24:
>>>> CUPS <> Ghostscript. gs and all the foomatic stuff runs just fine
>>>> with LPR/LPD, no CUPS needed.
>>> Can one use a ppd-file with lpd/lpr?
>> Of course. A sample printcap file
> I'm not using foomatic but the ppd-file from HP for LJ2100, 2200, 4050
> and 8000 is that still possible? They all speak postscript.
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
Well if you want to use your printers in PostScript mode you can just
send row .ps file and it should print i.e.
you can remove the af and if lines from the printcap and should work.
Now what about other file types?
Lets have a second look for instance at LJ2100.
According to Linux Printing Database (which is the one
we also use in BSD world)
the recommended way of using for instance LJ2100 is via Printer Command
Language 5 or 6
i.e. you need a driver. The recommended driver for LJ2100 is pxlmono
which is build in Ghostscript.
If you use printer with Apsfilter you can just select the driver. Files
of any type should be printed no question asked.
If you use PPD file and fomatic-rip filter as
in the above printcap example the jobs would be passed through pxlmono
You may send to printer ps or non ps files (pdf, dvi, gif, html) and
everything should work no question asked.
The printer will work eight other drivers.
Now the final question is probably that there is custom PPD vile for
PostScript mode according to the same
I think that that one is only relevant for CUPS as PPD files are used
via IPP (only spoken by CUPS) to fake real communication with the
device and show things like printer status. I am not 100% sure but I
think that PPD file is
what one would call CUPS-PPD file. If you send let say .pdf file that
PPD file probably will tell CUPS how to
pass pdf file through GhostScript and create ps version and then print
it. I am not sure if it going to be useful with
LPD. Of course in the case you do not have any filters in your printcap
you can send only ps files to printer.
You can play on the following way. Remove the if (input filter line from
your printcap file) and keep af but put
that particular custom PPD file which is used for PostScript mode. Try
to send ps and pdf file. If it prints only ps
file that means that PPD does nothing for LPD if it can print pdf files
that means that is usable with LPD.
I personally use most printers in PCL mode just because I have lots of
different mish-mash printer non of which speaks
full PostScript language.
More information about the freebsd-questions