<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    <br>
    The A4 problem seems resolved. I found one hint from internet.<br>
    <br>
    sudo dpkg-reconfigure locales<br>
    <br>
    After that I removed US and Put GB<br>
    <br>
    But after restart evey thing was in bengali. Fortunately password
    and terminal was using english<br>
    <br>
    I once again tried the command and removed all regional languages
    but kept en_gb and in_en only english.<br>
    <br>
    Now after restart the language is English and the paper seems coming
    A4 by default. Thanks sanjay for your clue<br>
    <div class="moz-forward-container"><br>
      Now we have to remember to set GB instead of US during boss
      installation. <br>
      <br>
      thanks<br>
      <br>
      Milind<br>
      -------- Forwarded Message --------
      <table class="moz-email-headers-table" cellpadding="0"
        cellspacing="0" border="0">
        <tbody>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Subject:
            </th>
            <td>Printing problem on boss-linux</td>
          </tr>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Date: </th>
            <td>Wed, 30 Dec 2015 14:49:15 +0530</td>
          </tr>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT">From: </th>
            <td>Milind Oka <a class="moz-txt-link-rfc2396E"
                href="mailto:oak445@gmail.com"><oak445@gmail.com></a></td>
          </tr>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT">To: </th>
            <td><a class="moz-txt-link-abbreviated"
                href="mailto:plug-mail@plug.org.in">plug-mail@plug.org.in</a>,
              GNU/Linux Users Group, Mumbai, India <a
                class="moz-txt-link-rfc2396E"
                href="mailto:linuxers@mm.ilug-bom.org.in"><linuxers@mm.ilug-bom.org.in></a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      Hi,<br>
      <br>
      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.<br>
      <br>
      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.<br>
      <br>
      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.<br>
      <br>
      <br>
      ===================<br>
      [Forwarded from Sanjay Patil]<br>
      Yes, see<br>
      <a moz-do-not-send="true" class="moz-txt-link-freetext"
        href="https://bugzilla.novell.com/show_bug.cgi?id=88286#c12">https://bugzilla.novell.com/show_bug.cgi?id=88286#c12</a><br>
      <br>
      The crucial information is the geographical location,<br>
      i.e. the second part of a locale name, for example:<br>
      en_GB is English for Great Britain => A4 paper<br>
      en_US is English for United States => Letter paper<br>
      <br>
      I think that without an existing geographical location<br>
      (in particular for "C" or "POSIX") it is just not possible<br>
      to set another paper size than what is the default in the PPD.<br>
      <br>
      Or the fallback should be at least "A4" (if avialable in the PPD)<br>
      because I think that A4 paper is more often used in the whole
      world<br>
      than Letter.<br>
      ==============================<br>
      <br>
      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.<br>
      <br>
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <a moz-do-not-send="true"
        href="http://sourceforge.net/projects/hsc-formcreator/">http://sourceforge.net/projects/hsc-formcreator/</a><br>
      <br>
      Thanks and regards<br>
      <br>
      Milind<br>
      <br>
      <br>
      <br>
    </div>
    <br>
  </body>
</html>