====== Hewlett Packard FAQ ======
===== General Questions =====
==== In which **forum** should I ask Hewlett Packard related questions? ====
Forum: [[http://forums.openprinting.org/list.php?20|Printers from Hewlett-Packard (HP) and Apollo]]
==== Where can I find a **table** of working HP printers? ====
[[http://www.openprinting.org/printer_list.cgi?make=HP|http://www.openprinting.org/printer_list.cgi?make=HP]]
==== Where can I find the webpages for HP's free software efforts? ====
* [[http://www.hp.com/go/linux/|HP's GNU/Linux page]]
* [[http://hpinkjet.sourceforge.net/|HP's HPLIP SourceForge Page]]
* [[http://sourceforge.net/projects/pnm2ppa/|pnm2ppa]]
* [[http://foo2zjs.rkkda.com/|foo2zjs]]
* Better driver for the Color LaserJet 35xx: [[http://sourceforge.net/projects/hp-pxl-jetready/|PXLJR]]
==== Why does printing on different paper sizes not work? ====
The new paper sizes are available in the HPIJS entry on//openprinting.org// or in the CVS version Foomatic.
If you need special paper sizes, support for custom paper
sizes is in **''HPIJS 1.3.1''**. For example, for 20 cm x 10cm use**''lpr -o PageSize=Custom.20x10cm file.ps''** or
lpr -o PageSize=Custom.200x100mm file.ps
For 5 inches x 7.5 inches:
lpr -o PageSize=Custom.5x7.5in file.ps
==== Which options go with what paper types? ====
The **''Photo''** settings of the **''Resolution''** option are
optimized for glossy photo paper. The **''Color''** and**''Grayscale''** settings for normal, non-glossy paper. Most not too
old printers auto-detect the paper type in most modes.
==== Can I print envelopes with OpenOffice.org? ====
Earlier versions of **''HPIJS''** lack support for custom paper
sizes. Either update to a current version of HPIJS/HPLIP or Set up a
second print queue for your printer using Gimp-Print (model selection:**''HP DeskJet 900 series''** or **''pcl-900''**), and print the
envelopes through the Gimp-Print queue.
If this does not work, OpenOffice.org might be producing
broken PostScript for envelopes. Report this bug to
the developer mailing list or bug tracking system on the OpenOffice.org
web site.
==== How do I check the ink levels? ====
Use the HP Toolbox of the HPLIP package.
Alternatively, there is also libinklevel on[[http://freshmeat.net/projects/libinklevel/|http://freshmeat.net/projects/libinklevel/]]
Here is another method:
If you cut and paste the simple C program from here:[[https://sourceforge.net/forum/message.php?msg_id=1574175|https://sourceforge.net/forum/message.php?msg_id=1574175]]
and compile it according to the instructions:**''gcc -O2 -o lpdevid lpdevid.c''** then you will have a tool
that will return the device ID of your printer.
The results look like:
$ lpdevid /dev/usb/lp0
MFG:HEWLETT-PACKARD;MDL:DESKJET
.920C;CMD:MLC,PCL,PML;CLASS:PRINTER;DESCRIPTION:Hewlett-Packard DeskJet
.920C;SERN:XXXXXXXXXXXX;VSTATUS:$HB0$NC0,ff,DN,IDLE,CUT,K0,C0,SM,NR,KP003,CP048;VP:0800,FL,B0;VJ:
This result shows that 3% of black ink, and 48% of colour remains.
Look for the **''KP''** and **''CP''** settings.
Not all printers return such a helpful string. There was a
discussion about this here:[[https://sourceforge.net/forum/message.php?msg_id=1749891|https://sourceforge.net/forum/message.php?msg_id=1749891]]
==== Where do I get HPIJS and HPLIP software? ====
You can download the HPIJS and HPLIP source at the project's main
site:[[http://hpinkjet.sourceforge.net/|http://hpinkjet.sourceforge.net/]]
==== How do I print on the very bottom part of the page? ====
Older HP inkjets cannot print on the last half inch (1.27 cm) of the
paper. The mechanics of the printer restrict it from printing, and
it cannot be changed in software.
Newer models have two paper tractions (one before and one after the
print heads) and they can print on the full area of the paper. HPLIP
is required to get this to work.
==== Can wine or bochs be used to print to WinPrinters? ====
At the moment, there is no one working on this. In wine, this is
unlikely to happen because wine does not provide 32-bit driver support.
==== How do I print better greyscales? ans: Try HP's HPIJS driver, it ====
supports also PCL 5/5e laser printers, and it has much better
grayscales. You can also try Gimp-Print/Gutenprint 4.2.4 or newer
(with "Fast" or "Very Fast" dithering mode). If you have GhostScript
8.x or newer, set the dithering algorithm to Well-Tempered Screening
(current Foomatic monochrome PCL laser printers have an appropriate
option).
===== HPIJS-1.2 =====
==== Why are the images so light? ====
The too light images are fixed in HPIJS 1.3. Install 1.3 or
the current 1.3.1 (which also adds custom paper sizes).
\\
===== HPIJS-1.3.1 =====
==== Why doesn't it work with apsfilter? ====
Your apsfilter version only supports the old HPIJS 0.9x. To use the
current HPIJS with apsfilter you will probably need to update apsfilter
to the current version.
==== How do I define unprintable margins? ====
HPIJS 1.3 knows about unprintable margins.
Go to the [[http://www.openprinting.org/show_driver.cgi?driver=hpijs|HPIJS]] driver page,
and download the PPD files. You will also need**''foomatic-db-hpijs''** and **''foomatic-db-engine''**
packages. There was a bug in **''foomatic-db-engine''** for using
unprintable margins, so please use the latest version.
Setup the print queues as usual, and applications will take the
unprintable margins into account. This will fix the problem with
lost text at the borders, when printing with CUPS.
\\
===== HPIJS-1.4 =====
==== Why doesn't color printing use black ink? ====
This is not supported in HPIJS 1.4. Use a newer HPIJS/HPLIP or
the source code patch from Matthias Bunte.
[[http://www.openprinting.org/download/printing/hpijs/|http://www.openprinting.org/download/printing/hpijs/]]
As the former patch for HPIJS 1.3 this patch applies to the DeskJet 6xx,
8xx, and most 9xx printers (and compatible multi-function devices) and
lets black text being printed with only black ink and not with a mix of
all inks. This way ink is saved and the quality gets better.
Please test the patch. See installation instructions on
[[http://www.openprinting.org/download/printing/hpijs/README.txt|http://www.openprinting.org/download/printing/hpijs/README.txt]]
for instructions. Note that from the DeskJet 9xx series only the
older-style models without hardware-internal color generation/dithering
(HP DeskJet 930C, PSC 950, ...) are affected.
This patch is still in testing, please report results to the forum.
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-2500CM|HP 2500cm]]
==== Which driver do I use with Mac OSX? ====
If you don't need to circumvent the 2500CMs slow built-in
Postscript RIP, you could either use the HP2600 driver which comes
with OS 10.2.x, or create a "generic" Postscript queue using the
Mac OS9 HP2500 ppd file. These two drivers should produce the
best output.
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-DeskJet_640C|HP Deskjet 640c]]
==== How do I set it up with LPRng? ====
[[http://xlife.zuavra.net/columns/20030315.php|http://xlife.zuavra.net/columns/20030315.php]]
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-PhotoSmart_7345|HP Photosmart 7345]]
==== How do I setup the printer? ====
Look at [[http://hpoj.sf.net/suplist.shtml|http://hpoj.sf.net/suplist.shtml]] and
pretend that your device is a **''PhotoSmart 7350''**.
You will probably either need to install the hpoj driver, or
upgrade the kernel printer-class driver (printer.c)[[http://hpoj.sf.net/download.shtml|http://hpoj.sf.net/download.shtml]]
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-LaserJet_3P|HP Laserjet 3P]]
==== Why can't I print graphics with GNU/Linux (but I can in Windows)? ====
Try using
* the **''ljet3''** driver.
* Gimp-Print, pretending that you have a stock LaserJet 3.
* the "hpijs" driver, pretending that you have the HP LaserJet 4L.
* Try lowering the resolution to 150dpi.
Windows accesses the printer in a special way, allowing it to process
graphics in smaller pieces. This printing mode is not yet supported
in free software.
Here are some notes from [[http://www.openprinting.org/rickr@mn.rr.com|Rick]].
The rasterizer in my ancient (circa 1988) Jetroff program could rasterize
in chunks to avoid memory/speed problems on really old LaserJets. The code
would limit the number of chunks per line to 15 to avoid "ERROR 21".
Any black pixel would start a chunk; sequences of N all white pixels
would terminate a chunk. The printer internally uses a display list, and
if there are too many items to process once the drum starts turning, then
you would get ERROR 21. This code reduced the amount of memory required
to hold the page while at the same time avoiding the dreaded ERROR 21.
There was still no guarantee that any aribtrary page could be printed, but
the domain of printable pages was considerably improved. The maximum
number
of chunks per line was empirically determined.
I remember scratching my head for a few days before I figured all this out.
The technical reference required reading between the lines to understand
how the printer works internally.
Here's my old "chunkifier" code from JetRoff, in case some developer finds
it useful...
/*
* Found a line with raster data. Print it
* Attempt to optimize usage of laser jet
*
* costs:
* position 7-13 11
* drop "." 1
* horiz rule 12-18 16
* start+end bitmap 9
* bitmap row 5-7+d 6++
* don't drop more than 15 of any of these per row!
*/
typedef struct
{
int fx, lx, length;
} chunkinfo;
draw_bits;(fx, y, line)
int fx; /* First black pixel byte */
int y; /* Current y buffer */
register char *line; /* Current y buffer */
{
register int x; /* Temporary x byte coord */
register int lx; /* Last black pixel byte */
int length; /* Length between fx and lx */
int chunks; /* # of "chunks" of non-white */
char is, was;
int white;
int i;
int maxchunks;
chunkinfo chunk[[http://www.openprinting.org/MAXCHUNKS+1|[1]]];
maxchunks = OptAAR ? MAXCHUNKS : 1;
for (lx = XBYTES-1; lx >= fx; --lx)
if (line[lx]) break;
length = lx - fx + 1;
for (chunks = 0, x = fx, was = 0; x <= lx; ++x)
{
if (is = line[[http://www.openprinting.org/x|[2]]])
{
if (!was)
{
if (chunks < maxchunks)
chunk[++chunks].fx = x;
}
white = 0;
chunk[[http://www.openprinting.org/chunks|[3]]].lx = x;
chunk[chunks].length = x - chunk[[http://www.openprinting.org/chunks|[4]]].fx + 1;
was = is;
}
else
{
if (++white >= WHITETHRESH) was = 0;
}
}
for (i = 1; i <= chunks; ++i)
{
fx = chunk[i].fx;
lx = chunk[[http://www.openprinting.org/i|[5]]].lx;
length = chunk[i].length;
if (Landscape)
hp_pos;(y, fx << 3);
else
hp_pos;(fx << 3, y);
esc("*r1A"); /* start */
esc("*b%dW", length); /* raster */
(void) fwrite(&line[[http://www.openprinting.org/fx|[6]]], (lx-fx)+1, 1, stdout);
esc("*rB"); /* End raster */
if (Landscape)
hp_is_at(y-1, fx << 3);
else
hp_is_at(fx << 3, y+1);
}
}
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-LaserJet_5M|HP Laserjet 5m]]
==== Does the HP Jetdirect j2552b support IPP? ====
The Jetdirect card supports the TCP/IP protocol, this is completely
separate from IPP. The machine probably does not support IPP. Use the
socket:%%//%% protocol with CUPS.
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-LaserJet_5Si|HP Laserjet 5Si]]
==== How do I improve greyscale output? ====
Use HPIJS with this printer.
==== How do I use the duplex or tray select features? ====
Use HPIJS, as **''ljet4''**.
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-LaserJet_6L|Laserjet 6L]]
==== Why is the printed text slightly rotated? ====
A software bug cannot lead to rotated text. Your printer has a
problem with the paper traction.
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-LaserJet_1200|HP LaserJet 1200]]
==== Why doesn't the printer print with ptal? ====
When printing to the LaserJet 1200 or 1220 through ptal-printd,
ptal-connect, ptal-print, or ptal-cups (which calls ptal-connect),
you may need to add the **''-uel''** switch to the
ptal-{printd,connect,print} command line.
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-LaserJet_1220|HP LaserJet 1220]]
==== Why doesn't the printer print with ptal? ====
When printing to the LaserJet 1200 or 1220 through ptal-printd,
ptal-connect, ptal-print, or ptal-cups (which calls ptal-connect),
you may need to add the **''-uel''** switch to the
ptal-{printd,connect,print} command line.
\\
===== HP DesignJet 500 =====
==== How do I print PostScript versions of this printer? ====
If you have the PostScript version, get the PPD file from
Adobe or use the one that's in the driver.
==== How do I print with non-PostScript version? ====
Try one of these
* HP-GL/2 mode: Use the [[http://www.openprinting.org/show_driver.cgi?driver=oce9050|oce9050]]
* Drivers for other DesignJets: **''dnj650c''**
* Gimp-Print: [[http://www.openprinting.org/show_driver.cgi?driver=dnj650c|DNJ650C Driver]] [[http://www.openprinting.org/show_driver.cgi?driver=gimp-print|Gimp-Print]] [[http://www.openprinting.org/show_driver.cgi?driver=gimp-print-ijs|Gimp-Print-IJS]]
* DeskJet drivers as [[http://www.openprinting.org/show_driver.cgi?driver=hpijs|HPIJS]]
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-LaserJet_2200|HP LaserJet 2200D]]
==== How do I print with Solaris? ====
Try using an **''ethernet->parallel printbox''** (HP JetDirect
or similar). With this you connect the printer to your network and give
it an IP. The spooler can then access it as an LPD server (easiest if
LPD or LPRng is your spooler) or directly (TCP/Socket) on port 9100
(easiest when CUPS is your spooler).
\\
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-LaserJet_3100|HP LaserJet 3100]]
==== How do I set it up to act as a Postscript printer to the entire network? ====
[[http://mywebpages.comcast.net/heretrythis/hp3100/|http://mywebpages.comcast.net/heretrythis/hp3100/]]
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-LaserJet_3150|HP LaserJet 3150]]
==== How do I setup SAMBA printer sharing? ====
1. Make DJ3150 shared over network.
2. Create a special user, try **''printing''**
3. Set a password.
4. Setup the GNU/Linux boxes to access the printer over Samba using the username and
password.
5. Set a workgroup name in the settings. (Required).
6. Specify the URI
smb://username:password@workgroup/computer/printershare
You will not be able to print across the network without a username
and password.
==== Which driver do I use when printing over the network? ====
* HP Laserjet
* GimpPrint(+IJS)
The GimpPrint driver prints everything as a picture, which
means the output will have a grayish overtone.
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-LaserJet_8150|HP LaserJet 8150]]
==== Which PPD do I use? ====
Don't use the PPD from //openprinting.org//. Use the PPD from
the manufacturer CD-ROM. The recommended file is called**''hp8150_7.ppd''**. There are seven different national languages available.
On the manufacturer CD-ROM called C4565-60107 (c) Hewlett-Packard Company 2000,
the PPD's can be found here:
./deutsch/drivers/win2000/ps/hp8150_7.ppd
./english/drivers/win2000/ps/hp8150_7.ppd
./espanol/drivers/win2000/ps/hp8150_7.ppd
./francais/drivers/win2000/ps/hp8150_7.ppd
./italiano/drivers/win2000/ps/hp8150_7.ppd
./nedrlnds/drivers/win2000/ps/hp8150_7.ppd
./portugus/drivers/win2000/ps/hp8150_7.ppd
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-Color_LaserJet_4550|HP Color Laserjet 4550]]
==== Which PPD do I use? ====
Don't use the PPD from //openprinting.org//. Use the PPD from
the manufacturer CD-ROM. The manufacturer CD-ROM is called
C7085-60103 (c) Hewlett Packard Company 2000.
The PPD from the Manufacturer CD-ROM is called**''hp4550_6.ppd''** and it can be found in the directories
./deutsch/drivers/win2000/ps/hp4550_6.ppd
./english/drivers/win2000/ps/hp4550_6.ppd
./espanol/drivers/win2000/ps/hp4550_6.ppd
./francais/drivers/win2000/ps/hp4550_6.ppd
./italiano/drivers/win2000/ps/hp4550_6.ppd
./nedrlnds/drivers/win2000/ps/hp4550_6.ppd
./portugus/drivers/win2000/ps/hp4550_6.ppd
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-Color_LaserJet_5500|HP Color Laserjet 5500]]
==== How do I make it print in gimp? ====
Remove the **''-oraw''** from the **''Printing Command''**
in the printer setup dialog of the GIMP.
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-DeskJet_6122|HP DeskJet 6122]]
==== How do I remove the frame around the printout? ====
Follow these instructions:[[:openprinting:database:lpddocumentation|LPDDocumentation]]
If you do not have a text(and other files)-to-PostScript converter
installed (see above), install one. This is used to print option
documentation for your printer or non-PostScript files, so it's nice to
have it right. If you have more than one converter installed and the one
automatically chosen by lpdomatic is not the desired one, edit the "my
$enscriptcommand = "";" line in the beginning of the lpdomatic script
inserting the name of one of the supported converters ("a2ps",
"enscript", "mpage") between the quotes. To modify the command lines of
the converters or to add support for another converter, edit the lines
following the "my @enscriptcommands =" line.
Switch to **''mpage''** as the test-to-PostScript converter
because it does not make frames. Change the
my $enscriptcommand
= "";
in **''lpdomatic''** to **''my $enscriptcommand = "mpage";''**
Then edit the **''mpage''** line after**''my @enscriptcommands ="''** as follows:
my @enscriptcommands = (
'a2ps -1 @@--medium=@@PAGESIZE@@ @@--center-title=@@JOBTITLE@@ -o - 2>/dev/null',
'enscript -G @@-M @@PAGESIZE@@ @@-b "Page $%|@@JOBTITLE@@ -p- 2>/dev/null',
'mpage -o -1 @@-b @@PAGESIZE@@ @@ -P- -'
);
The change is to remove the **''@@-H -h @@JOBTITLE@@''**. This way**''mpage''** does not print headlines and you get the pure
text, see **''man mpage''** Do not forget to install the[[http://www.mesa.nl/pub/mpage/|mpage]] package on your machine
For the **''-o docs''** option note that you must specify an
existing file to avoid **''lpr''** waiting for data on standard
input. If you do not have**''/proc/cpuinfo''** on your system,
use any other short file. Or try something like (I didn't test it):
echo x | lpr -J docs
echo x | lpr -o docs
echo x | lpr -Z docs
Here the **''echo x''** proivides a VERY small file on standard input and so
this command line does not rely on an existing file in your machine's
file system.
One of the three above-mentioned lines should work, depending on which
flavour of LPD you are using.
Here is the option list in case the **''docs''** lines still do not work:
Double-Sided Printing: -o Duplex=
can be one of the following:
DuplexNoTumble (Long Edge (Standard))
DuplexTumble (Short Edge (Flip))
None (Off, default)
Page Size: -o PageSize=
can be one of the following:
Letter (Letter, size: 8.50x11.00in, default)
A4 (A4, size: 8.26x11.69in)
Photo (Photo/4x6 inch index card, size: 4.00x6.00in)
PhotoTearOff (Photo with tear-off tab, size: 4.00x6.00in)
A5 (A5, size: 5.83x8.26in)
A6 (A6, size: 4.12x5.83in)
A6TearOff (A6 with tear-off tab, size: 4.12x5.83in)
B5JIS (B5 (JIS), size: 7.17x10.12in)
Executive (Executive, size: 7.25x10.50in)
FLSA (American Foolscap, size: 8.50x13.00in)
Hagaki (Hagaki, size: 3.93x5.83in)
Legal (Legal, size: 8.50x14.00in)
Oufuku (Oufuku-Hagaki, size: 5.83x7.88in)
Resolution, Quality, Ink Type, Media Type: -o Resolution=
can be one of the following:
300BestColorCMYK (300 dpi, Best, Color, Black + Color Cartr.)
300ColorCMYK (300 dpi, Color, Black + Color Cartr., default)
300DraftColorCMYK (300 dpi, Draft, Color, Black + Color Cartr.)
300DraftGrayscaleCMYK (300 dpi, Draft, Grayscale, Black + Color Cartr.)
300GrayscaleCMYK (300 dpi, Grayscale, Black + Color Cartr.)
300PhotoCMYK (300 dpi, Photo, Black + Color Cartr., Photo Paper)
600BestColorCMYK (600 dpi, Best, Color, Black + Color Cartr.)
600GrayscaleCMYK (600 dpi, Grayscale, Black + Color Cartr.)
600PhotoCMYK (600 dpi, Photo, Black + Color Cartr., Photo Paper)
1200PhotoCMYK (1200 dpi, Photo, Black + Color Cartr., Photo Paper)
You have to replace "-o" by "-Z" or "-J" depending on the LPD
which you are running.
==== Is there a simpler way? ====
Use CUPS.
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-PSC_370|HP PSC 370]]
==== Why must I power-cycle the printer after every job? ====
Some hpijs versions (after 1.0.3 and through 1.3) are incompatible
with the OfficeJet 600 series products. The symptom is that after
printing an hpijs-generated job, the device must be power-cycled before
it will accept another print job. This issue was fixed in hpijs-1.3.1.
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-PSC_380|HP PSC 380]]
==== Why must I power-cycle the printer after every job? ====
Some hpijs versions (after 1.0.3 and through 1.3) are incompatible
with the OfficeJet 600 series products. The symptom is that after
printing an hpijs-generated job, the device must be power-cycled before
it will accept another print job. This issue was fixed in hpijs-1.3.1.
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-PSC_950|HP PSC 950]]
==== What other printing driver may work? ====
It is compatible with the HP Deskjet 930C. You can a driver
for that printer.
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-PSC_1210|HP PSC 1210]]
==== Does the printer work with GNU/Linux? ====
This machine requires a very recent version of the hpoj and
HPIJS softwares. This printer does not understand PCL. It uses the
LIDIL language, which requires HPIJS (1.3 or newer).[[http://hpoj.sourceforge.net/suplist.shtml|http://hpoj.sourceforge.net/suplist.shtml]][[http://hpinkjet.sourceforge.net|http://hpinkjet.sourceforge.net]]
You may need [[http://libusb.sourceforge.net|libusb]].
==== Does the scanner work with GNU/Linux? ====
Scaning works with the CVS version (not 0.90 or earlier) of
the hpoj driver.
You may also need [[http://libusb.sourceforge.net|libusb]]
==== Why can't SANE find the scanner? ====
Try powering the device off and back on.
==== Why is printing so slow? ====
This was a known problem with older version of the **''HPIJS''**
software. Please update to version 1.4.1 or later.
==== Why does printing stop when I start scanning? ====
You have to use the current CVS version of HPOJ. See "Bugs and TODO" on[[http://hpoj.sf.net/|http://hpoj.sf.net/]]. Make sure you de-install your current HPOJ
completely before installing the CVS version.
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-PSC_2110|HP PSC 2110]]
==== Why are the bottom/right margins cut off? ====
==== Why are the scan areas offset to the right? ====
On some models, the margins are cutoff, and the scan area is offset.
The following changes to **''lib/sane/hpoj.h''** are reported to help for
some models (PSC 21xx, 22xx, OfficeJet 61xx), but they don't work for
the OfficeJet 1150 and possibly some other models:
* Change SCL_CMD_SET_X_POSITION, SCL_CMD_SET_Y_POSITION, SCL_CMD_SET_X_EXTENT, and SCL_CMD_SET_Y_EXTENT such that the first parameter of the SCL_CMD macro is 'f' instead of 'a'.
* Change DECIPOINTS_PER_INCH from 720 to 300.
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-PSC_2150|HP PSC 2150]]
==== Why are the bottom/right margins cut off? ====
==== Why are the scan areas offset to the right? ====
On some models, the margins are cutoff, and the scan area is offset.
The following changes to **''lib/sane/hpoj.h''** are reported to help for
some models (PSC 21xx, 22xx, OfficeJet 61xx), but they don't work for
the OfficeJet 1150 and possibly some other models:
* Change SCL_CMD_SET_X_POSITION, SCL_CMD_SET_Y_POSITION, SCL_CMD_SET_X_EXTENT, and SCL_CMD_SET_Y_EXTENT such that the first parameter of the SCL_CMD macro is 'f' instead of 'a'.
* Change DECIPOINTS_PER_INCH from 720 to 300.
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-PSC_2210|HP PSC 2210]]
==== How do I do borderless printing? ====
lpr -Z PageSize=PhotoTearOff -Z PrintoutMode=Photo file.ps
\\
==== Why does the printer leave a lower border? ====
The printer cannot print full-bleed on the lower border,
therefore HP's photo paper has a tear-off tab.
==== Which alternate driver can I select in CUPS? ====
Try HP DeskJet 990C/hpijs.
==== Why are the bottom/right margins cut off? ====
==== Why are the scan areas offset to the right? ====
On some models, the margins are cutoff, and the scan area is offset.
The following changes to **''lib/sane/hpoj.h''** are reported to help for
some models (PSC 21xx, 22xx, OfficeJet 61xx), but they don't work for
the OfficeJet 1150 and possibly some other models:
* Change SCL_CMD_SET_X_POSITION, SCL_CMD_SET_Y_POSITION, SCL_CMD_SET_X_EXTENT, and SCL_CMD_SET_Y_EXTENT such that the first parameter of the SCL_CMD macro is 'f' instead of 'a'.
* Change DECIPOINTS_PER_INCH from 720 to 300.
==== Why does **''ptal-hp clock -set''** cause the clock to stop? ====
Unknown. Setting the clock from the front panel causes
it to get un-stuck. On some but not all units the pre-/un-stuck
clock also drifts quite a bit, and loss of power resets the clock,
but these aren't software issues.
==== Why can't SANE find the scanner? ====
Try powering the device off and back on.
==== Why can't I print with Debian? ====
The Woody version of Debian is not current enough, and
is not compatible with the HP PSC 2210. Try upgrading to the**testing** version of Debian.
\\
===== HP OfficeJets =====
==== How do I use the **''ptal''** backend? ====
Configure the device **''ptal-init setup''**
Restart the CUPS daemon:
killall -HUP cupsd
If it still fails, examine the debug output.
/usr/lib/cups/backend/ptal
This **''ptal''** version[[http://www.openprinting.org/download/printing/ptal|http://www.openprinting.org/download/printing/ptal]]
is specific to **''hpoj-0.8''**. Use the version that's provided
with **''hpoj-0.90''** instead.
==== Where can I find RedHat 9.0 Setup information? ====
[[http://cyberelk.net/tim/hpoj.html|http://cyberelk.net/tim/hpoj.html]]
==== The following devices are using an obsolete configuration file format. Use "/etc/rc.d/init.d/hpoj setup" to delete and re-probe them: ====
This is a bug in RedHat 9.0 version of perl. One workaroudn is to
set the environment variable **''LANG=C''**
export LANG=C
or change it in **''/etc/sysconfig/i18n''**.
====**''llioService: llioWrite returns -1, expected=6!''**? ====
If **''ptal-init setup''** fails to configure the device, and**''ptal-mlcd''** gives an error message**''llioService: llioWrite returns -1, expected=6!''**, and you're using
usb-ohci, then you likely have a defective USB host controller and
should try replacing it with a PCI USB add-in card.
\\
==== Why are the bottom/right margins cut off? ====
==== Why are the scan areas offset to the right? ====
On some models, the margins are cutoff, and the scan area is offset.
The following changes to **''lib/sane/hpoj.h''** are reported to help for
some models (PSC 21xx, 22xx, OfficeJet 61xx), but they don't work for
the OfficeJet 1150 and possibly some other models:
* Change SCL_CMD_SET_X_POSITION, SCL_CMD_SET_Y_POSITION, SCL_CMD_SET_X_EXTENT, and SCL_CMD_SET_Y_EXTENT such that the first parameter of the SCL_CMD macro is 'f' instead of 'a'.
* Change DECIPOINTS_PER_INCH from 720 to 300.
\\
==== fn(warning: parameter names (without types) in function declaration) compiling ptal-hpjd.c? ====
This is normal.
==== Why am I experiencing errors with my SMP system? ====
SMP (multi-processor) systemsw exhibit data loss, kernel OOPSes,
or complete system lockups with the hpoj software. To work around this,
either boot your system in non-SMP mode, or install libusb and upgrade
to the latest hpoj code in CVS. Also be sure to unload printer.o and
move it out of the /lib/modules tree (renaming isn't enough), to
prevent it from being auto-loaded later due to a hotplug event.
==== Why does the hpoj build fail with RedHat 8.0? ====
To build hpoj-0.90, you can perform one of the following workarounds:
1. Run **''./configure --without snmp''** This disables full-feature
JetDirect support, but locally-connected (parallel-port and USB)
device support is not affected.
2. Edit **''lib/ptal/Makefile.in''** and add **''-DUCD_COMPATIBLE''**
(without the quote marks) to the CFLAGS line. Then run
./configure --with-snmp=/usr/include/ucd-snmp
\\
====**''Couldn't find device: llioOpenOne failed!''**? ====
This error occurs with systems that have devfs. You can work
around this problem by editing the device configuration file in**''/etc/ptal''** and changing the line**''init.mlcd.append+=-device''** to specify the specific possible
device nodes. For example, **''/dev/usb/lp0''**, separated by spaces
if more than one USB printer specified, instead of a general wildcard
pattern. Then re-run **''ptal-init start''** for the change to take effect.
==== What URI do I use for network printing? ====
Try **''ipp:%%//%%the.print.server.address/lp1''**
==== Why doesn't the PPD file work with Windows 2000? ====
Windows 2000 has a bug which limits it to reading
the options at a maximum of 40 characters per line. This limitation is not
included in the PPD Spec. It is possible to modify the PPD manually, so each line is limited
to 40 characters.
Please contact Microsoft regarding this bug, as we are looking
forward to them providing a speedy resolution to this error.
==== Where can I find instructions for RedHat 9? ====
[[http://cyberelk.net/tim/hpoj.html|http://cyberelk.net/tim/hpoj.html]]
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-OfficeJet_G55|HP OfficeJet G55]]
==== Why can't I print with the USB port? ====
You're probably trying to print directly to **''/dev/usb/lp0''**,
which won't work and tends to get this model into a bad state that
can only be recovered from by power-cycling the device.
For CUPS, you'll print through the CUPS**''ptal''** backend, not the **''usb''** backend.
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-OfficeJet_LX|HP OfficeJet LX]]
==== Why does printing fail with ECP enabled? ====
Printing fails to OfficeJet LX and 300 series products when using
hardware-assisted ECP transfers. Disabling hardware-assisted ECP.
Passing **''-porttype ecp''** or **''-porttype spp''** to ptal-mlcd
works around this problem for now.
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-OfficeJet_300|HP OfficeJet 300]]
==== Why does printing fail with ECP enabled? ====
Printing fails to OfficeJet LX and 300 series products when using
hardware-assisted ECP transfers. Disabling hardware-assisted ECP.
Passing **''-porttype ecp''** or **''-porttype spp''** to ptal-mlcd
works around this problem for now.
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-OfficeJet_330|HP OfficeJet 330]]
==== Why does printing fail with ECP enabled? ====
Printing fails to OfficeJet LX and 300 series products when using
hardware-assisted ECP transfers. Disabling hardware-assisted ECP.
Passing **''-porttype ecp''** or **''-porttype spp''** to ptal-mlcd
works around this problem for now.
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-OfficeJet_500|HP OfficeJet 500]]
==== Why must I power-cycle the printer after every job? ====
Some hpijs versions (after 1.0.3 and through 1.3) are incompatible
with the OfficeJet 500 series products. The symptom is that after
printing an hpijs-generated job, the device must be power-cycled before
it will accept another print job. This issue was fixed in hpijs-1.3.1.
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-OfficeJet_600|HP OfficeJet 600]]
==== Why must I power-cycle the printer after every job? ====
Some hpijs versions (after 1.0.3 and through 1.3) are incompatible
with the OfficeJet 600 series products. The symptom is that after
printing an hpijs-generated job, the device must be power-cycled before
it will accept another print job. This issue was fixed in hpijs-1.3.1.
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-OfficeJet_700|HP OfficeJet 700]]
==== Why must I power-cycle the printer after every job? ====
Some hpijs versions (after 1.0.3 and through 1.3) are incompatible
with the OfficeJet 600 series products. The symptom is that after
printing an hpijs-generated job, the device must be power-cycled before
it will accept another print job. This issue was fixed in hpijs-1.3.1.
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-OfficeJet_Pro_1150C|HP OfficeJet 1150C]]
==== What is the maximum resolution? ====
The OfficeJet 1150 and 1170/1175 have a maximum scanning resolution
of 300 DPI, but incorrectly advertise higher. Be sure not to select a
scanning resolution higher than 300 DPI on these models.
\\
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-OfficeJet_Pro_1170C|HP OfficeJet 1170C]]
==== What is the maximum resolution? ====
The OfficeJet 1150 and 1170/1175 have a maximum scanning resolution
of 300 DPI, but incorrectly advertise higher. Be sure not to select a
scanning resolution higher than 300 DPI on these models.
\\
[[http://www.openprinting.org/show_printer.cgi?recnum=HP-OfficeJet_Pro_1175C|HP OfficeJet 1175C]]
==== What is the maximum resolution? ====
The OfficeJet 1150 and 1170/1175 have a maximum scanning resolution
of 300 DPI, but incorrectly advertise higher. Be sure not to select a
scanning resolution higher than 300 DPI on these models.
\\
===== HP 1050C Plotter =====
==== Which Driver do I use? ====
There are two GhostScript drivers which should work.
* OCE9050
* OCE-TDS400.
\\
===== HP 1055CM Plotter =====
==== Which Driver do I use? ====
This printer has Postscript 3 support, but it is pretty poor.
You can get better color output from ghostscript's **''dnj650c''**
driver. Like most of HP's large plotters, it can do HPGL rasters
better than Postscript vectors.
The **''dnj650c''** driver doesn't seem to be built in most
GNU/Linux distributions.
It is built by default in ESP GhostScript, and is available
out-of-the-box on Mandriva GNU/Linux.