View previous topic :: View next topic |
Author |
Message |
donjames Apprentice
Joined: 19 Dec 2004 Posts: 251 Location: 32°9'50" N 94°50'54" W
|
Posted: Mon Nov 24, 2014 2:00 am Post subject: [SOLVED] hp p1606dn duplex mode |
|
|
Hi folks,
I am having a problem with my HP p1606dn laser printer. It prints perfectly on one side of the page, but I cannot seem to get it to print on both sides. I have a new install of Gentoo Linux. This printer is connected to my local area network. I have PCs and MACs connected to this same local area network and the printer works perfectly with these computers.
Here's what I did to get it to print on one side:
1. Disabled usb printing in the kernel.
2. Enabled the following USE flags: snmp, sip, avahi, static-ppds, hpijs, hpcups.
3. Emerged hplip.
4. Ran hp-setup
5. Started cups: /etc/init.d/cupsd start.
I can go to http://localhost:631 and the GUI admin is available.
When I try to do duplex printing from Gentoo, the duplex option is greyed out.
Can someone please give me something to try?
Sincerely,
Don James
Last edited by donjames on Sat Nov 29, 2014 12:25 am; edited 3 times in total |
|
Back to top |
|
|
Fitzcarraldo Advocate
Joined: 30 Aug 2008 Posts: 2034 Location: United Kingdom
|
Posted: Mon Nov 24, 2014 2:52 am Post subject: |
|
|
Is there no option in CUPS Manager to tell CUPS that the duplexer is installed and to select the desired duplex printing option? I don't have access to your model of printer, but one of the printers I use in an office is an HP LaserJet P2055dn, and via the CUPS browser interface I can select:
'Administration' > 'Set Default Options' > 'Options Installed' > 'Duplexer Installed' options: 'Not Installed' | 'Installed'.
'Administration' > 'Set Default Options' > 'General' > 'Double-Sided Printing' options: 'Off' | 'Long Edge (Standard)' | 'Short Edge (Flip)'.
With 'Not Installed' and 'Off', the relevant contents of the PPD are:
Code: | $ grep -i default /etc/cups/ppd/HP_LaserJet_P2055dn.ppd
*DefaultColorSpace: RGB
*DefaultPageSize: A4
*DefaultPageRegion: A4
*DefaultImageableArea: A4
*DefaultPaperDimension: A4
*DefaultDuplex: None
*DefaultInputSlot: Auto
*DefaultColorModel: Gray
*DefaultMediaType: Plain
*DefaultOutputMode: Normal
*DefaultOptionDuplex: False
*DefaultFont: Courier |
With 'Installed' and 'Long Edge (Standard)', the relevant contents of the PPD are:
Code: | $ grep -i default /etc/cups/ppd/HP_LaserJet_P2055dn.ppd
*DefaultColorSpace: RGB
*DefaultPageSize: A4
*DefaultPageRegion: A4
*DefaultImageableArea: A4
*DefaultPaperDimension: A4
*DefaultDuplex: DuplexNoTumble
*DefaultInputSlot: Auto
*DefaultColorModel: Gray
*DefaultMediaType: Plain
*DefaultOutputMode: Normal
*DefaultOptionDuplex: True
*DefaultFont: Courier |
_________________ Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.
Fitzcarraldo's blog |
|
Back to top |
|
|
donjames Apprentice
Joined: 19 Dec 2004 Posts: 251 Location: 32°9'50" N 94°50'54" W
|
Posted: Mon Nov 24, 2014 4:06 am Post subject: |
|
|
Fitzcarraldo wrote: | Is there no option in CUPS Manager to tell CUPS that the duplexer is installed and to select the desired duplex printing option? I don't have access to your model of printer, but one of the printers I use in an office is an HP LaserJet P2055dn, and via the CUPS browser interface I can select:
'Administration' > 'Set Default Options' > 'Options Installed' > 'Duplexer Installed' options: 'Not Installed' | 'Installed'.
'Administration' > 'Set Default Options' > 'General' > 'Double-Sided Printing' options: 'Off' | 'Long Edge (Standard)' | 'Short Edge (Flip)'.
With 'Not Installed' and 'Off', the relevant contents of the PPD are:
Code: | $ grep -i default /etc/cups/ppd/HP_LaserJet_P2055dn.ppd
*DefaultColorSpace: RGB
*DefaultPageSize: A4
*DefaultPageRegion: A4
*DefaultImageableArea: A4
*DefaultPaperDimension: A4
*DefaultDuplex: None
*DefaultInputSlot: Auto
*DefaultColorModel: Gray
*DefaultMediaType: Plain
*DefaultOutputMode: Normal
*DefaultOptionDuplex: False
*DefaultFont: Courier |
With 'Installed' and 'Long Edge (Standard)', the relevant contents of the PPD are:
Code: | $ grep -i default /etc/cups/ppd/HP_LaserJet_P2055dn.ppd
*DefaultColorSpace: RGB
*DefaultPageSize: A4
*DefaultPageRegion: A4
*DefaultImageableArea: A4
*DefaultPaperDimension: A4
*DefaultDuplex: DuplexNoTumble
*DefaultInputSlot: Auto
*DefaultColorModel: Gray
*DefaultMediaType: Plain
*DefaultOutputMode: Normal
*DefaultOptionDuplex: True
*DefaultFont: Courier |
|
Hi Fitzcarraldo,
Yes, there is a duplex mode for hpcups, but not for hpijs.
I got the printer to print in duplex on one of my Linux machines. My printer is connected to my local area network via ethernet. It is not connected by usb. Here's what I did:
0. Disabled usb printing in the kernel.
1. Set USE flags: snmp hpcups. Deleted USE flags: avahi static-ppds hpijs
2. # emerge -uDNv hplip
3. # /etc/init.d/cupsd start
4. Crank up your web browser and go to http://localhost:631. Add your printer.
5. Make sure you are using python2.7.
# eselect python list
# eselect python set python2.7
6. # hp-setup
7. # /etc/init.d/cupsd restart
8. Access http://localhost:631 with your web browser. Click on the printer. Choose "maintenance" and then choose "print test page"
Now, this machine prints in duplex mode.
I tried to install the HP printer of two other Linux machines and it didn't work. It couldn't download the driver. I verified that my internet connection was working. It still wouldn't download the driver when I ran hp-setup.
Both of the other Linux machines are Intel machines with an updated Gentoo Linux. I discovered that the other Linux machines were running python3.3. When I set them to python2.7, hp-setup installed the driver and the printer started working.
I would appreciate some feedback on this. Is anyone else having trouble with the HP p1606dn printer?
Regards,
Don James |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|