Using Cups and Samba for Kyocera - A4 doesn'twork

Tobias mr.john_doe at web.de
Thu Jan 24 05:06:16 PST 2008


Hello,
thanks for your answer...

Letter is selected at the windows-machine. In the ppd, the setting of pagesize is already set to a4, but it hasn't any effect...
So we have to search another solution for this problem...

> Hi,
>
> Tobias wrote:
> > In the PPD A4 is selected but when we send an printjob from our
> > windowsmachine, the printers waits for letter.
>
> Usually you must select A4 at the application/host which generates the
> printjob. This is at your windows machine. There is no connection
> between Linux and Windows regarding this setting.
>
> There is no possibility to convert a Letter size job to a A4 size.
> -- At least it's not easy to do, and only with some loss of data.
>
> Choose at your Windows machine in the application(s) "A4" size, and
> the problem should have been gone.
>
> I'm not aware of any possibility to change settings from "letter" to
> "A4" at your cups server, and see this chnage at your windows host.
> You still have to change your settings at your windows machines.
>
> > When we look at the printersettings, there is letter selected in
> > paperformat. When we change this to A4 all works fine.
>
> At which host is "letter in paperformat selected" / "changed to A4"?
> The windows machine or the cups machine?
>
> > But we want to bring out the printers via script and so thats not a
> > good way. So I want to ask who knows this problem and a solution?
>
> If you want to do this automatically for _all_ printers at the CUPS
> server host only (it's a nasty hack):
> - stop cups, if necessary: /etc/init.d/cups stop
> - edit PPDs: perl -pi -e 's:^(\*Default.*)Letter\s*$:$1A4\n:' /etc/cups/ppds/*.ppd
> - start cups, if necessary: /etc/init.d/cups start
>
> alternative for _one_ printer (the recommended way):
> lpoptions -d Kyocera-FS1920-LO113-Support -o PageSize=A4
>
> Note: these modifications do NOT change anything of the settings at
> your windows machines.
>
> Regards,
> 	Klaus.
> --
> Klaus Singvogel
> SUSE LINUX Products GmbH
> Maxfeldstr. 5                     E-Mail: Klaus.Singvogel at SuSE.de
> 90409 Nuernberg                   Phone: +49 (0) 911 740530
> Germany                           GnuPG-Key-ID: 1024R/5068792D  1994-06-27
>
> SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
>





More information about the cups mailing list