[opensuse] printing size mismatch with magicolor 2530DL
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... lpoptions -p magicolor -l | grep A4 PageRegion/PageRegion: Letter Legal Executive A4 A5 ISOB5 UKQuarto Foolscap Folio Com10 DL C5 Monarch Statement JPostcard DPostcard C6 JISB5 16Kai 32Kai EnvChou3 EnvChou4 EnvYou4 GovtLegal LetterPlus GovtLetter 16_K Photo_4x6 Photo_10x15 PageSize/Paper Size: *Letter Legal Executive A4 A5 ISOB5 UKQuarto Foolscap Folio Com10 DL C5 Monarch Statement JPostcard DPostcard C6 JISB5 16Kai 32Kai EnvChou3 EnvChou4 EnvYou4 GovtLegal LetterPlus GovtLetter 16_K Photo_4x6 Photo_10x15 Custom One weird thing I noticed is that it seems to be impossible to set a default for both PageRegion and PageSize. As in, if /etc/cups/lpoptions reads: Default magicolor PageRegion=Letter PageSize=Letter Then I'll see "*Letter" in PageSize but just "Letter" in PageRegion. But if /etc/cups/lpoptions reads: Default magicolor PageSize=Letter PageRegion=Letter Then I'll see just "Letter" in PageSize but "*Letter" in PageRegion. Something I'm not understanding there. Anyway, I've checked the ppd... grep -i default /etc/cups/ppd/magicolor.ppd | grep Letter *DefaultPageSize: Letter *DefaultPageRegion: Letter *DefaultImageableArea: Letter *DefaultPaperDimension: Letter I've tried using the web interface to configure/print, but still get the same problem. Can someone lend advice before I blow all my toner on test pages? Thanks, Ross -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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: ----------------------------------------------------------------- user@host> 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: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Johannes Meixner
-
Ross P. Davis