Hello,

On Mar 20 23:55 Ross P. Davis wrote (shortened):
> Using 10.0 OSS and the RPM supplied by Konica Minolta
> (2530DL2.0.0-1.i386.rpm), I am able to print to a networked magicolor
> 2530DL. But whenever I print, the LCD on the printer reads "SIZE
> MISMATCH" and the printer seems to try to print on a larger paper size
> despite everything being configured for "Letter" size.
> 
> When this has happened with other printers, I usually find that "A4" has
> been defaulted somewhere; changing to "Letter" gets things working
> properly. But in this case, I cannot find any place where "A4" is being
> specified...

First of all make sure that your application produces
PostScript made for "Letter" and not for "A4", see
the related bug report
https://bugzilla.novell.com/show_bug.cgi?id=148707

Strictly speaking it is not sufficient when an application
produces PostScript made for a particular page size.
The only really sufficient condition is that the application
produces PostScript which does not exceed the imageable area
for the particular page size of the particular printer.

To test the actually imaged area of the PostScript, use the bbox
device in Ghostscript via "gs -sDEVICE=bbox file.ps quit.ps".
For example the imaged area of a2ps for Letter is:
-----------------------------------------------------------------
[EMAIL PROTECTED]> echo Hello | a2ps -1 -M letter -o- \
           | gs -sDEVICE=bbox - quit.ps | grep BoundingBox
[stdin (plain): 1 page on 1 sheet]
[Total: 1 page on 1 sheet] sent to the standard output
%%BoundingBox: 23 22 589 765
%%HiResBoundingBox: 23.650031 22.571999 588.349951 764.747977
-----------------------------------------------------------------
Compare if the BoundingBox of the PostScript is completely
within the imageable area of your printer according to what
is specified as ImageableArea for Letter in your PPD.

Since CUPS 1.2 (i.e. since openSUSE 10.2) there is a "fitplot"
option, see the CUPS documentation
http://localhost:631/help/options.html?TOPIC=Getting+Started&QUERY=#FITPLOT
-------------------------------------------------------------------
The -o fitplot option specifies that the document should be scaled
to fit on the page:
  lp -o fitplot filename
  lpr -o fitplot filename
The default is to use the size specified in the file.
Note: This feature depends upon an accurate size in the print file.
If no size is given in the file, the page may be scaled incorrectly!
--------------------------------------------------------------------
Perhaps "-o fitplot" works for your PostScript, perhaps not.


> grep -i default /etc/cups/ppd/magicolor.ppd | grep Letter
> *DefaultPageSize: Letter
> *DefaultPageRegion: Letter
> *DefaultImageableArea: Letter
> *DefaultPaperDimension: Letter

The PPD specifies only the general defaults. See
http://en.opensuse.org/SDB:Print_Settings_with_CUPS
where else printer specific settings could be specified
e.g.: ~/.lpoptions for CUPS 1.1 ~/.cups/lpoptions for CUPS 1.2
and /etc/cups/lpoptions.


Kind Regards
Johannes Meixner
-- 
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to