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:  hplip-help@lists.sourceforge.net
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 freeaccount 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
HPLIP-Help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-help

Reply via email to