Where is "Emulate laserjet margins"

Asked by Major Carter

Using a Business Inkjet 1100d (USB):

When printing a full page A4 image, the bottom half-inch is "chopped off". To solve this problem in Windows is very easy, just enable "Emulate laserjet margins" in the driver settings. I don't seem to be able to find this option in the Linux driver settings anywhere - maybe I missed it?

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#1

Can you run hp-check and post the output? Can you print the hplip test page on a4 paper with no problems?

Revision history for this message
Raghothama Cauligi (raghothama-cauligi) said :
#2

The default margins for this printer are 1/8 of an inch, similar to laserjets. If you are not using the HP backend (I/O)
the default bottom margin goes to 0.5 in. So, make sure you set up your print queue with hp backend, then you will
always get 1/8 inch bottom margin.
Cups testpage will show you that as well.
Raghu

Revision history for this message
Major Carter (sam-carter) said :
#3

Here's the output from 'hp-check':

---------- 8< ----------
[martin@bitzbox ~]$ hp-check

HP Linux Imaging and Printing System (ver. 1.6.9)
Dependency/Version Check Utility ver. 3.1

Copyright (c) 2003-6 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Basic system info...
 --> Linux bitzbox 2.6.18.8.tex5 #1 SMP Thu May 10 11:36:58 WST 2007 i686 AMD Sempron(tm) 2500+ GNU/Linux

Currently installed version...
--> OK, HPLIP 1.6.9 currently installed.

HPLIP running?
 --> Yes, HPLIP is running (OK).

HPOJ running?
 --> No, HPOJ is not running (OK).

Checking Python version...
--> OK, version 2.4.3 installed

Checking for dependency 'libcrypto (libcrypto - OpenSSL cryptographic library)'...
--> OK, found.

Checking for dependency 'gcc (gcc - GNU Project C and C++ Compiler)'...
 --> OK, found.

Checking for dependency 'sane (SANE - Scanning library)'...
--> OK, found.

Checking for dependency 'gs (GhostScript - PostScript and PDF language interpreter and previewer)'...
 --> OK, found.

Checking for dependency 'libjpeg (libjpeg - JPEG library)'...
--> OK, found.

Checking for dependency 'libpthread (libpthread - POSIX threads library)'...
--> OK, found.

Checking for dependency 'make (make - GNU make utility to maintain groups of programs)'...
 --> OK, found.

Checking for dependency 'python-devel (python-devel - Python development files)'...
error: Not found!

Checking for dependency 'reportlab (Reportlab - PDF library for Python)'...
--> OK, found.

Checking for dependency 'pyqt (PyQt - Qt interface for Python)'...
--> OK, found.

Checking for dependency 'cups-devel (cups-devel- Common Unix Printing System development files)'...
error: Not found!

Checking for dependency 'ppdev (ppdev - Parallel port support kernel module.)'...
 --> OK, found.

Checking for dependency 'libusb (libusb - USB library)'...
 --> OK, found.

Checking for dependency 'scanimage (scanimage - Shell scanning program)'...
 --> OK, found.

Checking for dependency 'libnetsnmp-devel (libnetsnmp-devel - SNMP networking library development files)'...
--> OK, found.

Checking for dependency 'python2x (Python 2.2 or greater - Python programming language)'...
--> OK, found.

Checking for dependency 'lsb (LSB - Linux Standard Base support)'...
--> OK, found.

Checking for dependency 'xsane (xsane - Graphical scanner frontend for SANE)'...
 --> OK, found.

Checking for dependency 'cups (cups - Common Unix Printing System)'...
 --> OK, found.

Checking for dependency 'python23 (Python 2.3 or greater - Required for fax functionality)'...
--> OK, found.

Checking existing CUPS queues...
   Printer Device URI HPLIP Installed?
  ------------ --------------------------------------------------- --------------------
  HPBInkje1100 hp:/usb/hp_business_inkjet_1100?serial=CN43O223R25F Yes

If any errors or warnings were reported, please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html
---------- 8< ----------

I can print the HPLIP test page without any problems.
I can print the CUPS test page without any problems.
I can print the Kprint test page without any problems.

Print queue is configured to use Foomatic/hpijs.

I've noticed on the "Margins" tab in the printer settings, "Use custom margins" is NOT checked and all the margin values are greyed out but I notice that the greyed out value for the bottom margin is 36. According to my reckoning, 36 equals 0.5 inches so perhaps I need to use my own custom margin settings? But you say that the default is 1/8 of an inch which, according to my reckoning, equals 9 ??

Revision history for this message
Raghothama Cauligi (raghothama-cauligi) said :
#4

So, when you print cups testpage for example, do you see the black border 1/8 inch or 1/2 inch at the bottom and what do you
see the printable area reported by cups testpage.
Raghu

Revision history for this message
Major Carter (sam-carter) said :
#5

The black border is 1/2 inch from the bottom of the page.

Imageable Area:

Page Size: 8.02 x 11.06 inches
Lower-Left: 0.13 x 0.51 inches
Upper-Right: 8.15 x 11.57 inches
Resolution: 300 x 300 dpi

Revision history for this message
Raghothama Cauligi (raghothama-cauligi) said :
#6

Okay, I will have to see why it is setting the bottom margin to 0.5 inch. You say it supports
printing to 1/8 inch from the bottom on Windows?
Raghu

Revision history for this message
Major Carter (sam-carter) said :
#7

Yes, I can print A4 images from any Windows graphics application without any problems *providing* I enable "Emulate laserjet margins".

Thanks for taking the time and trouble to look at this.

Revision history for this message
Raghothama Cauligi (raghothama-cauligi) said :
#8

I have to look in our storage to retrieve this printer. In the meantime, if you don't mind, I would like to run a quick test.
Edit the file hplip-2.7.x/prnt/hpijs/djgenericvip.cpp
Search for DJGenericVIP::FullBleedCapable
Insert
value = 0x03;
just before the line
   if ((value != -1) && (value & 0x03))
save the file
In a terminal window, cd to where hplip is installed
> cd hplip-2.7.x
> make hpijs
> cp .libs/hpijs /usr/bin // You must have admin rights to do this
Print the testpage and let us see if the printer can go all the way down to 1/8 of an inch.
Also, run hp-info and send me the output from hp-info.
Thanks

Revision history for this message
Major Carter (sam-carter) said :
#9

I'm sorry but I can't do that as I'm using a pre-compiled HPLIP build that was provided with my Linux distro.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#10

Possible for you to uninstall the reinstalled hplip and install the latest from our website? http://hplip.sf.net

A

Revision history for this message
Major Carter (sam-carter) said :
#11

Sorry for the delay in replying but I'm waiting for my distro developers to release the latest hplip package from testing. As soon as it's released into the public repisotory, I'll install it and report back.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#12

Setting to answered until further info from user.

A

Can you help with this problem?

Provide an answer of your own, or ask Major Carter for more information if necessary.

To post a message you must log in.