Bug 434820 - No support for HPGL printers/knife cutters/laser cutters
Summary: No support for HPGL printers/knife cutters/laser cutters
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer   
(Show other bugs)
Version: 8
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
Keywords: Reopened
Depends On:
TreeView+ depends on / blocked
Reported: 2008-02-25 17:31 UTC by Alan Cox
Modified: 2008-02-26 13:47 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-26 13:47:44 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Alan Cox 2008-02-25 17:31:36 UTC
Description of problem:

Various plotters/knife cutters/laser cutters such as the Graphtec need HPGL or
filtered HPGL as input. Although all of the pipeline for this is free software
and exists our print system has no idea how to drive them

Expected Results:

Recognize the printer and/or offer generic/hpgl option

Produce a print pipeline of:

pstoedit -f plot-hpgl

Or for cutters that need filtering

pstoedit -f plot-hgpl | hpgl-distiller 

For anyone doing signmaking, laser cutting or similar this means you can then
print from inkscape and produce product without hacks

See also:  http://pldaniels.com/hpgl-distiller

Can provide a test environment.

Comment 1 Tim Waugh 2008-02-25 17:50:47 UTC
Sounds like you need to make a package that provides:

a) CUPS filter (man 7 filter) for converting application/postscript to
application/hpgl (or whatever).  Just need to parse arguments and work out
whether input comes from stdin or from a named file

b) PPD file(s) with the appropriate *cupsFilter line -- you can probably use
cupsddk to create one to suit.  Just need something like:

*cupsFilter: "application/vnd.cups-postscript 0 my-pstohpgl-filter"

None of this needs changes to system-config-printer or to cups.

Comment 2 Tim Waugh 2008-02-26 11:35:18 UTC
Let me know if you need further help with it.

Comment 3 Alan Cox 2008-02-26 13:34:06 UTC
I opened this bug against system-config-printer not cups. Re-opening.

This ought to be automatic, and/or an system-config-printer option for generic/hpgl

Comment 4 Tim Waugh 2008-02-26 13:47:44 UTC
It's nothing to do with system-config-printer -- nowadays that is just another
interface to CUPS, just like http://localhost:631/ and like /usr/sbin/lpadmin.

All you need to do is make yourself a cupshpgl package which just provides the
PPD and the filter. (...and then we can put it through the Fedora review process

See e.g. gutenprint-cups, which does something extremely similar.

No changes are needed in existing packages for this.

Note You need to log in before you can comment on or make changes to this bug.