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
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@gmail.com To: plug-mail@plug.org.in, GNU/Linux Users Group, Mumbai, India linuxers@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
I have setup OwnCloud at my home, if anyone needs to setup I can help... Also have setup Zimbra Collaboration Suite and also Samba Active directory, for school or for any small organizations I can tender my knowledge...
Vinod Raghavan. On Dec 31, 2015 2:40 PM, "Milind Oka" oak445@gmail.com wrote:
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@gmail.com To: plug-mail@plug.org.in, GNU/Linux Users Group, Mumbai, India < linuxers@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
On 31 December 2015 at 15:02, Vinod Raghavan vinodrag@gmail.com wrote:
I have setup OwnCloud at my home, if anyone needs to setup I can help...
This is called " Thread Hijacking". Please start a new thread on owncloud. This thread is about " Boss printing problem"!
Regards, Pavithran
Sorry, this was not my intention.... On Dec 31, 2015 7:09 PM, "pavithran s" pavi.eu@gmail.com wrote:
On 31 December 2015 at 15:02, Vinod Raghavan vinodrag@gmail.com wrote:
I have setup OwnCloud at my home, if anyone needs to setup I can help...
This is called " Thread Hijacking". Please start a new thread on owncloud. This thread is about " Boss printing problem"!
Regards, Pavithran -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
On Thu, Dec 31, 2015 at 7:39 AM, pavithran s pavi.eu@gmail.com wrote:
On 31 December 2015 at 15:02, Vinod Raghavan vinodrag@gmail.com wrote:
I have setup OwnCloud at my home, if anyone needs to setup I can help...
This is called " Thread Hijacking". Please start a new thread on owncloud. This thread is about " Boss printing problem"!
+1 on thread hijacking.
Plus OP needs to add "Commercial" tag, if s/he intends to charge for the help.
-- Arun Khan