I found a solution.

Neither hplip, gimp-gutenprint or hpcups driver are working for me.
http://www.openprinting.org/printer/HP/HP-LaserJet_1010

So I tried hpijs 3.16.11.
Here is what I installed. Now that its working I don't want to uninstall what 
seems unecessary such as hpcups.

sudo apt-get install hpijs-ppds printer-driver-hpijs cups
sudo apt-get install --reinstall printer-driver-hpcups
Dans http://localhost:631/admin
Add Printer
HP LaserJet 1010
Check "Share This Printer"
Driver HP LaserJet 1010 hpijs 3.16.11 (en)

Media Size : A4
Printout Mode: Normal
Media Source: Printer Default
Double-Sided Printing: Off

I can print text file as well as pdf file smoothly. It's a little bit to dark 
on windows though.
Linux XXX 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u5 (2018-09-30) x86_64 
GNU/Linux

$ dpkg -l|grep cups
cups                                  2.2.1-8+deb9u2 
cups-bsd                              2.2.1-8+deb9u2
cups-client                           2.2.1-8+deb9u2
cups-common                           2.2.1-8+deb9u2
cups-core-drivers                     2.2.1-8+deb9u2
cups-daemon                           2.2.1-8+deb9u2
cups-filters                          1.11.6-3      
cups-filters-core-drivers             1.11.6-3      
cups-pk-helper                        0.2.6-1+b1    
cups-ppdc                             2.2.1-8+deb9u2
cups-server-common                    2.2.1-8+deb9u2
...

$ dpkg -l|grep hp
hpijs-ppds                            3.16.11+repack0-3
printer-driver-hpcups                 3.16.11+repack0-3
printer-driver-hpijs                  3.16.11+repack0-3
...

I also did this :
https://wiki.archlinux.org/index.php/CUPS/Troubleshooting#CUPS:_prints_only_an_empty_and_an_error-message_page_on_HP_LaserJet
# lpadmin -p printer -o pdftops-renderer-default=pdftops                 

I also hold the package to prevent any update.

Do you job HP, fix hplib.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to hplip in Ubuntu.
https://bugs.launchpad.net/bugs/1112773

Title:
  HP LJ 1010 doesn't print some images with default settings

Status in HPLIP:
  New
Status in hplip package in Ubuntu:
  Confirmed
Status in cups package in ALT Linux:
  Unknown

Bug description:
  When printing the attached image on an HP LJ 1010 attached to Ubuntu
  12.04 system, only a stripe of few cm  at the top is printed.

  At the same time, "simpler" things (like a random Wikipedia page) are
  printed fine.

  I simply plugged the USB cable from the printer into my Toshiba AC100
  (ARM) with Ubuntu 12.04. It was configured automatically.

  Here's the head of /etc/cups/ppd/hp-LaserJet-1010.ppd in my system
  (Obviously, it's an "hpcups" driver. Perhaps, this problem is related
  to the one described in
  https://bugzilla.altlinux.org/show_bug.cgi?id=28488 ; there, after
  replacing the "hpcups" 3.12.10a driver with the "hpijs" driver, this
  image could be ultimately printed; but with the "hpcups" driver, there
  was a PCL InsufficientMemory error):

  *PPD-Adobe: "4.3"
  *%%%% PPD file for HP LaserJet 1010 with CUPS.
  *%%%% Created by the CUPS PPD Compiler CUPS v1.5.3.
  *% (c) 2008 Copyright Hewlett-Packard Development Company, LP
  *FormatVersion: "4.3"
  *FileVersion: "hpcups 3.12.2"
  *LanguageVersion: English
  *LanguageEncoding: ISOLatin1
  *PCFileName: "hp-laserjet_1010.ppd"
  *Product: "(HP LaserJet 1010 Printer)"
  *Manufacturer: "HP"
  *ModelName: "HP LaserJet 1010"
  *ShortNickName: "HP LaserJet 1010"
  *NickName: "HP LaserJet 1010, hpcups 3.12.2"
  *PSVersion: "(3010.000) 0"
  *LanguageLevel: "3"
  *ColorDevice: True
  *DefaultColorSpace: RGB
  *FileSystem: False
  *Throughput: "1"
  *LandscapeOrientation: Plus90
  *TTRasterizer: Type42
  *% Driver-defined attributes...
  *RequiresPageRegion All: True
  *cupsEvenDuplex: True
  *hpPrinterLanguage: "ljfastraster"
  *cupsModelName: "hp LaserJet 1010"
  *1284DeviceID: "MFG:HP;MDL:hp laserjet 1010;DES:hp laserjet 1010;"
  *cupsVersion: 1.5
  *cupsModelNumber: 0
  *cupsManualCopies: True
  *cupsFilter: "application/vnd.cups-raster 0 hpcups"
  *cupsLanguages: "en"
  --- 
  ApportVersion: 2.0.1-0ubuntu13
  Architecture: armhf
  CupsErrorLog:
   W [01/Feb/2013:20:23:12 +0400] failed to CreateProfile: 
org.freedesktop.ColorManager.AlreadyExists:profile id 'hp-LaserJet-1010-Gray..' 
already exists
   W [01/Feb/2013:20:23:12 +0400] failed to CreateProfile: 
org.freedesktop.ColorManager.AlreadyExists:profile id 'hp-LaserJet-1010-RGB..' 
already exists
   W [01/Feb/2013:20:23:12 +0400] failed to CreateDevice: 
org.freedesktop.ColorManager.AlreadyExists:device id 'cups-hp-LaserJet-1010' 
already exists
  DistroRelease: Ubuntu 12.04
  Lpstat: device for hp-LaserJet-1010: 
hp:/usb/hp_LaserJet_1010?serial=00CNFD934385
  Package: cups 1.5.3-0ubuntu4
  PackageArchitecture: armhf
  PpdFiles: hp-LaserJet-1010: HP LaserJet 1010, hpcups 3.12.2
  ProcKernelCmdLine: mem=448M@0M 
tegrapart=recovery:300:a00:800,boot:d00:1000:800,mbr:1d00:200:800 
root=UUID=d42b885d-2e92-4236-b17e-d1efc2edb7ca quiet splash
  Tags:  precise
  Uname: Linux 3.0.27-1-ac100 armv7l
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/1112773/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to