Debian Codegraph @

contrib/pcl3/doc/how-to-report.txt

raw
1 *******************************************************************************
2 File: @(#)$Id: how-to-report.txt,v 1.13 2001/08/01 05:36:37 Martin Rel $
3 Contents: How to report bugs and hardware compatibility for pcl3
4 Author: Martin Lottermoser, Greifswaldstrasse 28, 38124 Braunschweig,
5 Germany. E-mail: [email protected].
6
7 *******************************************************************************
8 * *
9 * Copyright (C) 2000, 2001 by Martin Lottermoser *
10 * All rights reserved *
11 * *
12 *******************************************************************************
13
14
15 Bugs and Failures
16 *****************
17 This document distinguishes between "bugs" and "failures". A bug is incorrect
18 behaviour on the part of pcl3, a failure is described by a set of
19 hardware-relevant parameter values which are not accepted by a particular
20 printer. Most often a failure is due to hardware limitations in the printer,
21 not to a problem in pcl3, although it might be difficult to find out which is
22 the case. For the user, this distinction is fortunately irrelevant.
23
24
25 Bugs
26 ****
27 The basic rule is that it's a bug if there is disagreement between the
28 behaviour and the documentation (the bug might be in the documentation, though).
29 For example, if the documentation states that pcl3 produces a core dump under
30 certain circumstances, this is by definition not a bug, which means that you
31 should not report it (I'll have to fix it nevertheless, of course).
32
33 If your printer has a specific subdevice in pcl3 (e.g., if you have a
34 Hewlett-Packard DeskJet 540, this is the "hpdj540" subdevice) and the result
35 when using this subdevice is not accepted by the printer or there is printer
36 functionality you cannot access through this subdevice, this is a bug.
37
38 If you find a bug in pcl3, please report it. The format of your message is
39 irrelevant, but the content should be sufficiently detailed that I can
40 reproduce the behaviour. You should always specify the versions of gs and pcl3
41 you used. Please make sure that the behaviour is due to pcl3 and not to other
42 causes. In particular, if nothing seems to work and you are on a UNIX system,
43 do the following:
44
45 - Generate the PCL file by calling gs yourself, and print through a
46 "raw"/"transparent" queue which does not modify the file.
47 - If spooled printing fails, log in as root and try to send the file
48 directly to the device file. If it works, the problem is in the spooler.
49 - If even that fails, send a line of text (still as superuser) directly
50 to the device, followed by a form feed:
51
52 printf 'Hello!\r\n\f' > /dev/...
53
54 If this also does not work, you very likely have a kernel or hardware
55 problem.
56
57 I am writing this because there have been cases where people complained that my
58 driver wasn't working at all and where the cause turned out to be, e.g., a
59 misconfiguration of the spooler. Please don't bother me with problems of this
60 kind; I have enough to do correcting my own mistakes. However, I only demand
61 that you take reasonable steps to ensure that it isn't you who has created the
62 problem. If you can't decide which component is at fault, by all means contact
63 me -- just don't expect a quick answer and don't start by telling me that my
64 driver doesn't work :-).
65
66
67
68 Hardware compatibility reports
69 ******************************
70 The pcl3 driver is intended to support a large number of printers. Because the
71 PCL-3 documentation supplied by Hewlett-Packard is incomplete and occasionally
72 wrong (sometimes obviously so because of inconsistencies), tests must be made
73 on various printers in order to discover whether the driver can really be used
74 for a particular printer model and which parameter values one should specify.
75 As I do not have access to a complete range of PCL-3 printers, I must rely on
76 others to do this for me.
77
78 If you have a PCL-3 printer and are using pcl3, please check the file
79 reports.txt whether there is already an entry for your printer or not. If there
80 is none or if the hardware-relevant parameters listed are different from the
81 ones you used, please compose a report in the format described below and send
82 it to me. You need not cover all possible combinations; in fact, this might be
83 too confusing for others anyway. Even a single success report, however, can
84 help someone else with less knowledge or experience to get started. This is a
85 service *you* can provide to the community of pcl3 users.
86
87
88
89 Guidelines for testing
90 ======================
91 - Read the documentation. Please. :-)
92
93 - As test files, use publicly available PostScript files, preferably those
94 included in the ghostscript or pcl3 distributions. The file levels-test.ps in
95 the latter is a good starting point.
96
97 - Keep in mind that some environment variables influence ghostscript's
98 behaviour and make sure their values are as intended.
99
100 - If you have access to a manufacturer-endorsed driver for your printer, use
101 it to generate some test files with various settings, analyse them with
102 pcl3opts, and try the suggested option combinations first.
103
104 - The basic hardware parameters to test are colour model, resolution, and the
105 number of intensity levels.
106
107 - Colour model: The interesting models are Gray, CMY, and CMY+K/CMYK,
108 depending on your printer. You need not bother with CMY for a CMY+K or
109 CMYK printer unless you discover that the CMY cartridge supports a
110 higher resolution than the black cartridge.
111
112 - Resolution: Check your printer's documentation first. It should at least
113 list the highest supported resolution, possibly separately for black and
114 colour printing. If you don't have access to the documentation, a good
115 set to test with is {300, 600x300, 600, 1200}. Smaller resolutions
116 ({75, 100, 150}) are sometimes also supported but they are uninteresting
117 for serious printing.
118
119 Resolution tests are best made with a file where only the top left corner
120 of the sheet is used. It should contain some structure of known extension.
121 If a resolution is not accepted, the printer usually prints the picture
122 anyway, but at a supported resolution, leading to magnified or reduced
123 output.
124
125 - Intensity levels: Test this only if your printer's documentation claims
126 that some kind of Resolution Enhancement (e.g., C-REt) is supported or
127 pcl3opts tells you that an official driver generates files with this
128 property. Unless pcl3opts tells you differently, start with 300 ppi and
129 4 levels for all colorants used.
130
131 Whether a particular value for a parameter is supported often depends on
132 the values for other parameters. In some cases, even the print quality is
133 important. If in doubt, test with "presentation".
134
135 - If your printer has special hardware functionality, tests for that are
136 also interesting (duplex printing, banner printing, different input or
137 output trays). If you are using "unspec" or "unspecold", you should also
138 always try compression method 9 unless the pcl3 documentation states that it
139 is not supported by your printer.
140
141
142
143 General rules for reports
144 =========================
145 - You can use all characters in ISO 8859-1, plus HT and NL/LF.
146 - Please keep to the following syntactic rules which simplify converting the
147 information into other formats:
148 - The report consists of a sequence of fields, each occupying an integral
149 number of lines.
150 - Each field begins with a field name, starting in column 1 and ending with
151 the first following colon (':') in the same line.
152 - The content of a field may be continued over several lines provided all
153 continuation lines are either empty or indented with blanks (SP or HT).
154 Trailing empty lines are ignored.
155 - With the exception of "Success" and "Failure", every field may appear at
156 most once in a report. If it appears a second time in a file, a new report
157 is assumed to start at this point.
158 - Make your report sufficiently detailed to be reproducible but don't tell us
159 your life story.
160
161
162
163 Special remarks for individual fields
164 =====================================
165
166 - "Name": Supply your full name here. I don't accept anonymous or obviously
167 nickname-signed reports.
168
169 - "E-mail address" (optional): choose a stable one, your information might be
170 used for several years. Omit this field if you do not wish your e-mail
171 address to be disclosed to other users of pcl3.
172
173 - "Date": I prefer the internationally standardized notation, YYYY-MM-DD.
174
175 - "Printer": Be as precise as possible in identifying the printer. Ideally,
176 I should like to have the following kind of information (as an example
177 I'm giving some values for a DJ 850C):
178 - printer name ("HP DeskJet 850C")
179 - manufacturer's model identification ("C2145A")
180 - firmware revision ("9.20 02/14/95")
181 At least some of Hewlett-Packard's printers issue this information when you
182 print a diagnostic or self test. If your printer's manual doesn't tell you
183 how to generate such a test, try sending the command "ESC z" to the printer
184 (on a UNIX system, you can use "printf '\x1bz'" to generate it).
185
186 - pcl3opts (optional): Use this field to describe pcl3opts's output if you ran
187 pcl3opts on files generated by manufacturer-endorsed drivers and you have
188 obtained interesting information. You should always describe the driver you
189 used.
190
191 Interesting information is for example that the official driver generated
192 files with certain settings for which pcl3opts did not give a warning but
193 nevertheless you were not able to print such a file with pcl3. Expect me to
194 ask you for a copy of such a file.
195
196 - "Media configuration file" (optional): If you used a media configuration file
197 and its content was relevant for the test or you wish to make the file
198 available to other users, include it or a reference to it here. You must
199 state where the information came from, so it can be verified in case of
200 discrepancies.
201
202 - "Remarks" (optional): Use this, if needed, for global information applying
203 to a number of tests (perhaps a summary) or any other relevant information.
204
205 - "Success:" and "Failure": These are intended for describing the result of
206 using a single option combination and may be repeated any number of times
207 (including zero). Each report should be independent of the others so they can
208 be sorted differently if needed.
209
210 Keep in mind that the key purpose of a report is to find out which hardware
211 parameters work and which don't. It is therefore a success if the driver is
212 at least able to correctly tell the printer how to paint shapes at the level
213 of the printer's hardware capabilities (resolution, colorants and
214 intensities). A good test file is levels-test.ps which has been designed for
215 this purpose. I don't count it a failure when the result of printing a
216 photograph or a similarly demanding document is not as aesthetically pleasing
217 as it should be or when a problem is due to a bug in ghostscript. Use
218 comments for such statements if desired. However, the decision whether an
219 entry is a success or a failure remains yours to make, not mine.
220
221 These fields should start with the list of options given to ghostscript via
222 the command line, including the "-sDEVICE" option. You should omit options
223 which are obviously irrelevant for the outcome of the test (like "-dNOPAUSE"
224 or "-sOutputFile"), but otherwise the option list must be complete. If you
225 wish to add a comment (and for a failure you must always do that), terminate
226 this list with a period followed by a newline and add the comment after that.
227 Here's an example:
228
229 Failure: -sDEVICE=pcl3 -r1200 -sColourModel=CMYK
230 -sPrintQuality=best -sMedium=transparency.
231 Printed at twice the size intended.
232
233 The option list terminates immediately after "transparency" in this case.
234 Note that you don't need backslashes here if you break the command line
235 into several text lines.
236
237 If you did something interesting in the PostScript file (like setting page
238 device parameters to unusual values), append the PostScript code in the
239 comment part or in the "Remarks" field.
240
241 *****************<Start of form; cut here>*************************************
242
243 Name: [your full name]
244 E-mail address: [optional]
245 Date: [YYYY-MM-DD]
246 Printer: [at least manufacturer and model]
247 Ghostscript version: [GNU or AFPL, version number]
248 pcl3 version: [version number]
249 pcl3opts: [optional; information on printer capabilities obtained by running
250 pcl3opts on other drivers' output files]
251 Media configuration file: [optional]
252 Remarks: [optional; use, e.g., for global comments or a summary]
253 Success: [options used, repeat any number of times]
254 Failure: [options used, repeat any number of times. Don't forget to give your
255 reason for classifying this as a failure (after terminating the options with
256 a period followed by a newline).]