Mon, 24 Jan 2011 11:11:17 +1100 письмо от Lex Trotman elextr@gmail.com:
2011/1/24 Алексей Антипов 1a_antipov@mail.ru:
Hello, I have recently faced a problem when printing with Geany. The problem is that pages are printed with zero margin, which is obviously not good (line-endings get cut off, as most printers have printing area less than A4 paper width).
Hi,
I'd suggest that something is wrong in your printer setup, mine correctly avoids the non-printing margins for both the real printer and print to PDF option. Perhaps the PPD file is wrong for your printer.
Probably, but can ALL PPD files provided by a well-known distro (Ubuntu 10.10) be wrong? It seems that the problem is related either to CUPS or to PPD file providers. Maybe we should gather some statistics (i.e. if someone else experiences such a problem), or should I file a bug?
If I remember correctly, in some old versions of GNOME we could specify printer margins via common GNOME printing dialog. However, now it seems impossible
Because it is supposed to get the non-printing margins from the printer definition so the users can't fiddle with it and break it.
As for Geany using a bigger margin, that would be wasting paper and not environmentally friendly :-( (I'm still overcompensating for the miles of fanfold line printer paper I've used in the past :-)
Okay; anyway, if someone has that printer margins problem, please feel free to contact me and get a fresh version of the patch.
Cheers Lex
(see http://library.gnome.org/devel/gtk/stable/GtkPageSetupUnixDialog.html as
an example) I tried playing with CUPS settings, but it seems they are ignored. So I decided to integrate the workaround into Geany. I have modified printing preferences and "Document settings" tab in printing dialog, so users are now able to specify custom printer margins for all 4 sides in all kinds of GtkUnit. The default behaviour was left unchanged - the setting is simply ignored. Please consider the patch attached and let me know if that was useful _______________________________________________ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
-- Тесты новейших гаджетов на Hi-tech.Mail.Ru http://r.mail.ru/cln5823/hi-tech.mail.ru/
2011/1/24 Алексей Антипов 1a_antipov@mail.ru:
Mon, 24 Jan 2011 11:11:17 +1100 письмо от Lex Trotman elextr@gmail.com:
2011/1/24 Алексей Антипов 1a_antipov@mail.ru:
Hello, I have recently faced a problem when printing with Geany. The problem is that pages are printed with zero margin, which is obviously not good (line-endings get cut off, as most printers have printing area less than A4 paper width).
Hi,
I'd suggest that something is wrong in your printer setup, mine correctly avoids the non-printing margins for both the real printer and print to PDF option. Perhaps the PPD file is wrong for your printer.
Probably, but can ALL PPD files provided by a well-known distro (Ubuntu 10.10) be wrong? It seems that the problem is related either to CUPS or to PPD file providers. Maybe we should gather some statistics (i.e. if someone else experiences such a problem), or should I file a bug?
All PPDs do it, wierd, I'm using Linux Mint 9 which is built on Ubuntu 10.04. The printer PPD is from the manufacturer (Samsung) so I suppose it should be right. I'm using Geany 0.20 standard Debian package that came from the update service, not SVN or anything special.
What do you get if you print to PDF, AFAICT it doesn't use a PPD?
If I remember correctly, in some old versions of GNOME we could specify printer margins via common GNOME printing dialog. However, now it seems impossible
Because it is supposed to get the non-printing margins from the printer definition so the users can't fiddle with it and break it.
As for Geany using a bigger margin, that would be wasting paper and not environmentally friendly :-( (I'm still overcompensating for the miles of fanfold line printer paper I've used in the past :-)
Okay; anyway, if someone has that printer margins problem, please feel free to contact me and get a fresh version of the patch.
Lets see if we can find the cause rather than fix the symptoms, that way we might be able to warn other users what to look out for (as well as fixing your problem of course).
Cheers Lex
Cheers Lex
(see http://library.gnome.org/devel/gtk/stable/GtkPageSetupUnixDialog.html as
an example) I tried playing with CUPS settings, but it seems they are ignored. So I decided to integrate the workaround into Geany. I have modified printing preferences and "Document settings" tab in printing dialog, so users are now able to specify custom printer margins for all 4 sides in all kinds of GtkUnit. The default behaviour was left unchanged - the setting is simply ignored. Please consider the patch attached and let me know if that was useful _______________________________________________ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
-- Тесты новейших гаджетов на Hi-tech.Mail.Ru http://r.mail.ru/cln5823/hi-tech.mail.ru/
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
On Mon, 24 Jan 2011 20:55:45 +1100 Lex Trotman elextr@gmail.com wrote:
2011/1/24 Алексей Антипов 1a_antipov@mail.ru:
Mon, 24 Jan 2011 11:11:17 +1100 письмо от Lex Trotman elextr@gmail.com:
2011/1/24 Алексей Антипов 1a_antipov@mail.ru:
Hello, I have recently faced a problem when printing with Geany. The problem is that pages are printed with zero margin, which is obviously not good (line-endings get cut off, as most printers have printing area less than A4 paper width).
Hi,
I'd suggest that something is wrong in your printer setup, mine correctly avoids the non-printing margins for both the real printer and print to PDF option. Perhaps the PPD file is wrong for your printer.
Probably, but can ALL PPD files provided by a well-known distro (Ubuntu 10.10) be wrong? It seems that the problem is related either to CUPS or to PPD file providers. Maybe we should gather some statistics (i.e. if someone else experiences such a problem), or should I file a bug?
All PPDs do it, wierd, I'm using Linux Mint 9 which is built on Ubuntu 10.04. The printer PPD is from the manufacturer (Samsung) so I suppose it should be right.
I need to use also the driver set from Samsung for my box here and well... its working, but I've got the feeling its not the optimum. To be fair: I don't have any issues while printing it self and quality seems to be ok... but who knows.
Cheers, Frank
On 31 January 2011 02:59, Frank Lanitz frank@frank.uvena.de wrote:
On Mon, 24 Jan 2011 20:55:45 +1100 Lex Trotman elextr@gmail.com wrote:
2011/1/24 Алексей Антипов 1a_antipov@mail.ru:
Mon, 24 Jan 2011 11:11:17 +1100 письмо от Lex Trotman elextr@gmail.com:
2011/1/24 Алексей Антипов 1a_antipov@mail.ru:
Hello, I have recently faced a problem when printing with Geany. The problem is that pages are printed with zero margin, which is obviously not good (line-endings get cut off, as most printers have printing area less than A4 paper width).
Hi,
I'd suggest that something is wrong in your printer setup, mine correctly avoids the non-printing margins for both the real printer and print to PDF option. Perhaps the PPD file is wrong for your printer.
Probably, but can ALL PPD files provided by a well-known distro (Ubuntu 10.10) be wrong? It seems that the problem is related either to CUPS or to PPD file providers. Maybe we should gather some statistics (i.e. if someone else experiences such a problem), or should I file a bug?
All PPDs do it, wierd, I'm using Linux Mint 9 which is built on Ubuntu 10.04. The printer PPD is from the manufacturer (Samsung) so I suppose it should be right.
I need to use also the driver set from Samsung for my box here and well... its working, but I've got the feeling its not the optimum. To be fair: I don't have any issues while printing it self and quality seems to be ok... but who knows.
Well mine works better than the manual says, eg I get double sided two pages per page neither of which the manual says works on Linux. Maybe it depends on the model. Margins are the same as on Windows.
Cheers Lex
Cheers, Frank -- http://frank.uvena.de/en/
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel