| 1 |
******************************************************************************* |
| 2 |
File: @(#)$Id: NEWS,v 2.10 2001/08/19 09:05:15 Martin Rel $ |
| 3 |
Contents: Significant user-visible changes between versions of pcl3/hpdj |
| 4 |
Author: Martin Lottermoser, Greifswaldstrasse 28, 38124 Braunschweig, |
| 5 |
Germany. E-mail: [email protected]. |
| 6 |
|
| 7 |
******************************************************************************* |
| 8 |
* * |
| 9 |
* Copyright (C) 1997, 1998, 1999, 2000, 2001 by Martin Lottermoser * |
| 10 |
* All rights reserved * |
| 11 |
* * |
| 12 |
******************************************************************************* |
| 13 |
|
| 14 |
|
| 15 |
Version 3.3 (released 2001-08-19) |
| 16 |
================================= |
| 17 |
* Options |
| 18 |
- There is a new option "-sPJLJob" for declaring the generated file as a |
| 19 |
PJL print job. |
| 20 |
- I've documented the options "PCLInit1" and "PCLInit2" because I now know of |
| 21 |
a situation where one of them is needed. |
| 22 |
- The option "-dCUPSMessages" has been split into "-dCUPSMessages" and |
| 23 |
"-dCUPSAccounting". |
| 24 |
- I have added a new option "-dConfigureEveryPage" which is needed by some |
| 25 |
not strictly PCL-3-conforming printers. |
| 26 |
* Compilation |
| 27 |
- Adaptation to AFPL ghostscript 7.0 (previously only available as a patch |
| 28 |
file) and GNU ghostscript 6.51. |
| 29 |
* Other |
| 30 |
- I've removed the "PageCountFile" configuration parameter for cups-pcl3 |
| 31 |
because the corresponding device parameter can also be set from PostScript. |
| 32 |
- I've corrected a bug which showed itself in wrong colour rendering for |
| 33 |
yellow on 64-bit platforms when using Floyd-Steinberg error diffusion. |
| 34 |
- If you've been using gs-pcl3-hpdj8xxc.ppd or gs-pcl3-hpdj1120c.ppd in an |
| 35 |
environment where you had to explicitly specify values for the options |
| 36 |
"*eprnBlackLevels" or "*eprnNonBlackLevels" you'll have to replace these |
| 37 |
now with a reference to "*pcl3IntensityLevels". |
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
Version 3.2 (released 2001-03-26) |
| 42 |
================================= |
| 43 |
This is the first non-beta release of pcl3 after hpdj 2.6. |
| 44 |
|
| 45 |
The main functional extension in this release is support for the Common UNIX |
| 46 |
Printing System (CUPS): |
| 47 |
- I have added PPD files for the supported subdevices. |
| 48 |
- The package now contains a filter for using pcl3 with CUPS. |
| 49 |
- The driver has a new option "-dCUPSMessages" to generate messages in the |
| 50 |
format demanded by CUPS. |
| 51 |
|
| 52 |
|
| 53 |
Version 3.1 (released 2001-02-28) |
| 54 |
================================= |
| 55 |
- After waiting almost 5 years for someone to implement it where it logically |
| 56 |
belongs (in the ghostscript core distribution somewhere near the "prn" |
| 57 |
device), I have finally dropped a deliberate restriction in hpdj/pcl3 and |
| 58 |
have implemented Floyd-Steinberg error diffusion on my own. The resulting |
| 59 |
quality is quite good, the performance isn't. There is a new option |
| 60 |
"-sIntensityRendering" which selects the rendering method to use. |
| 61 |
- I have added support for the RGB colour model. This is mostly of interest to |
| 62 |
people writing other ghostscript drivers and wishing to use pcl3's "eprn" |
| 63 |
device. |
| 64 |
- I have changed the "SendNULs" option to be of integer type instead of a |
| 65 |
boolean. |
| 66 |
- The option "-dNoHalftoning" has been replaced by the value "printer" for the |
| 67 |
new option "-sIntensityRendering". |
| 68 |
- I have changed the %N name used by the message catalogues for pcl3opts from |
| 69 |
"pcltools" to "pcl3opts". You should delete your old catalogues if you |
| 70 |
installed them. |
| 71 |
|
| 72 |
|
| 73 |
Version 3.0.2 (released 2000-11-09) |
| 74 |
=================================== |
| 75 |
- Because I'm disappointed with the way the FTP server previously used for |
| 76 |
distributing hpdj is administered, I've moved pcl3's WWW home page to |
| 77 |
http://home.t-online.de/home/Martin.Lottermoser/pcl3.html. |
| 78 |
- I've made one change in the generated PCL code (argument value for Start |
| 79 |
Raster Graphics) which, according to the HP documentation available to me, |
| 80 |
should be equivalent but which is apparently a necessary condition for duplex |
| 81 |
printing on the HP DJ 970C. |
| 82 |
- The option -dOnlyCRD is now documented. |
| 83 |
- Rearrangements in the output of pcl3opts, addition of -dOnlyCRD if needed. |
| 84 |
- Clarifications in the reference page. |
| 85 |
|
| 86 |
|
| 87 |
Version 3.0.1 (released 2000-10-27) |
| 88 |
=================================== |
| 89 |
Bugfix release (-sSubdevice leading to 300 ppi resolution). |
| 90 |
|
| 91 |
|
| 92 |
Version 3.0 (released 2000-10-22) |
| 93 |
================================= |
| 94 |
As predicted in hpdj 2.5, the name of this driver has been changed to "pcl3". |
| 95 |
I am sorry it took so long for this version to be released, but, apart from |
| 96 |
other tasks intervening, the work for this driver expanded in a manner I had |
| 97 |
not anticipated. The current version is practically a new implementation, hence |
| 98 |
this is only a beta release which should be approached with appropriate care. |
| 99 |
|
| 100 |
* Functionality/behaviour of the driver |
| 101 |
|
| 102 |
+ Removed Functionality |
| 103 |
- I have removed the optional source code for generating a device-specific |
| 104 |
'InputAttributes' page device parameter. I had misunderstood the purpose |
| 105 |
of this parameter in PostScript. |
| 106 |
|
| 107 |
+ Modifications |
| 108 |
- The option "Colo[u]rMode" is now called ""Colo[u]rModel" and its default |
| 109 |
value is called "Gray" instead of "mono". |
| 110 |
- The default for "ManualFeed" is now always "false". |
| 111 |
- The "MarginFile" option has been renamed "MediaConfigurationFile" and |
| 112 |
media configuration files now expect PPD mediaOption keywords (like "A4") |
| 113 |
instead of PCL page size codes ("26" for ISO A4) to identify media sizes. |
| 114 |
- The "MediaType" parameter has been renamed "Medium" to prevent a conflict |
| 115 |
with PostScript Level 3. There are extensions in the permissible values |
| 116 |
as well. |
| 117 |
- The "Model" option has been renamed "Subdevice" and the permissible |
| 118 |
values have been changed. |
| 119 |
- The "PagecountFile" option is now called "PageCountFile" in order to |
| 120 |
agree with the spelling of the page device parameter "PageCount". |
| 121 |
- The default compression method depends now on the subdevice chosen. |
| 122 |
For "unspec", it is 2 instead of 9 as previously. |
| 123 |
|
| 124 |
+ Extensions |
| 125 |
- More printer models are explicitly supported (in particular some of the |
| 126 |
series 300 and 600 DeskJets). |
| 127 |
- It is now possible to select supported printer models (subdevices) |
| 128 |
directly by a "-sDEVICE" option. |
| 129 |
- The driver can now also deal with media fed long edge first. This is |
| 130 |
needed for envelope sizes on some older DeskJets. The implementation is |
| 131 |
actually more general and adds support for the standard |
| 132 |
PostScript-Level-3 page device parameter "LeadingEdge". |
| 133 |
- The driver now reacts to media positions (numbers identifying input or |
| 134 |
output trays) determined by PostScript's media selection process. |
| 135 |
- The driver now supports banner printing. |
| 136 |
- The driver now supports duplex printing. |
| 137 |
- There is a new option "-dNoHalftoning" which turns off ghostscript's |
| 138 |
halftoning. |
| 139 |
- I've added support for printers (e.g., Olivetti JP 792) which violate PCL |
| 140 |
in requiring the black pixel plane to be sent last when printing in |
| 141 |
colour. |
| 142 |
- You now have direct access to print quality parameters for older DeskJets. |
| 143 |
- There are two new options with minor usefulness (SendNULs, PJLLanguage). |
| 144 |
|
| 145 |
* Documentation |
| 146 |
- I have rewritten the documentation in SGML, using the DocBook DTD. |
| 147 |
The distribution contains derived variants as an nroff/troff manual page |
| 148 |
and in HTML format. |
| 149 |
- To my dismay I have discovered that the description on how to increase the |
| 150 |
halftone screen frequency does not work with current ghostscript versions. |
| 151 |
The manual page has been corrected accordingly. |
| 152 |
- The support for functionality needing the PCL command "Configure Raster |
| 153 |
Data" is no longer marked as unsafe because I have finally obtained some |
| 154 |
official HP documentation on it. |
| 155 |
- I've added a preliminary version of a TeX document (notes.tex) containing |
| 156 |
useful information for other driver implementors. |
| 157 |
|
| 158 |
* Other Changes |
| 159 |
- I've added a command "pcl3opts" which parses PCL-3+ files and guesses the |
| 160 |
options needed to generate a file with similar settings using pcl3. This |
| 161 |
command is intended for people having access to a manufacturer-endorsed |
| 162 |
driver for their printer. |
| 163 |
- I've added some PostScript files to the package: |
| 164 |
- calign.ps for checking the relative alignment of ink cartridges |
| 165 |
- dumpppd.ps for dumping the contents of the page device dictionary to |
| 166 |
standard output |
| 167 |
- levels-test.ps for checking the basic colour capabilities of ghostscript |
| 168 |
and the driver |
| 169 |
|
| 170 |
* Compilation/Sources |
| 171 |
- I have restructured the driver and split it into three layers. |
| 172 |
The top-most one is a new abstract gs device ("eprn") extending |
| 173 |
ghostscript's standard "prn" device and dealing with aspects independent of |
| 174 |
PCL. The lowest layer is a PCL-3+ generator. Both components are intended |
| 175 |
to be usable in other contexts as well. The "pcl3" driver proper is the |
| 176 |
intermediate layer connecting the other two. |
| 177 |
- The way you have to integrate pcl3's sources in the compilation has |
| 178 |
changed. You now have less compilation options to worry about. |
| 179 |
|
| 180 |
|
| 181 |
|
| 182 |
Version 2.6 (released 1999-10-16) |
| 183 |
================================= |
| 184 |
The main purpose of this version is to update the address of hpdj's FTP site |
| 185 |
and my e-mail address which have changed. Other changes are: |
| 186 |
|
| 187 |
* Documentation |
| 188 |
- I have removed the description of HPDJ_INPUTATTRIBUTES from README.hpdj. |
| 189 |
The symbol can still be defined during compilation if you need it, but |
| 190 |
because I had misunderstood the purpose of the 'InputAttributes' page |
| 191 |
device parameter hpdj's resulting behaviour is not in agreement with the |
| 192 |
PostScript language definition. |
| 193 |
- README.hpdj now describes a fix for ghostscript's BG/UCR bug which was |
| 194 |
previously mentioned only on hpdj's WWW home page. |
| 195 |
- I've made numerous small changes in the manual page and README.hpdj. |
| 196 |
|
| 197 |
* Compilation |
| 198 |
- The make file parts needed for hpdj are no longer diffs but simply text |
| 199 |
segments which can be inserted with an ordinary text editor. |
| 200 |
|
| 201 |
There are almost no changes in the source code. |
| 202 |
|
| 203 |
|
| 204 |
|
| 205 |
Version 2.5 (released 1998-11-22) |
| 206 |
================================= |
| 207 |
This is mainly a release to adapt hpdj to gs 5.50. There are no changes in |
| 208 |
functionality. |
| 209 |
|
| 210 |
Unless there arise reasons for quickly issuing a new package, this will be the |
| 211 |
last release where the driver is called "hpdj". The new name will probably be |
| 212 |
"pcl3" and numbering will start with version 3.0. |
| 213 |
|
| 214 |
* Changes in behaviour |
| 215 |
- hpdj will now complain if you specify the option 'BitsPerPixel' unless the |
| 216 |
value given happens to be the same as the one chosen by hpdj. |
| 217 |
|
| 218 |
* Compilation |
| 219 |
- hpdj should now adapt automatically to the ghostscript version used, i.e., |
| 220 |
you no longer have to set version-specific defines for older gs releases. |
| 221 |
- One user encountered and located a bug in Microsoft VC++ 5.0 which |
| 222 |
prevented reading margin files. This release works around the bug. |
| 223 |
|
| 224 |
* Documentation |
| 225 |
- Numerous small changes. |
| 226 |
|
| 227 |
|
| 228 |
|
| 229 |
Version 2.4 (released 1998-04-27) |
| 230 |
================================= |
| 231 |
Starting with this version, hpdj is released under the terms of the GNU Library |
| 232 |
General Public License (LGPL) instead of the GNU GPL. |
| 233 |
|
| 234 |
* Extensions |
| 235 |
- This version supports the Color Resolution Enhancement technology (C-REt) |
| 236 |
feature of some HP series-800 DeskJets, at least as far as I've been able |
| 237 |
to discover how this works without any documentation from HP. See the |
| 238 |
description of the new options 'BlackLevels' and 'CMYLevels' in the manual |
| 239 |
page. |
| 240 |
- There is a new option, "PagecountFile", which can be used to keep track of |
| 241 |
the number of pages printed. It is intended for spooler backends. |
| 242 |
- As an example of an input filter for a BSD spooler (lpr), I've added a file |
| 243 |
'if-hpdj' to the distribution. Read the comments in the file to find out |
| 244 |
what it can do. |
| 245 |
- I've extended the list of PCL media size codes known to hpdj by some codes |
| 246 |
of interest to people with series-1100 DeskJets. |
| 247 |
|
| 248 |
* Modifications |
| 249 |
- The DJ 850C/855C/unspec margin information has been modified: |
| 250 |
- The margins for the JIS B5 format were demonstrably wrong for the DJ 850C |
| 251 |
and have been changed. |
| 252 |
- I've removed the entry for US A2 envelopes because contrary to what I |
| 253 |
believed previously this size is not supported. |
| 254 |
|
| 255 |
* Documentation |
| 256 |
- The FILES section in the manual page has been restructured and extended as |
| 257 |
a CONFIGURATION section. In particular, for those not familiar with |
| 258 |
PostScript, I've added much more on configuration with PostScript commands. |
| 259 |
|
| 260 |
* Compilation |
| 261 |
- I have added a missing "#include <errno.h>" directive to hpdjprn.c. |
| 262 |
- I have added an include directive for Aladdin's header "std.h" where |
| 263 |
appropriate in order to avoid some name clashes with non-standard system |
| 264 |
types like 'uint' on some operating systems (e.g., FreeBSD). |
| 265 |
|
| 266 |
|
| 267 |
|
| 268 |
|
| 269 |
Version 2.3 (released 1997-12-16) |
| 270 |
================================= |
| 271 |
This is a release to fix a bug preventing linking when HPDJ_MARGIN_FILE was |
| 272 |
defined during compilation. |
| 273 |
|
| 274 |
|
| 275 |
|
| 276 |
Version 2.2 (released 1997-12-08) |
| 277 |
================================= |
| 278 |
Most of the changes in this version are either in the documentation or internal. |
| 279 |
So far, only one bug has been reported for hpdj 2.1 and it is concerned with |
| 280 |
compilation and not with the generated PCL code (see below). |
| 281 |
|
| 282 |
* Changes in behaviour |
| 283 |
|
| 284 |
- Printing with a series-500 DeskJet on envelope sizes now assumes manual |
| 285 |
feed unless overridden by the new 'ManualFeed' option. |
| 286 |
|
| 287 |
- I have finally managed to see how to support automatic rotation for pages |
| 288 |
in landscape orientation without help from 'setpagedevice'. The rule is |
| 289 |
now: put media into the input tray short edge first and let hpdj worry |
| 290 |
about the rest. |
| 291 |
|
| 292 |
In particular, it is now possible to use setpagedevice to declare landscape |
| 293 |
orientation in default user space and thus obtain a file which can be |
| 294 |
viewed on the screen in its proper orientation and which will, without |
| 295 |
modifications, print correctly if processed by hpdj. |
| 296 |
|
| 297 |
- hpdj can now also install its own 'InputAttributes' dictionary in its page |
| 298 |
device dictionary. (And if you don't know what that can be used for you |
| 299 |
should skip this paragraph.) There will be one entry for each page size |
| 300 |
supported by the printer model chosen. This has the disadvantage that |
| 301 |
unsupported page sizes no longer produce readable messages like |
| 302 |
|
| 303 |
? Device hpdj: This document requests a page size of 210 x 297 pt. |
| 304 |
This exceeds the custom page size limits for the DeskJet 850C. |
| 305 |
|
| 306 |
from hpdj but instead slightly cryptic messages like |
| 307 |
|
| 308 |
Error: /configurationerror in --setpagedevice-- |
| 309 |
Additional information: [/PageSize [210 297]] |
| 310 |
|
| 311 |
from the setpagedevice operator (some ghostscript versions, e.g. gs 4.03, |
| 312 |
even omit the second of these lines). The advantage is that setpagedevice |
| 313 |
can now perform the usual media size matching. |
| 314 |
|
| 315 |
This feature is not active by default because it generates the wrong |
| 316 |
initial CTM if the printer model supports custom page sizes and the media |
| 317 |
size requested could be matched as a custom page size. This is due to a bug |
| 318 |
in make_adjustment_matrix() (file zmedia2.c) which is present in at least |
| 319 |
gs 3.53, gs 4.03 and gs 5.10. The hpdj distribution contains a patch file |
| 320 |
for zmedia2.c based on gs 5.10 which fixes this problem. |
| 321 |
|
| 322 |
Compile hpdj with -DHPDJ_INPUTATTRIBUTES to activate this feature. |
| 323 |
|
| 324 |
|
| 325 |
* Command line options: |
| 326 |
|
| 327 |
- New options (see the manual page for descriptions): |
| 328 |
- DryTime |
| 329 |
- ManualFeed |
| 330 |
|
| 331 |
- Changes in option interfaces (no change in functionality): |
| 332 |
- ColourMode and ColorMode accept "monochrome" as a synonym for "mono". |
| 333 |
- MediaType now recognizes the string "photo paper". |
| 334 |
- PrintQuality accepts "best" as a synonym for "presentation". |
| 335 |
|
| 336 |
|
| 337 |
* Manual page: |
| 338 |
- I have made the nroff/troff syntax more acceptable to man commands of |
| 339 |
limited intelligence and faulty man macros. In particular, man is now more |
| 340 |
likely to discover that preprocessing by tbl is needed, and nroff should |
| 341 |
no longer get confused what the "previous" font is after CW has been used. |
| 342 |
(The Linux system on which I developed hpdj 2.1 did not have these faults, |
| 343 |
but since then I have switched distributions...) |
| 344 |
- The man page now contains a reference to hpdj's FTP site. |
| 345 |
- The list of printers known to work with hpdj has been extended. |
| 346 |
- I have rewritten most of the "LIMITATIONS" section. |
| 347 |
|
| 348 |
* Additional files in the distribution: |
| 349 |
- This file :-). |
| 350 |
- A copy of the hpdj home page, hpdj.html, giving a short introduction to |
| 351 |
ghostscript and hpdj, together with instructions on where to get them. |
| 352 |
- Patch files for devs.mak in Aladdin ghostscript 3.53 and 5.10. |
| 353 |
- Patch file for zmedia2.c (bug in make_adjustment_matrix()) based on Aladdin |
| 354 |
ghostscript 5.10. |
| 355 |
- Margin test files in landscape orientation for ISO A4 and US Letter. |
| 356 |
|
| 357 |
* Compilation: |
| 358 |
- In two places, I had used dynamic initializers for structs. This is not |
| 359 |
required to be supported by ISO/ANSI C and gave error messages from at |
| 360 |
least one compiler. This bug has been fixed. |
| 361 |
- A user reported problems with the interpretation of return values of |
| 362 |
fprintf() on his non-ISO/ANSI-C-conforming system. This lead to hpdj |
| 363 |
erroneously assuming that an error had occurred. The code has been changed |
| 364 |
to circumvent this problem. |
| 365 |
- Based on user feedback, I have rewritten parts of README.hpdj. |
| 366 |
- There is a new printer model, "none", intended only as a compile-time value |
| 367 |
for HPDJ_DEFAULT_MODEL. Using this model leads to an error message telling |
| 368 |
the user that s/he should explicitly specify -sModel. I have introduced this |
| 369 |
value for the benefit of persons distributing binary versions of ghostscript |
| 370 |
and wishing to force their users to deliberately choose the printer model. |
| 371 |
This is the default value for HPDJ_DEFAULT_MODEL now. |
| 372 |
- The source code for the driver is now distributed over 7 files instead of |
| 373 |
3 as before. |
| 374 |
|
| 375 |
|
| 376 |
|
| 377 |
Version 2.1 (released 1997-06-08) |
| 378 |
================================= |
| 379 |
This was the first widely-released version of hpdj. |