OfficeJet 6700: PPD Off-Center?

Asked by Ed Santiago

Page center is off by 1/8 inch in both X and Y directions. A simple PostScript program draws one vertical line and one horizontal, each along the page midpoint. When I fold the paper in half (actual half, with corners touching) the creases do not match the drawn lines. Offset is 1/8 inch in each direction.

Is this a problem with the PPD? With my setup? Is there anything I can try on my end to resolve this? I'm UNIX/C/scripting/sysadmin/PostScript savvy but don't know the first thing about PPDs.

HP OfficeJet 6700; hplip 3.12.4; CUPS 1.5.2; hp-officejet_6700-hpijs.ppd; using Letter size

(Sample PostScript: I will see if there's a way to attach a file to a question; if not, I will post as a comment)

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Sanjay Kumar
Solved:
Last query:
Last reply:
Revision history for this message
Ed Santiago (78luphr0rnk2nuqimstywepozxn9kl19tqh0tx66b5dki1xxsh5mkz9gl21a5rlwfnr8jn6ln0m3jxne2k9x1ohg85w3jabxlrqbgszpjpw-launchpad) said :
#1

%!PS
%
% This simple program draws crosshairs on a sheet of paper.
%
% The bold black line represents the THEORETICAL center: pagewidth/2
% and pageheight/2.
%
% The lighter gray line shows the actual physical center of the
% paper, as determined by folding in half with corners touching.
%
% HP OfficeJet 6700; hplip 3.12.4; CUPS 1.5.2; hp-officejet_6700-hpijs.ppd;
% using Letter size
%

/inch { 72 mul } def

/pageheight 11 inch def
/pagewidth 8.5 inch def

/x_mid pagewidth 2 div def
/y_mid pageheight 2 div def

/Helvetica findfont 20 scalefont setfont

% What _should_ be center
x_mid 0 moveto 0 pageheight rlineto stroke % Vertical
0 y_mid moveto pagewidth 0 rlineto stroke % Horizontal
0.5 inch y_mid 22 sub moveto (Theoretical center) show

% What actually is physically centered on paper.
%
% The hardcoded 9 and 8 (about 1/8 inch) give me lines that are as close
% to center as I am able to tell.
0.7 setgray
x_mid 9 add 0 moveto 0 pageheight rlineto stroke
0 y_mid 8 add moveto pagewidth 0 rlineto stroke
5 inch y_mid 13 add moveto (Actual center of paper) show

% Indicate lower left corner
0 setgray
0.5 inch 0.5 inch moveto (LL) show

showpage

Revision history for this message
Best Sanjay Kumar (sanjay-kumar14) said :
#2

Hi,

Thanks for reporting the bug in HPLIP. Yes your print queue is using a wrong ppd (ijs ppd) whhich is not well tested with HPLIP, insted use hpcups ppd.Please follow following things regarding the same.
=> Download and install the latest HPLIP release from http://hplipopensource.com/hplip-web/install/install/index.html
=> Reconfigure print queue with the commands mentioned below.
       =>system-config-printer (remove all print queues)
       =>hp-setup (for adding print queue, make sure you select ppd name having "hpcups" substring)
=>Try printing now.

If problem does not get solved then please capture some logs by doing following things.

=>Enable/Clear Logs as mentioned below

    a)Open /etc/cups/cupsd.conf in root mode and replace
        LogLevel warn
          with
       LogLevel debug
       hpLogLevel 15
    b) Open Terminal and run following commands:
       => su
       => /etc/init.d/cups restart
                  or
       => service cups restart
       => cd /tmp
       => rm *.out
       => rm *.bmp
       => cat /dev/null > /var/log/cups/error_log
       => cat /dev/null > /var/log/messages
       => cat /dev/null > /var/log/syslog
       => hp-check -t > /tmp/hpcheck.log
    c) Try to print the file. If issue is not resolved then please send following files
        (**Please use "Create a bug report" to attach the logs as "Ask a Question" does not provide the file attachment option)
          => /var/log/syslog (if present),
          => /var/log/messages (if present),
          => /var/log/cups/error_log
          => /tmp/*.bmp
          => /tmp/*.out
          => /tmp/hpcheck.log
          => document used for printing
          => scanned copy of the printed document (if present)
    d) Please let me know the application used for testing.

Revision history for this message
Ed Santiago (78luphr0rnk2nuqimstywepozxn9kl19tqh0tx66b5dki1xxsh5mkz9gl21a5rlwfnr8jn6ln0m3jxne2k9x1ohg85w3jabxlrqbgszpjpw-launchpad) said :
#3

Thanks Sanjay Kumar, that solved my question.