Enlarged print performed by HP Device Manager - feeling of the printer goes wrong

Bug #1906513 reported by Dominique PAUL
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned

Bug Description

Hello,

Problem
I known two way to print a pdf:
- by "Print" Action of HP Device Manager;
- by Print in file menu in "Okular" (a pdf viewer, it comes with Kde).

In the second case, the print looks like the preview (it's good).

In the first case, the print is enlarged about 5 %, horizontally centred, and vertically starting from the bottom; the top of text is 12 mm higher. Comparing with the second case, the printer looks go wrong.

My text is a pdf of 1 full page. The paper format is A4.

Environment
hplip-3.20.9
xubuntu 18.04, in a virtualbox; Manjaro 20 kde
HP Deskjet 2700 series, via USB

Dominique PAUL (domjcpa)
description: updated
Revision history for this message
Thierry FR (thierry-f) wrote :

Hi,
your device is AirPrint compatible, try :
Gives you the hostname of the device or the ip, prefer the hostname :

$ avahi-browse -rtv _ipp._tcp | grep -F 'hostname ='
$ avahi-browse -rtv _ipp._tcp | grep -F 'address ='

Configures your device, you can after test printing :
$lpadmin -p HP-Deskjet-2700 -E -v ipp://<your hostname or your ip>/ipp -m everywhere

Thierry

Revision history for this message
Thierry FR (thierry-f) wrote :

Since you are in usb use ipp-usb.

Revision history for this message
Dominique PAUL (domjcpa) wrote :

Hi Thierry-f,

- What AirPrint have to do with the bad printing of hplip? I don't use mobile phone to send print.

- I have try lpadmin:
$ lpadmin -p HP-Deskjet-2700 -E -v ipp://dominique-VirtualBox.local/ipp -m everywhere
lpadmin : impossible de se connecter à « dominique-VirtualBox.local/631 » : Opération maintenant en cours
(lpadmin : cannot connect to « dominique-VirtualBox.local/631 » : SOCKET_EINPROGRESS)
Note: cups is active.

- What is the goal of doing lpadmin? the printer is already setup.

- What is the goal of using ipp-usb? I print locally.

- Thank you to search for me, but I have a workaround: use Okular. My bug report is for fix the hplip Print action.

Revision history for this message
Thierry FR (thierry-f) wrote :

AirPrint is a communication protocol between your Computer, Mobile or Tablet and your printer.
It was originally created by Apple. It allows you to communicate without a driver. The printer provides these specifications, a job is sent and executed.
look at this link: https://www.pwg.org/ipp/everywhere.html and https://www.pwg.org/ipp/evefaq.html
To have tested your device, it works perfectly with ippevrywhere, as with the hplip driver, look at virtualbox....

Tested with :
$ sudo lpadmin -p HP-Deskjet-2700 -E -v ipp://dominique-VirtualBox.local/ipp -m everywhere

Revision history for this message
Dominique PAUL (domjcpa) wrote :

Hi Thierry Ordissimo,

The result of "sudo lpadmin -p HP-Deskjet-2700 -E -v ipp://dominique-VirtualBox.local/ipp -m everywhere" is variable; the last times, after delete the printer, I have the previous EINPROGRESS error (note: cups is active).

I have not found how print with ippeverywhere.
I have naively tried this:
lp -d HP-Deskjet-2700 <my_file.pdf>
request id is HP-Deskjet-2700-12 (1 file(s))
and nothing is printed

Note: in HP-Deskjet-2700, device URI is "file:///dev/null"

ippeverywhere is out of my knowledge.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.