[PLUG] Fwd: Printing problem on boss-linux
Milind Oka
oak445 at gmail.com
Thu Dec 31 14:39:53 IST 2015
Hi,
The A4 problem seems resolved. I found one hint from internet.
sudo dpkg-reconfigure locales
After that I removed US and Put GB
But after restart evey thing was in bengali. Fortunately password and
terminal was using english
I once again tried the command and removed all regional languages but
kept en_gb and in_en only english.
Now after restart the language is English and the paper seems coming A4
by default. Thanks sanjay for your clue
Now we have to remember to set GB instead of US during boss installation.
thanks
Milind
-------- Forwarded Message --------
Subject: Printing problem on boss-linux
Date: Wed, 30 Dec 2015 14:49:15 +0530
From: Milind Oka <oak445 at gmail.com>
To: plug-mail at plug.org.in, GNU/Linux Users Group, Mumbai, India
<linuxers at mm.ilug-bom.org.in>
Hi,
In my efforts to push FOSS in schools and colleges, I am distributing
free and open source softwares in schools and colleges. All projects are
uploaded on source forge.
However I am facing some printing problem executing JAVA code on
bosslinux. I usually print output directly on A4 paper and suppress
print dialog. I wrote the program before I knew BOSS and was working
nicely on windows. On BOSS, the program executes properly but the
default output comes on letter size instead of A4. This trims some left,
right, top and bottom content.
I tried various code snippets to pro grammatically set the paper A4 but
it does not work. I am using cups-pdf and the pdf print is also having
the same problem. I thought first that it was a problem specific to boss
but a friend of mine sent me this.
===================
[Forwarded from Sanjay Patil]
Yes, see
https://bugzilla.novell.com/show_bug.cgi?id=88286#c12
The crucial information is the geographical location,
i.e. the second part of a locale name, for example:
en_GB is English for Great Britain => A4 paper
en_US is English for United States => Letter paper
I think that without an existing geographical location
(in particular for "C" or "POSIX") it is just not possible
to set another paper size than what is the default in the PPD.
Or the fallback should be at least "A4" (if avialable in the PPD)
because I think that A4 paper is more often used in the whole world
than Letter.
==============================
Has anybody come across this. Will you please run the following java
code on any other linux version and let me know how it works or send me
the pdf output ? I have already set the default data so just run the
Java file and press the [Print Attendance] button. You will get 23 page
document. Only one page will do for testing. pdf output will be best.
http://sourceforge.net/projects/hsc-formcreator/
Thanks and regards
Milind
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.plug.org.in/pipermail/plug-mail/attachments/20151231/3abd794b/attachment.html>
More information about the plug-mail
mailing list