Hi Raghu,
thank you for your help. I've downloaded the newest ppd-file for the 3330 MFP
from openprinting.org
(http://openprinting.org/show_printer.cgi?recnum=HP-LaserJet_3330_MFP).
It seems that this is not a Postscript driver (at least as far as I understand
it uses Ghostscript with the IJS-Driver). In this ppd-file all entries
concerning A6 paper size seem to be correct. I have done several tests:
I created a document with A6 page size with OpenOffice-Writer.
1. Printing this document with OpenOffice gives the result I have described
earlier (only the part on the right hand side of the document is printed)
2. Printing this document with OpenOffice to a Postscript file and printing
this file with Evince gives an empty paper (nothing is printed at all). The
same happens, when I print the postscript file directly with lpr -o raw -P
HP_LaserJet_3330 filename.ps
I created a document with gedit.
a. Printing this document (and selecting A6 paper size) with gedit gives the
result I have described earlier (only the part on the right hand side of the
document is printed)
b. Printing this document (and selecting A6 paper size) with gedit to a
Postscript file and printing this file with Evince is *not* possible. Nothing
happens. The print queue says "Printer stopped".
c. Printing the postscript file from step b with lpr -o raw -P
HP_LaserJet_3330 prints fine on A6 paper, no problems at all!!!
That's really strange. There are two possibilities:
- OpenOffice creates postscript files which are not correct in some sense (but
displaying them works perfectly).
- The IJS driver has problems to print A6 page size. As described in c the
printer can (with raw postscript) print A6 documents, but not documents which
are created by Openoffice.
Really strange is the thing in b. The printer just stops.
What would you suggest? I can send you my test files if you want.
Thank you in advance,
Michael
Michael Lorz <[EMAIL PROTECTED]> wrote: Thank you for your answer, Raghu. One
question for better understanding: Why does the printer have to know the paper
size at all? If I understand you correctly, then the printer just prints
(assuming that the left corners of the tray and the paper match). So it seems
to be absolutely irrelevant (for the printer) what paper size is actually
loaded?
I just tried to print out a DIN A5-document. This works perfectly (although
the A5 paper is centered in the tray). So I assume that in this case the left
margin is moved correctly by the driver. What is the difference then between
this case and the case of A6 paper? In principle it is the same, whether it is
A5 or A6, isn't it?
What would you suggest? Should I write a filter which moves the left margin by
(Letter_width - selected_width) / 2?
I suppose that this functionality should already exist, since A5 paper size
works correctly. So is there maybe an option in any configuration file which is
exactly responsible for this?
"Cauligi, Raghothama S" <[EMAIL PROTECTED]> wrote: You are almost there.
The driver knows the paper size from the user; driver tells the printer the
selected paper size.
The driver assumes left edge of paper and left edge of tray are the same,
however, on this printer, the smaller paper
size tray is centered relative to the printer. So, this results in the kind
of scenario you so well illustrated.
To fix the problem, the driver has to move the left margin by (Letter_width -
selected_width) / 2.
This is a PostScript printer and HPIJS driver is not involved in generating
the output, but is controlled through the ppd file.
PostScript command to move the left margin is required for the smaller paper
sizes.
This seems to be a problem with this particular printer, other laserjets
work fine.
Raghu
---------------------------------
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Lorz
Sent: Sunday, June 10, 2007 2:55 PM
To: [email protected]
Subject: [Hplip-help] A6 page format with HP 3330 MFP, again
Hi all,
some time ago I sent a message to this list because of problems with A6 page
format for MFP 3330. I still could not solve this issue, but I have some
remarks which might help solving this problem.
I use Ubuntu Feisty with HPLIP 1.7.3. To me it seems that the printer doesn't
know about page sizes at all and just always prints to a sort of default page
size, say A4. It is the task of the driver to place the document (which has
possibly different page size than A4) on the default page size (A4).
Example:
ooo = A4 page
xxx = A6 page
The user wants to print out
xxx
xxx
xxx
The driver places this on a A4 page in the following way:
ooxxxoo
ooxxxoo
ooxxxoo
ooooooo
ooooooo
ooooooo
Then the printer prints this document and because A6 page size is loaded in
the tray, he gets the desired result
xxx
xxx
xxx
Is this right? To be honest I don't really know very much about printing, I
just thought that it might be this way.
The problem, which I have is that the driver places the A6 page in the
following way:
xxxoooo
xxxoooo
xxxoooo
ooooooo
ooooooo
ooooooo
And so I only get the 'last column' of the 'x' on my A6 paper, i.e. the
printout is not complete.
Because of this it might be a solution to manually place the A6 document on
the A4 page in the correct way. Does anybody have an idea how to do this?
---------------------------------
All New Yahoo! Mail Tired of unwanted email come-ons? Let our SpamGuard
protect you.
---------------------------------
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up
for your free account
today.-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/_______________________________________________
HPLIP-Help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hplip-help
---------------------------------
Yahoo! Answers - Get better answers from someone who knows. Tryit now.-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
HPLIP-Help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hplip-help