Duplexer smears ink.

Asked by Brian

Just bought a HP OfficeJet L7880. Whenever I print in duplex mode, it smears the ink in a vertical pattern on the page. It is like the page doesn't have enough time to dry before it is sucked back in to the printer and flipped over. The print mode and type of paper make no difference. (I have tried Normal and Draft print modes using plain, HP Advanced and HP Color InkJet paper. The HP Advanced paper is the most acceptable, but smearing is definately noticeable.)

Is there a dry time setting in the HPLIP driver

Running Ubuntu 8.04 AMD64. HPLIP Verison 2.8.2. The printer is brand new (only 3 days old. The problem occurred on the first printout.)

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Brian
Solved:
Last query:
Last reply:
Revision history for this message
Raghothama Cauligi (raghothama-cauligi) said :
#1

Currently, there is no option to extend the dry time. There is a predefined
dry time set in the printer firmware. I will look up the requisite command
to extend dry time and the team will decide how best to implement this. And if
possible, I will give you a patch to work in the meantime.
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brian
Sent: Thursday, April 17, 2008 4:47 PM
To: Cauligi, Raghothama S
Subject: [Question #30051]: Duplexer smears ink.

New question #30051 on HPLIP:
https://answers.launchpad.net/hplip/+question/30051

Just bought a HP OfficeJet L7880. Whenever I print in duplex mode, it smears the ink in a vertical pattern on the page. It is like the page doesn't have enough time to dry before it is sucked back in to the printer and flipped over. The print mode and type of paper make no difference. (I have tried Normal and Draft print modes using plain, HP Advanced and HP Color InkJet paper. The HP Advanced paper is the most acceptable, but smearing is definately noticeable.)

Is there a dry time setting in the HPLIP driver

Running Ubuntu 8.04 AMD64. HPLIP Verison 2.8.2. The printer is brand new (only 3 days old. The problem occurred on the first printout.)

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

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

Brian,
I am attaching two patch files to solve this.
Save the two patch files, then in a terminal window,
(Assuming that you have hplip-2.8.2 in your home directory and saved the
attached patch files in your home directory)

> cd ~hplip-2.8.2/prnt/hpijs
> patch -c < ~/hplip-2.8.2-DJ9xxVIP_extra_drytime.patch
> cd ../..
> make
> cd ppd
> patch < ~/hplip-2.8.2-OJL7700_extra_drytime.patch
> sudo make install
I can't find a OJ L7880 in my list of printers.
Perhaps you meant L7780.
Delete your old printer queue, run hp-setup to re-install the printer queue.
> sudo hp-setup

On the third screen, click on "Select Other..." button and browse to where you
patched the OfficeJet Pro L7700 ppd file.

You will now see "Additional Dry Time" dropdown box, you can select 5 to 30 additional
seconds (printer does 18 seconds) of drying time before sucking the paper back for printing
on the back side.

Regards,
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brian
Sent: Thursday, April 17, 2008 4:47 PM
To: Cauligi, Raghothama S
Subject: [Question #30051]: Duplexer smears ink.

New question #30051 on HPLIP:
https://answers.launchpad.net/hplip/+question/30051

Just bought a HP OfficeJet L7880. Whenever I print in duplex mode, it smears the ink in a vertical pattern on the page. It is like the page doesn't have enough time to dry before it is sucked back in to the printer and flipped over. The print mode and type of paper make no difference. (I have tried Normal and Draft print modes using plain, HP Advanced and HP Color InkJet paper. The HP Advanced paper is the most acceptable, but smearing is definately noticeable.)

Is there a dry time setting in the HPLIP driver

Running Ubuntu 8.04 AMD64. HPLIP Verison 2.8.2. The printer is brand new (only 3 days old. The problem occurred on the first printout.)

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
Brian (jmail524) said :
#3

Raghu, thanks for the reply.

Sorry, I don't see the links to download the patches. Are they one this page? Are they in you reply message? Or must I go to a download repository somewhere?

(Also, just as a point of interest, when I print in duplex mode as soon as it prints the last line on the page it sucks the page back in instantly. Not even 1 second passes by, certainly not 18 seconds.)

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

Hmm. The patch files were attached to my email. I will try again.
Ah, that explains it. That is not expected behaviour.
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brian
Sent: Tuesday, April 22, 2008 6:23 PM
To: Cauligi, Raghothama S
Subject: RE: [Question #30051]: Duplexer smears ink.

Question #30051 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/30051

    Status: Answered => Open

Brian is still having a problem:
Raghu, thanks for the reply.

Sorry, I don't see the links to download the patches. Are they one this page? Are they in you reply message? Or must I go to a download repository somewhere?

(Also, just as a point of interest, when I print in duplex mode as soon as it prints the last line on the page it sucks the page back in instantly. Not even 1 second passes by, certainly not 18 seconds.)

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

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

I see that attachments don't stick. If you don't mind giving me your email address, I will send it to you directly.
This feature will be added to HPLIP in the next release.
Raghu

Revision history for this message
Brian (jmail524) said :
#6

OK, here is a temporary email I setup. You can send it here. Thanks.

<email address hidden>

Revision history for this message
Brian (jmail524) said :
#7

Thanks for the patch files. When I try to do the first "make" I get an error:

make: *** No targets specified and no makefile found. Stop.

When I run "make" I'm in the "hplip-2.8.2" directory. I extracted the hplip-2.8.2 source files into my HOME directory (I think that is what you wanted them.)
I also checked to make sure I had the "build-essentials" installed and they are up to date.

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

That is fine. You can extract the tar ball anywhere, but you run the patch file
in hplip-2.8.2/prnt/hpijs
and the other patch file in hplip-2.8.2/ppd for the ppd patch
To make and install, you must first run configure
> ./configure --prefix=/usr
> make
> sudo make install
will do the trick.
See http://hplip.sourceforge.net/install/manual/index.html for manual installation instructions.
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brian
Sent: Wednesday, April 23, 2008 4:32 PM
To: Cauligi, Raghothama S
Subject: RE: [Question #30051]: Duplexer smears ink.

Question #30051 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/30051

Brian gave more information on the question:
Thanks for the patch files. When I try to do the first "make" I get an
error:

make: *** No targets specified and no makefile found. Stop.

When I run "make" I'm in the "hplip-2.8.2" directory. I extracted the hplip-2.8.2 source files into my HOME directory (I think that is what you wanted them.) I also checked to make sure I had the "build-essentials" installed and they are up to date.

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
dwelch91 (dwelch91) said :
#9

After patching the source, you can just re-run the installer... "python
./install.py" in the top level directory.

On Wed, Apr 23, 2008 at 4:39 PM, Raghothama Cauligi <
<email address hidden>> wrote:

> Question #30051 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/30051
>
> Status: Open => Answered
>
> Raghothama Cauligi proposed the following answer:
> That is fine. You can extract the tar ball anywhere, but you run the patch
> file
> in hplip-2.8.2/prnt/hpijs
> and the other patch file in hplip-2.8.2/ppd for the ppd patch
> To make and install, you must first run configure
> > ./configure --prefix=/usr
> > make
> > sudo make install
> will do the trick.
> See http://hplip.sourceforge.net/install/manual/index.html for manual
> installation instructions.
> Raghu
>
> -----Original Message-----
> From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
> Brian
> Sent: Wednesday, April 23, 2008 4:32 PM
> To: Cauligi, Raghothama S
> Subject: RE: [Question #30051]: Duplexer smears ink.
>
> Question #30051 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/30051
>
> Brian gave more information on the question:
> Thanks for the patch files. When I try to do the first "make" I get an
> error:
>
> make: *** No targets specified and no makefile found. Stop.
>
> When I run "make" I'm in the "hplip-2.8.2" directory. I extracted the
> hplip-2.8.2 source files into my HOME directory (I think that is what
> you wanted them.) I also checked to make sure I had the "build-
> essentials" installed and they are up to date.
>
> --
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>
> --
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

Revision history for this message
Brian (jmail524) said :
#10

Hi. Appreciate everybody's effort. I have patched the 2 files and compiled the source code. Under "Printer Options" I now have an optional called "Additional Dry Time" and can now select between Printer Default, 5 seconds through 30 seconds. However, the printer still pulls the page back in immediately and smears the ink.

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

Brian,
Looks like you have a defective unit. The patch I gave you is for
additional wait time, there is a printer default of about 18 seconds. That's
what I saw on two different models.
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brian
Sent: Wednesday, April 23, 2008 8:57 PM
To: Cauligi, Raghothama S
Subject: Re: [Question #30051]: Duplexer smears ink.

Question #30051 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/30051

    Status: Answered => Open

Brian is still having a problem:
Hi. Appreciate everybody's effort. I have patched the 2 files and compiled the source code. Under "Printer Options" I now have an optional called "Additional Dry Time" and can now select between Printer Default, 5 seconds through 30 seconds. However, the printer still pulls the page back in immediately and smears the ink.

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
Brian (jmail524) said :
#12

Since I just bought the printer, I'm sure the store will let me exchange it for another one. Before I do that, I'll reinstall Ubuntu 8.04 since the official non-beta distribution was just released today. Then I will try your patch again. Maybe I screwed up somewhere. I'll let you know in a day or so if anything has changed. Thanks for your help.

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

Well, if the printer is not pausing at all, it is a hardware/firmware issue at this time.
Another thing you can do is, if you have Windows, you can try with Windows driver. I wouldn't
expect it to behave differently, but you never know :-)
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brian
Sent: Thursday, April 24, 2008 2:18 PM
To: Cauligi, Raghothama S
Subject: RE: [Question #30051]: Duplexer smears ink.

Question #30051 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/30051

    Status: Answered => Open

Brian is still having a problem:
Since I just bought the printer, I'm sure the store will let me exchange it for another one. Before I do that, I'll reinstall Ubuntu 8.04 since the official non-beta distribution was just released today. Then I will try your patch again. Maybe I screwed up somewhere. I'll let you know in a day or so if anything has changed. Thanks for your help.

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
Brian (jmail524) said :
#14

Under Windows XP it still smears the ink. However, I can increase the dry time under the Windows drivers to a maximum of about 15 seconds. (The default time seems to be immediately which is why it smears the ink but the dry time settings do work under Windows.)

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

Brian,
If you don't mind, copy and paste the following into a text file, run the script and send me
the output file and also, if possible, from your windows box, print a two page doc but send output
to a file and send that to me as well.

DEVICE_URI= hp:/usb/Deskjet_6500?serial=MY3C44R00BHO-F; export DEVICE_URI
gs -sDEVICE=ijs -sIjsServer=hpijs -dIjsUseOutputFD -sDeviceManufacturer="HEWLETT-PACKARD" \
-sDeviceModel="deskjet 5600" -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dDuplex=true \
-dTumble=false -r600x600 -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,\
Quality:MediaType=0,Quality:PenSet=2,PS:MediaPosition=7,DryTIme=15 -dNOPAUSE \
-dSAFER -sOutputFile="`basename $1 '.ps'`.pcl" $1 -c quit

Change the DEVICE_URI to your device's URI (lpstat -v shows you the device uri).
When you paste this into a shell script, say test.sh, run it as
sh test.sh test_file.ps
it produces test_file.pcl in the same directory.
Thanks
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brian
Sent: Friday, April 25, 2008 5:22 PM
To: Cauligi, Raghothama S
Subject: RE: [Question #30051]: Duplexer smears ink.

Question #30051 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/30051

    Status: Answered => Open

Brian is still having a problem:
Under Windows XP it still smears the ink. However, I can increase the dry time under the Windows drivers to a maximum of about 15 seconds.
(The default time seems to be immediately which is why it smears the ink but the dry time settings do work under Windows.)

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
Brian (jmail524) said :
#16

Hi Raghu,
I just noticed that I made a typo in my very first post and I am hoping that it hasn't been the cause of a lot of headaches. I accidentally typed that I have a L7880, it is actually a L7680. Sorry about that. (I wish I had seen that earlier.)

As far as your script that you asked me to run, I modified the DEVICE_URI with the output of the "lpstat -v" command. My printer shows 2 devices a FAX and the printer, I used the printer line. However, it looks like an error is being generated by the script. Here is it's output.

$sh test.sh test_file.ps

test.sh: 1: hp:/usb/Officejet_Pro_L7600?serial=MY7AQ651R3: not found
GPL Ghostscript 8.61 (2007-11-21)
Copyright (C) 2007 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
unable to set key=DryTIme, value=15
unable to set key=DryTIme, value=15
unable to set key=DryTIme, value=15
unable to set key=DryTIme, value=15
Error: /undefinedfilename in (test_file.ps)
Operand stack:

Execution stack:
   %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push
Dictionary stack:
   --dict:1159/1684(ro)(G)-- --dict:0/20(G)-- --dict:92/200(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.61: Unrecoverable error, exit code 1

It creates a file called test_file.pcl, but it looks empty and has a file size of 0 bytes.

Also, is it possible to attach the output files to this post or must I email you the files. If I need to email you, I need your email address or some instructions on how to attach files to a post.

Thanks for all of your help. You have been very patient with me and I appreciate that. I look forward to getting the bug worked out.

Revision history for this message
dwelch91 (dwelch91) said :
#17

>
> Also, is it possible to attach the output files to this post or must I
> email you the files.
>

You can just attach files with your email program as usual, and they will be
available on Launchpad.net along with the text of the message.

-Don

On Sat, Apr 26, 2008 at 6:55 PM, Brian <email address hidden>
wrote:

> Question #30051 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/30051
>
> Status: Answered => Open
>
> Brian is still having a problem:
> Hi Raghu,
> I just noticed that I made a typo in my very first post and I am hoping
> that it hasn't been the cause of a lot of headaches. I accidentally typed
> that I have a L7880, it is actually a L7680. Sorry about that. (I wish I
> had seen that earlier.)
>
> As far as your script that you asked me to run, I modified the
> DEVICE_URI with the output of the "lpstat -v" command. My printer shows
> 2 devices a FAX and the printer, I used the printer line. However, it
> looks like an error is being generated by the script. Here is it's
> output.
>
> $sh test.sh test_file.ps
>
> test.sh: 1: hp:/usb/Officejet_Pro_L7600?serial=MY7AQ651R3: not found
> GPL Ghostscript 8.61 (2007-11-21)
> Copyright (C) 2007 Artifex Software, Inc. All rights reserved.
> This software comes with NO WARRANTY: see the file PUBLIC for details.
> unable to set key=DryTIme, value=15
> unable to set key=DryTIme, value=15
> unable to set key=DryTIme, value=15
> unable to set key=DryTIme, value=15
> Error: /undefinedfilename in (test_file.ps)
> Operand stack:
>
> Execution stack:
> %interp_exit .runexec2 --nostringval-- --nostringval--
> --nostringval-- 2 %stopped_push --nostringval-- --nostringval--
> --nostringval-- false 1 %stopped_push
> Dictionary stack:
> --dict:1159/1684(ro)(G)-- --dict:0/20(G)-- --dict:92/200(L)--
> Current allocation mode is local
> Last OS error: 2
> GPL Ghostscript 8.61: Unrecoverable error, exit code 1
>
> It creates a file called test_file.pcl, but it looks empty and has a
> file size of 0 bytes.
>
> Also, is it possible to attach the output files to this post or must I
> email you the files. If I need to email you, I need your email address
> or some instructions on how to attach files to a post.
>
> Thanks for all of your help. You have been very patient with me and I
> appreciate that. I look forward to getting the bug worked out.
>
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

Revision history for this message
dwelch91 (dwelch91) said :
#18

>
> Also, is it possible to attach the output files to this post or must I
> email you the files.
>

You can just attach files with your email program as usual, and they will be
available on Launchpad.net along with the text of the message.

-Don

On Sat, Apr 26, 2008 at 6:55 PM, Brian <email address hidden>
wrote:

> Question #30051 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/30051
>
> Status: Answered => Open
>
> Brian is still having a problem:
> Hi Raghu,
> I just noticed that I made a typo in my very first post and I am hoping
> that it hasn't been the cause of a lot of headaches. I accidentally typed
> that I have a L7880, it is actually a L7680. Sorry about that. (I wish I
> had seen that earlier.)
>
> As far as your script that you asked me to run, I modified the
> DEVICE_URI with the output of the "lpstat -v" command. My printer shows
> 2 devices a FAX and the printer, I used the printer line. However, it
> looks like an error is being generated by the script. Here is it's
> output.
>
> $sh test.sh test_file.ps
>
> test.sh: 1: hp:/usb/Officejet_Pro_L7600?serial=MY7AQ651R3: not found
> GPL Ghostscript 8.61 (2007-11-21)
> Copyright (C) 2007 Artifex Software, Inc. All rights reserved.
> This software comes with NO WARRANTY: see the file PUBLIC for details.
> unable to set key=DryTIme, value=15
> unable to set key=DryTIme, value=15
> unable to set key=DryTIme, value=15
> unable to set key=DryTIme, value=15
> Error: /undefinedfilename in (test_file.ps)
> Operand stack:
>
> Execution stack:
> %interp_exit .runexec2 --nostringval-- --nostringval--
> --nostringval-- 2 %stopped_push --nostringval-- --nostringval--
> --nostringval-- false 1 %stopped_push
> Dictionary stack:
> --dict:1159/1684(ro)(G)-- --dict:0/20(G)-- --dict:92/200(L)--
> Current allocation mode is local
> Last OS error: 2
> GPL Ghostscript 8.61: Unrecoverable error, exit code 1
>
> It creates a file called test_file.pcl, but it looks empty and has a
> file size of 0 bytes.
>
> Also, is it possible to attach the output files to this post or must I
> email you the files. If I need to email you, I need your email address
> or some instructions on how to attach files to a post.
>
> Thanks for all of your help. You have been very patient with me and I
> appreciate that. I look forward to getting the bug worked out.
>
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

Revision history for this message
Brian (jmail524) said :
#19

OK, here are the 2 test files. "test_file.pcl" was generated using the
script supplied by Raghu and "windows.prn" is the output of a webpage
printed in Windows XP.

Revision history for this message
Brian (jmail524) said :
#20

I attempted to attach 2 files to the email that I sent to <email address hidden>. The text of the message appeared but I dont' see my 2 attachments. I also got an automated email from launchpad.net telling me that my attachments were invalid and were rejected. Any suggestions?

Revision history for this message
dwelch91 (dwelch91) said :
#21

Maybe they were too large? Or of a format that it rejected due to possible
viruses? Maybe tar gzip or zip them up?

On Sun, Apr 27, 2008 at 8:26 PM, Brian <email address hidden>
wrote:

> Question #30051 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/30051
>
> Brian gave more information on the question:
> I attempted to attach 2 files to the email that I sent to
> <email address hidden>. The text of the message appeared but I
> dont' see my 2 attachments. I also got an automated email from
> launchpad.net telling me that my attachments were invalid and were
> rejected. Any suggestions?
>
> --
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

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

The launchpad questions does not support attachments for some reason. Please email the files to me directly

ke7ezt(at)gmail.com and I'll email them to Ragu.

The launchpad bugs does support attachments...I do wish they'd do the same with questions.

Aaron

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

Brian,
Looks like I made a typo. It should be DryTime (lower case i) not DryTIme
Looks like you are missing
DEVICE_URI=
in the first line of the script file.
test_file.ps was an example name, you can use any file here supported by cups,
such as .txt file, .ps file, etc.

Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brian
Sent: Saturday, April 26, 2008 6:56 PM
To: Cauligi, Raghothama S
Subject: RE: [Question #30051]: Duplexer smears ink.

Question #30051 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/30051

    Status: Answered => Open

Brian is still having a problem:
Hi Raghu,
I just noticed that I made a typo in my very first post and I am hoping that it hasn't been the cause of a lot of headaches. I accidentally typed that I have a L7880, it is actually a L7680. Sorry about that. (I wish I had seen that earlier.)

As far as your script that you asked me to run, I modified the DEVICE_URI with the output of the "lpstat -v" command. My printer shows
2 devices a FAX and the printer, I used the printer line. However, it looks like an error is being generated by the script. Here is it's output.

$sh test.sh test_file.ps

test.sh: 1: hp:/usb/Officejet_Pro_L7600?serial=MY7AQ651R3: not found GPL Ghostscript 8.61 (2007-11-21) Copyright (C) 2007 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
unable to set key=DryTIme, value=15
unable to set key=DryTIme, value=15
unable to set key=DryTIme, value=15
unable to set key=DryTIme, value=15
Error: /undefinedfilename in (test_file.ps) Operand stack:

Execution stack:
   %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push
Dictionary stack:
   --dict:1159/1684(ro)(G)-- --dict:0/20(G)-- --dict:92/200(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.61: Unrecoverable error, exit code 1

It creates a file called test_file.pcl, but it looks empty and has a file size of 0 bytes.

Also, is it possible to attach the output files to this post or must I email you the files. If I need to email you, I need your email address or some instructions on how to attach files to a post.

Thanks for all of your help. You have been very patient with me and I appreciate that. I look forward to getting the bug worked out.

You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
Brian (jmail524) said :
#24

OK, I think I've made some progress. I corrected the "I" with an "i", plus, I had a space between "DEVICE_URI=" and the "hp://....." address. Removing that space seems to have removed a some of the errors. I thought the script was goint to create its own test page, now I gave the script 2 pages from a PDF file. The script completed without any errors now.

I have sent the files from the latest attempt to Aaron's email above. I compressed the files because they got quite large. Hope this helps you out.

Thanks.
Brian

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

Thanks. I will test with the output file on my printer here.
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brian
Sent: Monday, April 28, 2008 7:22 PM
To: Cauligi, Raghothama S
Subject: RE: [Question #30051]: Duplexer smears ink.

Question #30051 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/30051

    Status: Answered => Open

Brian is still having a problem:
OK, I think I've made some progress. I corrected the "I" with an "i", plus, I had a space between "DEVICE_URI=" and the "hp://....." address.
Removing that space seems to have removed a some of the errors. I thought the script was goint to create its own test page, now I gave the script 2 pages from a PDF file. The script completed without any errors now.

I have sent the files from the latest attempt to Aaron's email above. I compressed the files because they got quite large. Hope this helps you out.

Thanks.
Brian

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

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

Brian,
I got the files. The file you created on windows does not have any additional
drytime set, the one from HPLIP has 15 seconds of additional dry time. I sent
these files to my Deskjet 6540 with a duplexer. The results were as expected,
the windows file made the printer pause for approx. 18 seconds, the hplip file
made it pause for over 30 seconds before pulling the page back for reverse side
printing. Did you send the hplip file to your printer and if so, with what results?
You can send the file thus:
lpr -o raw -P<Your_Printer_name> test_file.pcl

Thanks
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brian
Sent: Monday, April 28, 2008 7:22 PM
To: Cauligi, Raghothama S
Subject: RE: [Question #30051]: Duplexer smears ink.

Question #30051 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/30051

    Status: Answered => Open

Brian is still having a problem:
OK, I think I've made some progress. I corrected the "I" with an "i", plus, I had a space between "DEVICE_URI=" and the "hp://....." address.
Removing that space seems to have removed a some of the errors. I thought the script was goint to create its own test page, now I gave the script 2 pages from a PDF file. The script completed without any errors now.

I have sent the files from the latest attempt to Aaron's email above. I compressed the files because they got quite large. Hope this helps you out.

Thanks.
Brian

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
Brian (jmail524) said :
#27

When I send to file to the printer using the "lpr" command, it pauses for about 15 seconds then sucks the paper back in and prints the other side. However, when i set the dry time and print directly to the printer, the dry time is not altered. To recap, when I print directly to the printer from an application, I cannot affect the dry time of the page, but, when I print from the application to a ".ps" file and the send the ".ps" file to the printer via the "lpr" command, I see the result of the dry time setting. (Now this is getting weird.)

As far as the windows file goes, sorry i forgot to change the dry time in HP's driver, everything under windows was set to its default.

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

Hmm. That IS weird. Let me look into it.
Appreciate your patience.
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brian
Sent: Tuesday, April 29, 2008 7:35 PM
To: Cauligi, Raghothama S
Subject: RE: [Question #30051]: Duplexer smears ink.

Question #30051 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/30051

    Status: Answered => Open

Brian is still having a problem:
When I send to file to the printer using the "lpr" command, it pauses for about 15 seconds then sucks the paper back in and prints the other side. However, when i set the dry time and print directly to the printer, the dry time is not altered. To recap, when I print directly to the printer from an application, I cannot affect the dry time of the page, but, when I print from the application to a ".ps" file and the send the ".ps" file to the printer via the "lpr" command, I see the result of the dry time setting. (Now this is getting weird.)

As far as the windows file goes, sorry i forgot to change the dry time in HP's driver, everything under windows was set to its default.

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
Brian (jmail524) said :
#29

I have a little bit more information. I was playing around with various settings and analyzing the test.sh script. I have been trying all of my test pages in draft mode. In draft mode I have no control over the dry time and it smears the printing on the page. However, it looks like your script sets up the print to print in normal mode. In normal mode the script has the exact same dry time as printing directly from an application. So I think that I was comparing printing from an application in draft mode with the output of the script which is in normal mode.

Here is the current situation as it has changed a very tiny bit since I first posted about the problem.

In draft mode, there is absolutely no dry time for the page. As soon as it prints every on one side of the page, the page is immediately pulled back into the printer and the ink is smeared.

In normal mode, it has about a 10 second dry time now which seems to be good enough to stop the print from smearing. (I don't know how short the dry time can be and still have clear printing.) Before, the dry time use to be about 2-3 seconds (I think?) and it use to smear the ink. So it looks like your driver modifications have had an effect. When I print from an application, no matter what I set the dry time to in the driver, it pauses for 10 seconds now.

Using the test.sh script in its original condition (with DryTime=15), the page pauses for 18 seconds before it is sucked back in. I changed the dry time in the script to 30 seconds (by setting DryTime=30) and the page paused for 30 seconds. I am unsure of what settings to change to try and make the script print in draft mode, so I didn't try to do that.

I don't know if any of the above information helps. I have tried so many different iterations that I am loosing track of what I have done and what I have not tried. Let me know if there is anything else you would like me to try.

Thanks,
Brian

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

Hi Brian,
Very much appreciate your patience and initiative.
In the test.sh script, to change the printout mode, set Quality:Quality=1 and
-r600x600 to -r300
This will set it to print in plain paper, draft, color.
Thanks again.
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brian
Sent: Thursday, May 01, 2008 7:27 PM
To: Cauligi, Raghothama S
Subject: RE: [Question #30051]: Duplexer smears ink.

Question #30051 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/30051

    Status: Answered => Open

Brian is still having a problem:
I have a little bit more information. I was playing around with various settings and analyzing the test.sh script. I have been trying all of my test pages in draft mode. In draft mode I have no control over the dry time and it smears the printing on the page. However, it looks like your script sets up the print to print in normal mode. In normal mode the script has the exact same dry time as printing directly from an application. So I think that I was comparing printing from an application in draft mode with the output of the script which is in normal mode.

Here is the current situation as it has changed a very tiny bit since I first posted about the problem.

In draft mode, there is absolutely no dry time for the page. As soon as it prints every on one side of the page, the page is immediately pulled back into the printer and the ink is smeared.

In normal mode, it has about a 10 second dry time now which seems to be good enough to stop the print from smearing. (I don't know how short the dry time can be and still have clear printing.) Before, the dry time use to be about 2-3 seconds (I think?) and it use to smear the ink. So it looks like your driver modifications have had an effect. When I print from an application, no matter what I set the dry time to in the driver, it pauses for 10 seconds now.

Using the test.sh script in its original condition (with DryTime=15), the page pauses for 18 seconds before it is sucked back in. I changed the dry time in the script to 30 seconds (by setting DryTime=30) and the page paused for 30 seconds. I am unsure of what settings to change to try and make the script print in draft mode, so I didn't try to do that.

I don't know if any of the above information helps. I have tried so many different iterations that I am loosing track of what I have done and what I have not tried. Let me know if there is anything else you would like me to try.

Thanks,
Brian

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
Brian (jmail524) said :
#31

Hi Raghu,

Thanks for YOUR patience, I know it can be frustrating trying to fix a problem when you can't actually lay your hands on the equipment that is giving you the problem and when you have to assume the other person is following your instructions properly.

I made the changes you specified to the quality settings in your script and the printout looks like it printed in draft mode. It certainly printed much faster. Also, the page paused for 15 seconds before it was pulled back into the printer. So your script works perfectly for controlling the printout and dry time. It also makes me believe that my printer is functioning properly since it recognizes the various settings form your script.

My curiosity got the better of me and I was trying to figure out how your script worked. Correct me if I am wrong, but it looks like you are taking an input file and running it through the "hpijs" driver that was patched with the patch files you sent me. I am getting the impression that the script just sets up the various printer options through command line switches instead of me changing the setting in the drop down boxes that I see under the print settings of an application. Then you output the result to another file which I then print using the "lpr" command. (I wonder how much of that I got correct.)

One other thing I notice about your script is under "-sDeviceModel" I left it set to "deskjet 5600", should I change it to my model or doesn't it make any difference. I know that in an earlier post you had me change the "DEVICE_URI" to point to my printer, but that is all that I changed in the script.

What confuses me (and probably is confusing you) is, if I am using the exact same "hpijs" driver for the script as I am for an application, why do I get a different result when doing a printout.

Thanks,
Brian

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

Hi Brian,
Yes, you got it.
Normally, when you print from an app, default settings are merged with
command line or app set options are merged. Then, foomatic-rip which is
the filter hplip currently uses (it is a perl script) sets up the gs command options
and invokes gs. Just like what I do in the script. You can see that in
/var/log/cups/error_log (set LogLevel to debug in /etc/cups/cupsd.conf).
deskjet 5600 and OfficeJet Pro L7xxx map to same printer device class, so it is okay.
If DEVICE_URI is not set, then hpijs runs in uni-di mode, meaning it will not query
the printer for optional capabilities.
Printer still seems to have a problem because it should pause for about 18 seconds by default.
With the 15 second extra dry time, it should be about 33 seconds.
I am baffled why it is not working from an app.
Have you tried printing from HP Device Manager? Do you have more than one queue set up for this
printer? If so, is it possible that when you print from the app, you are selecting the other queue
which does not have DryTime settings?
Thanks
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brian
Sent: Friday, May 02, 2008 2:08 PM
To: Cauligi, Raghothama S
Subject: RE: [Question #30051]: Duplexer smears ink.

Question #30051 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/30051

    Status: Answered => Open

Brian is still having a problem:
Hi Raghu,

Thanks for YOUR patience, I know it can be frustrating trying to fix a problem when you can't actually lay your hands on the equipment that is giving you the problem and when you have to assume the other person is following your instructions properly.

I made the changes you specified to the quality settings in your script and the printout looks like it printed in draft mode. It certainly printed much faster. Also, the page paused for 15 seconds before it was pulled back into the printer. So your script works perfectly for controlling the printout and dry time. It also makes me believe that my printer is functioning properly since it recognizes the various settings form your script.

My curiosity got the better of me and I was trying to figure out how your script worked. Correct me if I am wrong, but it looks like you are taking an input file and running it through the "hpijs" driver that was patched with the patch files you sent me. I am getting the impression that the script just sets up the various printer options through command line switches instead of me changing the setting in the drop down boxes that I see under the print settings of an application. Then you output the result to another file which I then print using the "lpr" command.
(I wonder how much of that I got correct.)

One other thing I notice about your script is under "-sDeviceModel" I left it set to "deskjet 5600", should I change it to my model or doesn't it make any difference. I know that in an earlier post you had me change the "DEVICE_URI" to point to my printer, but that is all that I changed in the script.

What confuses me (and probably is confusing you) is, if I am using the exact same "hpijs" driver for the script as I am for an application, why do I get a different result when doing a printout.

Thanks,
Brian

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
Brian (jmail524) said :
#33

I had 2 queues (I think you mean drivers!?!) setup for this printer. One was the original driver that was automatically loaded by the Ubuntu OS when it initially detected the printer and the second was the modified driver your sent me. I manually installed the second driver using the modified PPD file. The second driver is the one I have been trying to use since it has the options for dry time which I can see in the print preferences of an application.

I removed the original driver so the only one loaded ow is the new modified driver. I had both so that I could compare the results. Now I only have the modified driver with the dry time settings and my results have not changed.

I also tried to print directly form the HP toolbox/Device Manager. I went under functions to print document sand files and attempted to send a PDF and a text document to the printer. I also checked the print settings to make sure the dry time was set to 15 seconds. However, I get the same result printing from the HP toolbox as i do from an application. (The dry time setting seems to make no difference.)

Do you think I should pack up the printer, take it back to the store and exchange it for a replacement. I hate to take the printer back since I'm not 100% sure if the printer is the culprit yet. (The fact that your script changed the dry time is what has me second guessing if the printer is bad. However it did not holding the page for the expected amount of time - 15 seconds versus the 33 seconds expected.)

Thanks,
Brian

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

Hi Brian,
The factory default dry time is not 0 second as you are seeing, so I think
it is defective in that sense.
I still would like to understand why the additional dry time is not taking effect
when printed via apps. I would like to ask you to do one additional test, that is to
dump whatever is being sent to the printer also to a disk file and examine this file.
Did I send you a modified services.cpp on Friday?
Thanks
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brian
Sent: Friday, May 02, 2008 6:33 PM
To: Cauligi, Raghothama S
Subject: RE: [Question #30051]: Duplexer smears ink.

Question #30051 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/30051

    Status: Answered => Open

Brian is still having a problem:
I had 2 queues (I think you mean drivers!?!) setup for this printer.
One was the original driver that was automatically loaded by the Ubuntu OS when it initially detected the printer and the second was the modified driver your sent me. I manually installed the second driver using the modified PPD file. The second driver is the one I have been trying to use since it has the options for dry time which I can see in the print preferences of an application.

I removed the original driver so the only one loaded ow is the new modified driver. I had both so that I could compare the results. Now I only have the modified driver with the dry time settings and my results have not changed.

I also tried to print directly form the HP toolbox/Device Manager. I went under functions to print document sand files and attempted to send a PDF and a text document to the printer. I also checked the print settings to make sure the dry time was set to 15 seconds. However, I get the same result printing from the HP toolbox as i do from an application. (The dry time setting seems to make no difference.)

Do you think I should pack up the printer, take it back to the store and exchange it for a replacement. I hate to take the printer back since I'm not 100% sure if the printer is the culprit yet. (The fact that your script changed the dry time is what has me second guessing if the printer is bad. However it did not holding the page for the expected amount of time - 15 seconds versus the 33 seconds expected.)

Thanks,
Brian

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
Brian (jmail524) said :
#35

Hello Raghu. Sorry, I was away from my computer for a few days and I just got the chance to start working on it again.

I did receive a "services.cpp" file in my email. I downloaded the file and placed it in the "~/hplip-2.8.2/prnt/hpijs" directory replacing the "services.cpp" file that was already there. I then re-compiled the source code like I did in the beginning (./configure, make, and sudo make install). After that was done I remove the driver for my printer and reinstalled it for good measure using the modified "ppd" file from before.

The process went smoothly and I still have the dry time adjustment in my printer options. However, I am under the assumption that when I print to the printer it will also create a dump file of the printer driver output. Am I incorrect on this? Do you want me to redirect the printer's output to a file using the command line (I'm not sure how to do this) or do you want me to print directly to a file like I did before? I am not sure exactly how you want me to proceed.

Also, I will probably take the printer back this weekend. The store has been very helpful. I told the store I was working on the problems with the HP driver "developers", they are willing to extend their return policy for a couple of extra weeks for me. That certainly impressed me. I thought decent customer service disappeared year ago from all stores. Well I guess some stores just want to make money and some want to make customers. :)

Thanks!
Brian

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

Hi Brian,
Yes, you got that right. With the modified driver, when you print a job, the driver
sends the data to the printer and also dumps it to file named /tmp/output.pcl.
I would like to take a look at that .pcl file.
However, if the store is willing to exchange it, go do it. As I have said earlier,
there is a hardware/firmware defect which is causing it to not pause at all.
Appreciate your patience and am glad to hear customer service is still good. :-)
Regards,
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brian
Sent: Thursday, May 08, 2008 7:33 PM
To: Cauligi, Raghothama S
Subject: RE: [Question #30051]: Duplexer smears ink.

Question #30051 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/30051

    Status: Answered => Open

Brian is still having a problem:
Hello Raghu. Sorry, I was away from my computer for a few days and I just got the chance to start working on it again.

I did receive a "services.cpp" file in my email. I downloaded the file and placed it in the "~/hplip-2.8.2/prnt/hpijs" directory replacing the "services.cpp" file that was already there. I then re-compiled the source code like I did in the beginning (./configure, make, and sudo make install). After that was done I remove the driver for my printer and reinstalled it for good measure using the modified "ppd" file from before.

The process went smoothly and I still have the dry time adjustment in my printer options. However, I am under the assumption that when I print to the printer it will also create a dump file of the printer driver output. Am I incorrect on this? Do you want me to redirect the printer's output to a file using the command line (I'm not sure how to do this) or do you want me to print directly to a file like I did before? I am not sure exactly how you want me to proceed.

Also, I will probably take the printer back this weekend. The store has been very helpful. I told the store I was working on the problems with the HP driver "developers", they are willing to extend their return policy for a couple of extra weeks for me. That certainly impressed me.
I thought decent customer service disappeared year ago from all stores.
Well I guess some stores just want to make money and some want to make customers. :)

Thanks!
Brian

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
Brian (jmail524) said :
#37

Hi Raghu, I did a printout of a 2 page document and set the dry time to 15 seconds. The printer acted as usual for me but my "/tmp" directory doesn't have an "output.pcl" file in it. When I first send the print job a file called "evince-@*^*$^$" appears for a second but then disappears. (It flashes by too quickly for me to get the full filename.)

I think I built the driver correctly. I am using the patched source files from before and I replaced the "services.cpp" file in the "~/hplip-2.8.2/prnt/hpijs" directory with the modified one you sent me via email. I then compile the source with "./configure", then "make" and then "sudo make install." The compilation gave no errors at the end so I think everything went well. I then erased the OfficeJet_Pro driver in my printing control panel and reinstalled it using the modified "PPD" file that was made before. When I was done, the dry time modification you made for the dry time was still available but I don't see the "output.pcl" file in any of my folders on my drive.

Let me know if I screwed-up a step somewhere or if I am looking in the wrong place for the file.

Thanks,
Brian

Revision history for this message
Brian (jmail524) said :
#38

Well, I returned my first printer and exchanged it for another one in the box. I brought it home, unpacked it and set it up on my computer. The big problem now is the new printer acts exactly the same as my first printer.

Revision history for this message
Brian (jmail524) said :
#39

Hey everybody, how is it going. I don't mean to push the issue I am having, but, If it doesn't look like this problem is going to be resolved soon I am running out of time to take the printer back.

Thanks for everyones help.

Brian

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

The drying time was added with hplip 2.8.5. If you run hp-toolbox, click print settings there should be a selection for dry time.

Please be sure you are using hplip 2.8.5 and let me know if you have any problems finding it.

Hope this helps.

Aaron

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

Hi Brian,
I thought you already exchanged the printer, no?
With the extra dry time set to non-zero, are you able to make the printer pause?
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brian
Sent: Tuesday, May 20, 2008 3:05 PM
To: Cauligi, Raghothama S
Subject: RE: [Question #30051]: Duplexer smears ink.

Question #30051 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/30051

Brian gave more information on the question:
Hey everybody, how is it going. I don't mean to push the issue I am having, but, If it doesn't look like this problem is going to be resolved soon I am running out of time to take the printer back.

Thanks for everyones help.

Brian

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
Brian (jmail524) said :
#42

Hi everyone. (I though I was abandoned for a moment.) My apologies for not being clear in last couple of posts. I will attempt to clarify my current position.

I have upgraded to hplip-2.8.5. I did this by downloading "hplip-2.8.5.run" from hplip.sourceforge.net. I used the command "sh hplip-2.8.5.run" to install it and I just let it use the automatic/default values throughout the process. My "About" boxes confirm that I am now using the 2.8.5 driver, however, I needed to use Raghu's modified PPD file to get the dry time settings box, the default installed driver in 2.8.5 gave me no such options.

Yes I did return the printer and exchange it for another one. However, the second printer works exactly like the first. The dry time settings make no difference from an application and it pulls the paper back in immediately after printing the last line. So it smears the ink the same as the first printer.

Thanks,
Brian

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

Hi Brian,
Did you set the extra drytime via cups printer settings page?
If not, please do so and that should add additional dry time wait.
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brian
Sent: Tuesday, May 20, 2008 5:23 PM
To: Cauligi, Raghothama S
Subject: RE: [Question #30051]: Duplexer smears ink.

Question #30051 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/30051

    Status: Answered => Open

Brian is still having a problem:
Hi everyone. (I though I was abandoned for a moment.) My apologies for not being clear in last couple of posts. I will attempt to clarify my current position.

I have upgraded to hplip-2.8.5. I did this by downloading "hplip-2.8.5.run" from hplip.sourceforge.net. I used the command "sh hplip-2.8.5.run" to install it and I just let it use the automatic/default values throughout the process. My "About" boxes confirm that I am now using the 2.8.5 driver, however, I needed to use Raghu's modified PPD file to get the dry time settings box, the default installed driver in 2.8.5 gave me no such options.

Yes I did return the printer and exchange it for another one. However, the second printer works exactly like the first. The dry time settings make no difference from an application and it pulls the paper back in immediately after printing the last line. So it smears the ink the same as the first printer.

Thanks,
Brian

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
Brian (jmail524) said :
#44

No change. It still doesn't pause and hold the paper before pulling the paper back in to switch sides.

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

Hi Brian,
What application are you using? If you set the extra dry time in CUPS page, it
takes effect for all jobs that go through hplip driver.
If you print the CUPS test page or save your doc to a .ps file and then use
lpr to send the job to the printer, that is working right?
If lpr is working (i.e., making the printer pause) then you must have a second
print queue. Can you verify that you are printing to the
same queue as the one for which you set the extra dry time for.
Thanks
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brian
Sent: Tuesday, May 20, 2008 6:11 PM
To: Cauligi, Raghothama S
Subject: RE: [Question #30051]: Duplexer smears ink.

Question #30051 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/30051

    Status: Answered => Open

Brian is still having a problem:
No change. It still doesn't pause and hold the paper before pulling the paper back in to switch sides.

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
Brian (jmail524) said :
#46

Fore the most part I have been trying to print PDF files using Evince. But I have tried other applications such as Firefox 3 and gEdit and OpenOffice 2.4. The problem remains the same with all the applications. Ad far as drivers/queues go, I had 2 setup (one with the original driver and one with the modified PPD), but because of the stubborn nature of the problem I deleted all the drivers and only reinstalled the modified PPD. So now I only have one driver/queue using the new modified PPD file and it doesn't seem to alter the dry time. (When I had 2 drivers, I was very careful to be sure I was picking the driver with the dry time option.)

Just for fun (and my sanity) I printed a PDF (via Evince) to a file (.ps), then used your script to convert the file to a ".pcl" file and I made sure I was using the driver with the modified PPD file (It's the only one installed so I didn't have a choice). I then printed it out using the "lpr" command. Everything worked, it paused for 15 (which is what it is set for in the script, 15 seconds) seconds before pulling the paper back in.

Thanks,
Brian

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

Hi Brian,
That gives me enough info to do some testing here. I will get back to you by tomorrow.
I hesitate to ask this, but in the meantime, if you would edit /etc/cups/cupsd.conf
and change LogLevel to debug, save the file and restart cups - /etc/init.d/cupsys restart,
then print a duplex job with extra time set to say 15 seconds.
Then /var/log/cups/error_log will have the actual options sent to the driver. I would like
to see what is getting to the driver. In this log file, look for gs
you should see
renderer command: gs -q -dBATCH .... -sOutputFile=- -
Cut and paste this paragraph in your reply.
Thanks
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brian
Sent: Wednesday, May 21, 2008 4:04 PM
To: Cauligi, Raghothama S
Subject: RE: [Question #30051]: Duplexer smears ink.

Question #30051 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/30051

    Status: Answered => Open

Brian is still having a problem:
Fore the most part I have been trying to print PDF files using Evince.
But I have tried other applications such as Firefox 3 and gEdit and OpenOffice 2.4. The problem remains the same with all the applications.
Ad far as drivers/queues go, I had 2 setup (one with the original driver and one with the modified PPD), but because of the stubborn nature of the problem I deleted all the drivers and only reinstalled the modified PPD. So now I only have one driver/queue using the new modified PPD file and it doesn't seem to alter the dry time. (When I had 2 drivers, I was very careful to be sure I was picking the driver with the dry time
option.)

Just for fun (and my sanity) I printed a PDF (via Evince) to a file (.ps), then used your script to convert the file to a ".pcl" file and I made sure I was using the driver with the modified PPD file (It's the only one installed so I didn't have a choice). I then printed it out using the "lpr" command. Everything worked, it paused for 15 (which is what it is set for in the script, 15 seconds) seconds before pulling the paper back in.

Thanks,
Brian

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
Brian (jmail524) said :
#48

OK Raghu, I think I got what you were looking for.

This printout is a 2-page PDF file printed using Evince sent to printer "Officejet_Pro_L7600_NEW" using the following options:
   General
        - Print Range: "1-2"
        - Copies: "1"
   Page Setup
        - Pages Per Side: "1"
        - Two-Sided: "Long_Edge (Standard)"
        - Only Print: "All Sheets"
        - Scale: "100.0%"
        - Paper Source: "Printer Default"
   Advanced
        - Printout Mode: "Draft (auto-detect paper type)"
        - Additional Dry Time: "15 Seconds"
        - Resolution, Quality...: "Controlled by 'Printout Mode'"

Here is the snippet from the "/var/log/cups/error_log" file:

D [21/May/2008:19:41:17 -0400] [Job 36] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="deskjet 5600" -dDuplex=true -dTumble=false -r300 -sIjsParams=Quality:Quality=4,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2,DryTime=15,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- -

D [21/May/2008:19:41:17 -0400] [Job 36] foomatic-gswrapper: gs '-sstdout=%stderr' '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-dDEVICEWIDTHPOINTS=612' '-dDEVICEHEIGHTPOINTS=792' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=deskjet 5600' '-dDuplex=true' '-dTumble=false' '-r300' '-sIjsParams=Quality:Quality=4,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2,DryTime=15,PS:MediaPosition=7' '-dIjsUseOutputFD' '-sOutputFile=%stdout' '-_'

I attached the next line also because it looks like it had some useful information in it also.

I appreciate your staying with me on this problem. I know that its driving me nuts. I wish I knew more about the printing system so that I could be more useful to you. I know how frustrating it is when you can't actually lay your hands on the equipment with the problem and have to rely on someone else and are to trying to direct them to waht you are looking for.

Thanks,
Brian

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

Hi Brian,
No need to be contrite, on the contrary, I apologize for this. It is frustrating me as well.
I set the drytime to 15 seconds in CUPS options page, then print cups testpage and it works
as expected. I see from the snippet you sent that the driver is being called with the drytime value.
I will repeat what you are doing and see if I can reproduce this.
Also, do you see any error message in either /var/log/cups/error_log or /var/log/messages, such as,
        unable to set key=DryTime, value=10
Much appreciate your patience. I will get back to you after I have some testing.
Thanks and regards,
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brian
Sent: Wednesday, May 21, 2008 4:48 PM
To: Cauligi, Raghothama S
Subject: RE: [Question #30051]: Duplexer smears ink.

Question #30051 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/30051

    Status: Answered => Open

Brian is still having a problem:
OK Raghu, I think I got what you were looking for.

This printout is a 2-page PDF file printed using Evince sent to printer "Officejet_Pro_L7600_NEW" using the following options:
   General
        - Print Range: "1-2"
        - Copies: "1"
   Page Setup
        - Pages Per Side: "1"
        - Two-Sided: "Long_Edge (Standard)"
        - Only Print: "All Sheets"
        - Scale: "100.0%"
        - Paper Source: "Printer Default"
   Advanced
        - Printout Mode: "Draft (auto-detect paper type)"
        - Additional Dry Time: "15 Seconds"
        - Resolution, Quality...: "Controlled by 'Printout Mode'"

Here is the snippet from the "/var/log/cups/error_log" file:

D [21/May/2008:19:41:17 -0400] [Job 36] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs
-dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -sDeviceManufacturer ="HEWLETT-PACKARD" -sDeviceModel="deskjet 5600" -dDuplex=true -dTumble=false -r300
-sIjsParams=Quality:Quality=4,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2,DryTime=15,PS:MediaPosition=7
-dIjsUseOutputFD -sOutputFile=- -

D [21/May/2008:19:41:17 -0400] [Job 36] foomatic-gswrapper: gs '-sstdout=%stderr' '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE'
'-sDEVICE=ijs' '-sIjsServer=hpijs' '-dDEVICEWIDTHPOINTS=612'
'-dDEVICEHEIGHTPOINTS=792' '-sDeviceManufacturer=HEWLETT-PACKARD'
'-sDeviceModel=deskjet 5600' '-dDuplex=true' '-dTumble=false' '-r300'
'-sIjsParams=Quality:Quality=4,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2,DryTime=15,PS:MediaPosition=7'
'-dIjsUseOutputFD' '-sOutputFile=%stdout' '-_'

I attached the next line also because it looks like it had some useful information in it also.

I appreciate your staying with me on this problem. I know that its driving me nuts. I wish I knew more about the printing system so that I could be more useful to you. I know how frustrating it is when you can't actually lay your hands on the equipment with the problem and have to rely on someone else and are to trying to direct them to waht you are looking for.

Thanks,
Brian

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
Brian (jmail524) said :
#50

I don't see anything that looks like an error. Most processes seem to tidy up after completion. Here are a few status(?) lines from the log file:

D [21/May/2008:19:41:17 -0400] [Job 36] Wrote 2 pages...
D [21/May/2008:19:41:17 -0400] PID 22058 (/usr/lib/cups/filter/pstops) exited with no errors.
D [21/May/2008:19:41:17 -0400] [Job 36]
D [21/May/2008:19:41:17 -0400] [Job 36] Closing renderer

D [21/May/2008:19:41:18 -0400] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok)

D [21/May/2008:19:41:18 -0400] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok)

D [21/May/2008:19:41:30 -0400] [Job 36] KID3 exited with status 0
D [21/May/2008:19:41:30 -0400] [Job 36] tail process done writing data to STDOUT
D [21/May/2008:19:41:30 -0400] [Job 36] KID4 finished
D [21/May/2008:19:41:30 -0400] [Job 36] KID4 exited with status 0

D [21/May/2008:19:41:30 -0400] PID 22060 (/usr/lib/cups/filter/foomatic-rip-hplip) exited with no errors.

D [21/May/2008:19:41:41 -0400] PID 22061 (/usr/lib/cups/backend/hp) exited with no errors.

I [21/May/2008:19:41:41 -0400] [Job 36] Completed successfully.

It looks to me like everything occurred normally. I found nothing referring to "dry time" other than what appeared in the configuration/settings line and that is supposed to be there.

Brian

Revision history for this message
Brian (jmail524) said :
#51

I was combing through the log file an I noticed some more configuration info:

D [21/May/2008:19:41:17 -0400] [Job 36] GhostScript extra search path ('GS_LIB'): /usr/share/cups/fonts
D [21/May/2008:19:41:17 -0400] [Job 36] Pondering option 'PrintoutMode=Draft'
D [21/May/2008:19:41:17 -0400] [Job 36] Pondering option 'PageSize=Letter'
D [21/May/2008:19:41:17 -0400] [Job 36] Pondering option 'DryTime=Fifteen'
D [21/May/2008:19:41:17 -0400] [Job 36] Pondering option 'Quality=FromPrintoutMode'
D [21/May/2008:19:41:17 -0400] [Job 36] Pondering option 'Duplex=DuplexNoTumble'
D [21/May/2008:19:41:17 -0400] [Job 36] Pondering option 'InputSlot=Default'
D [21/May/2008:19:41:17 -0400] [Job 36] Pondering option 'number-up=1'
D [21/May/2008:19:41:17 -0400] [Job 36] Unknown option number-up=1.
D [21/May/2008:19:41:17 -0400] [Job 36] Pondering option 'job-uuid=urn:uuid:fd72bd5b-d3f4-3a7d-4473-01a1adc52fb2'
D [21/May/2008:19:41:17 -0400] [Job 36] Unknown option job-uuid=urn:uuid:fd72bd5b-d3f4-3a7d-4473-01a1adc52fb2.

I don't know if this is of any use to you. I just noticed that the "DryTime=" is set to the word "Fifteen" and not the number "15". Just wondering if this is correct because another option in the log ("number-up=") has a number in it ("1"). However, that parameter seems to have generated an error.(?) Also, "job-uuid:" also looks like it might be an error.

Just thought I bring these to your attention.

Brian.

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

Hi Brian,
I think I found the problem. This will be fixed in the 2.8.6 release, in the
meantime, it is a simple fix.
go to hplip-2.8.5/prnt/hpijs directory
Edit the file dj9xxvip.cpp
Look for
            err = thePrinter->Send (ExtraDryTime, sizeof (ExtraDryTime));
I have to subtract 1 from the number returned by sizeof function. So, change it to
            err = thePrinter->Send (ExtraDryTime, sizeof (ExtraDryTime) - 1);
in the hplip-2.8.5 directory, make and make install.
This should fix it.
I have tried it with evince on a Photosmart C7200 and a couple of other printers.
Thanks
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brian
Sent: Wednesday, May 21, 2008 6:44 PM
To: Cauligi, Raghothama S
Subject: RE: [Question #30051]: Duplexer smears ink.

Question #30051 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/30051

Brian gave more information on the question:
I was combing through the log file an I noticed some more configuration
info:

D [21/May/2008:19:41:17 -0400] [Job 36] GhostScript extra search path ('GS_LIB'): /usr/share/cups/fonts D [21/May/2008:19:41:17 -0400] [Job 36] Pondering option 'PrintoutMode=Draft'
D [21/May/2008:19:41:17 -0400] [Job 36] Pondering option 'PageSize=Letter'
D [21/May/2008:19:41:17 -0400] [Job 36] Pondering option 'DryTime=Fifteen'
D [21/May/2008:19:41:17 -0400] [Job 36] Pondering option 'Quality=FromPrintoutMode'
D [21/May/2008:19:41:17 -0400] [Job 36] Pondering option 'Duplex=DuplexNoTumble'
D [21/May/2008:19:41:17 -0400] [Job 36] Pondering option 'InputSlot=Default'
D [21/May/2008:19:41:17 -0400] [Job 36] Pondering option 'number-up=1'
D [21/May/2008:19:41:17 -0400] [Job 36] Unknown option number-up=1.
D [21/May/2008:19:41:17 -0400] [Job 36] Pondering option 'job-uuid=urn:uuid:fd72bd5b-d3f4-3a7d-4473-01a1adc52fb2'
D [21/May/2008:19:41:17 -0400] [Job 36] Unknown option job-uuid=urn:uuid:fd72bd5b-d3f4-3a7d-4473-01a1adc52fb2.

I don't know if this is of any use to you. I just noticed that the "DryTime=" is set to the word "Fifteen" and not the number "15". Just wondering if this is correct because another option in the log ("number-
up=") has a number in it ("1"). However, that parameter seems to have generated an error.(?) Also, "job-uuid:" also looks like it might be an error.

Just thought I bring these to your attention.

Brian.

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
Brian (jmail524) said :
#53

Well Raghu, I hate to say this, but it still isn't working for me.

This is what I have done, let me know if I screwed up a step.
1. Removed all printer queues from Printers Toolbox. Verified in CUPS that all printers had been removed.
2. Download HPLIP-2.8.5 from sourceforge.net. Extracted files to my HOME directory.
3. Patched the OfficeJet L7700 PPD file using the patch created a while ago. (Up in reply #3)
4. Ran "./configure" and "make" and "sudo make install"
5. Rebooted computer. (I did this just for good measure.)
6. Setup printer using "hp-setup", instructing it to use the modified PPD file.
7. Did a test print. (Didn't pause the 30 seconds I assigned it.)
8. Reboot computer one more time.
9. Did another test print. (Same outcome as before.)

I also check the setting in CUPS and in Evince to make sure that they all matched, everything was setup properly. I also tried printing using the test script and "lpr" command, that test worked perfectly as it paused for 30 seconds as I had set in the script.

Listed above on one of many attempts to get it working since your last post. I tried setup without the modified PPD, but I had no settings for Dry Time. I also attempted to apply all of the previous patches to hplip-2.8.5, but the patch commands generated errors and the "make" process generated an error. hat I have listed above seemed to be the cleanest compile I could generate, it finished with no errors.

On another note, I have been keeping in contact with the store that I purchased the printer from. They are fully aware of the problems that I have encountered and are willing to help me out. They have a 30 day return policy, and I contemplated taking the printer back and abandoning this endeavor. (I didn't feel like throwing money away on a printer I couldn't get working properly.) However, the store is waiving their 30 day policy and is willing to give me more time to try and straighten out this problem. So I leave it up to you to let me know how you want to proceed. I am willing to keep at this to try and remedy the problems, but, if you want to give up at any point, I will understand. (I really like this new printer, but I could always go back to my good old HP DeskJet 6122. I just wish my old Epson Perfection 3170 worked with the new versions of 64-bit Ubuntu.)

Thanks,
Brian

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

Hi Brian,
Perhaps you missed my last reply. I found a bug in the code - I was
sending one extra byte in the pause command. It is in
hplip-2.8.5/prnt/hpijs/dj9xxvip.cpp. It is,
Replace this line with
            err = thePrinter->Send (ExtraDryTime, sizeof (ExtraDryTime));
            err = thePrinter->Send (ExtraDryTime, sizeof (ExtraDryTime) - 1);
Then make and make install
I don't have a L7700 handy to test with, but I tested with 3 different printers
with the duplexer and they all worked as expected, printing from Evince on Ubuntu.
What baffles me is that it works when run from the script and not from the app. They
are both going through the same code path. I verified that the drytime option was
getting sent down to the driver.
I would still like to get the PCL generated. I will send a modified services.cpp file
to your gmail account that will allow me to do this.
Thanks for the hardwork.
Regards,
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brian
Sent: Thursday, May 22, 2008 7:09 PM
To: Cauligi, Raghothama S
Subject: RE: [Question #30051]: Duplexer smears ink.

Question #30051 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/30051

    Status: Answered => Open

Brian is still having a problem:
Well Raghu, I hate to say this, but it still isn't working for me.

This is what I have done, let me know if I screwed up a step.
1. Removed all printer queues from Printers Toolbox. Verified in CUPS that all printers had been removed.
2. Download HPLIP-2.8.5 from sourceforge.net. Extracted files to my HOME directory.
3. Patched the OfficeJet L7700 PPD file using the patch created a while ago. (Up in reply #3) 4. Ran "./configure" and "make" and "sudo make install"
5. Rebooted computer. (I did this just for good measure.) 6. Setup printer using "hp-setup", instructing it to use the modified PPD file.
7. Did a test print. (Didn't pause the 30 seconds I assigned it.) 8. Reboot computer one more time.
9. Did another test print. (Same outcome as before.)

I also check the setting in CUPS and in Evince to make sure that they all matched, everything was setup properly. I also tried printing using the test script and "lpr" command, that test worked perfectly as it paused for 30 seconds as I had set in the script.

Listed above on one of many attempts to get it working since your last post. I tried setup without the modified PPD, but I had no settings for Dry Time. I also attempted to apply all of the previous patches to hplip-2.8.5, but the patch commands generated errors and the "make"
process generated an error. hat I have listed above seemed to be the cleanest compile I could generate, it finished with no errors.

On another note, I have been keeping in contact with the store that I purchased the printer from. They are fully aware of the problems that I have encountered and are willing to help me out. They have a 30 day return policy, and I contemplated taking the printer back and abandoning this endeavor. (I didn't feel like throwing money away on a printer I couldn't get working properly.) However, the store is waiving their 30 day policy and is willing to give me more time to try and straighten out this problem. So I leave it up to you to let me know how you want to proceed. I am willing to keep at this to try and remedy the problems, but, if you want to give up at any point, I will understand. (I really like this new printer, but I could always go back to my good old HP DeskJet 6122. I just wish my old Epson Perfection 3170 worked with the new versions of 64-bit Ubuntu.)

Thanks,
Brian

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
Brian (jmail524) said :
#55

Hi Raghu,
Sorry I got tied up in the long holiday weekend here and haven't had much of a chance to work on the printer. I downloaded modified the "dj9xxvip..cpp" file like you said and I copied the "services.cpp" into the "hplip-2.8.5/prnt/hpijs" directory. However, when I run "make" it generates a couple of errors:

prnt/hpijs/services.cpp: In constructor ‘UXServices::UXServices()’:
prnt/hpijs/services.cpp:311: error: expected `;' before ‘if’
prnt/hpijs/services.cpp:315: error: expected primary-expression before ‘else’
prnt/hpijs/services.cpp:315: error: expected `;' before ‘else’
make: *** [hpijs-services.o] Error 1

I'm not sure how to get around these errors. Maybe you should reiterate exactly how I should compile everything again. I may be screwing up a step. So many changes have been made and I'm not exactly sure what pieces I should modify or patch and what I should leave alone. I assumed that I should take the hplip-2.8.5 source and change the line "err = thePrinter->Send (ExtraDryTime, sizeof (ExtraDryTime) - 1);" and replace "services.cpp" under the "prnt/hpijs" directory with the modified file you sent me.

Thanks for the help.
Brian

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

Ooops, there is a missing ;
Edit the file prnt/hpijs/services.cpp and look for
fp = fopen ("/tmp/output.pcl", "w")
This line is missing a ';' at the end. Add ; at the end, save the file.
Run make and make install as before.
Now, when you run a print job, the output goes into /tmp/output.pcl and nothing will be
sent to the printer. Send me this file.
Thanks
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brian
Sent: Tuesday, May 27, 2008 3:20 PM
To: Cauligi, Raghothama S
Subject: RE: [Question #30051]: Duplexer smears ink.

Question #30051 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/30051

    Status: Answered => Open

Brian is still having a problem:
Hi Raghu,
Sorry I got tied up in the long holiday weekend here and haven't had much of a chance to work on the printer. I downloaded modified the "dj9xxvip..cpp" file like you said and I copied the "services.cpp" into the "hplip-2.8.5/prnt/hpijs" directory. However, when I run "make" it generates a couple of errors:

prnt/hpijs/services.cpp: In constructor 'UXServices::UXServices()':
prnt/hpijs/services.cpp:311: error: expected `;' before 'if'
prnt/hpijs/services.cpp:315: error: expected primary-expression before 'else'
prnt/hpijs/services.cpp:315: error: expected `;' before 'else'
make: *** [hpijs-services.o] Error 1

I'm not sure how to get around these errors. Maybe you should reiterate exactly how I should compile everything again. I may be screwing up a step. So many changes have been made and I'm not exactly sure what pieces I should modify or patch and what I should leave alone.
I assumed that I should take the hplip-2.8.5 source and change the line "err = thePrinter->Send (ExtraDryTime, sizeof (ExtraDryTime) - 1);" and replace "services.cpp" under the "prnt/hpijs" directory with the modified file you sent me.

Thanks for the help.
Brian

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
Brian (jmail524) said :
#57

I modified the "services.cpp" as you specified by adding the missing ";" to the end of the "fp = fopen..." line. The source compiled without errors now. When I print the output goes to the printer and no "output.pcl" is created in my "/tmp" directory. I also removed my printer from the queue listing and reinstalled it, but that made no difference. My "/tmp" directory on has "root" permissions, do I need to add and/or change any permissions for the printer driver to be able to access "/tmp".

Thanks.
Brian

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

Brian,
By default, /tmp should have write permission to everyone. Verify that
the permissions on /tmp has write permissions to everyone. (if not, sudo chmod 777 /tmp)
Thanks
Raghu

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Brian
Sent: Wednesday, May 28, 2008 8:50 PM
To: Cauligi, Raghothama S
Subject: RE: [Question #30051]: Duplexer smears ink.

Question #30051 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/30051

    Status: Answered => Open

Brian is still having a problem:
I modified the "services.cpp" as you specified by adding the missing ";"
to the end of the "fp = fopen..." line. The source compiled without errors now. When I print the output goes to the printer and no "output.pcl" is created in my "/tmp" directory. I also removed my printer from the queue listing and reinstalled it, but that made no difference. My "/tmp" directory on has "root" permissions, do I need to add and/or change any permissions for the printer driver to be able to access "/tmp".

Thanks.
Brian

--
You received this question notification because you are a member of HP Linux Imaging and Printing, which is an answer contact for HPLIP.

Revision history for this message
Andy (winlines) said :
#59

Hello,

my HP smears ink, too. I installed HPLIP 2.8.5 which should have a "additional dry-time-key", but there is no key. I installed a HP Officejet Pro K5400 dn. I used the PPD-file from the hplip-2.8.5/ppd folder.
Does anyone know, why there is no dry-time-key? Is it a mistake in the PPD-file or why is there no key?

Best wishes,

Andy

Revision history for this message
Brian (jmail524) said :
#60

Hello Andy,

The HPLIP-2.8.5 doesn't seem to support a "dry time" setting "right out of the box." Raghu provided me with a patch file that modified the "HP7700" PPD that shipped with the HPLIP-2.8.5 source. This patch added the "dry time" option to the driver. If you want to supply me with an email address where I can send this file, I would be happy to forward it to you. But, you should probably wait for someone here who is more knowledgeable then me and can better guide you.

I am still having the smearing problem and the modified "services.cpp" still isn't writing any file to me "/tmp" directory. I have checked the permissions for the "/tmp" directory and everything looks okay. I even did a "sudo chmod 777 /tmp" just to be sure but it made no difference.

Thanks.
Brian

Revision history for this message
Andy (winlines) said :
#61

Hi Brian,

thanks for your answer. Please send the PPD-File to <email address hidden>
After getting the PPD-File, is it enough to install a printer using the modified PPD, or does it require a recompilation to get the "dry time key"?

I thought that HPLIP-2.8.5 provides a dry-time key. because here: http://sourceforge.net/forum/forum.php?forum_id=821271 stands at #25, that there is a "DryTime key to allow users to set additional dry time when autoduplex is selected "...

Greetings,

Andy

Revision history for this message
Brian (jmail524) said :
#62

Hello Andy,

I forwarded you a copy of the email that Raghu sent to me with the patches attached. The instructions to apply the patches are located in the 2nd post. Since HPLIP-2.8.5 came out, I think the only patch you need is the one that modifies the PPD file ("hplip-2.8.2-OJL7700_extra_drytime.patch"). After that I forced the use of the modified PPD for my printer. However, since it still is not working properly for me, I may be doing something incorrectly. But I am curious if this/these files fix the problem for you. Good luck.

Thanks.
Brian

Revision history for this message
Andy (winlines) said :
#63

Hello Brian,

thanks for sending the PPD =) It works properly, but in Duplex-Mode, the margins are cut of, but this seems to be an old, known bug.

Did you notice, that you have to change a line in the cpp file? Here's a quote from Raghu:

Hi Brian,
Perhaps you missed my last reply. I found a bug in the code - I was
sending one extra byte in the pause command. It is in
hplip-2.8.5/prnt/hpijs/dj9xxvip.cpp. It is,
Replace this line with
            err = thePrinter->Send (ExtraDryTime, sizeof (ExtraDryTime));
            err = thePrinter->Send (ExtraDryTime, sizeof (ExtraDryTime) - 1);
Then make and make install

After this change, my printer waits for x Seconds before pulling the paper back, that works very well. But before changing the line in the cpp-file my printer did not wait befor pull back. So if you did not change before, try this =)

Greets,

Andy

Revision history for this message
Brian (jmail524) said :
#64

Hello everyone,

I just wanted to let you know that I updated to hplip-2.8.6 and it seems to have corrected my dry time/smearing problem. (I guess I was not compiling the source code properly since the automated install worked perfectly.) I still have to use the modified CPP file, the CPP file that comes with hplip-2.8.6 doesn't seem to have any dry time options.

I want to thank everyone who has helped me on this issue, especially Raghu. You patience with me was greatly appreciated. Sorry to drag the problem on longer that necessary. You had apparently correct the problem but I was doing something wrong and never saw the proper result form the fixes you applied to the code. It was great working with everyone. The Linux community seem to be in good hands.

Thanks,
Brian

PS: Andy, my margins are also altered when I print in duplex mode. I think it is just the top and bottom margins that are affected. Now on to try and fix this problem.

Revision history for this message
Eduard Bürki (eizeila) said :
#65

Hello,

I have the same issue with the printer HP Envy 5544.

When I print in duplex mode: After printing the first page, it does only wait 2 seconds until he pulls the paper back in, to print the other side. This leads to every second page being smeared.

When I use the printer in Windows, the waiting time depends on the amount of ink used. The waiting time for little text in draft mode is 5 seconds. When I print an image, the waiting time is 15 seconds.

But in Linux the waiting time is always 2 seconds. That is just too short. I don't claim to Linux that it has to adjust the waiting time to the amount of ink used. (Although that would be great, of course.) It would be enough for me if Linux would always wait 20 seconds before pulling the paper back in.

Would appreciate to have a working patch file. Would be very interested in this. Thank you.