Re: Page Margins - No effect at all

Lee Howard <[email protected]> Wed, 27 Jun 2018 17:16:23 -0700
Newsgroups gmane.comp.telephony.fax.hylafax.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------F21B1B252FBE3147602F576E
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

I'm guessing that you already found another solution, but for the=20
jobcontrol feature request see:

https://sourceforge.net/p/hylafax/HylaFAX+/2451/

Thanks,

Lee.


On 07/08/2017 11:05 AM, Rehman wrote:
> Well, I won't mind that as long as it works :)
>
>
>
>
> --=20
> Best Regards,
> Rehman
> Voice : +971-55-3157060
> IM: [email protected] <mailto:[email protected]>
>
>
>
> On Sat, Jul 8, 2017 at 8:40 PM, Lee Howard <[email protected]=20
> <mailto:[email protected]>> wrote:
>
>     Do you want a patch?
>
>     Thanks,
>
>     Lee.
>
>
>     On 07/07/2017 07:17 PM, Rehman wrote:
>>     Tried to alter sendq for page width and length. The values did
>>     change but the output had no effect. Unfortunately didn't work.
>>
>>
>>
>>     On 8 Jul 2017 3:27 a.m., "Lee Howard" <[email protected]
>>     <mailto:[email protected]>> wrote:
>>
>>         Possibly you could use JobControl to edit the sendq/qfile
>>         directly to change the "pagewidth" and/or "pagelength"
>>         values.=C2=A0 However, I haven't tested that or determined if =
the
>>         qfile is re-read after JobControl completes.=C2=A0 I am doubtf=
ul
>>         it will work, but perhaps it is worth trying.
>>
>>         I think it would be better to provide the page size
>>         information in the client end of things. However, if this
>>         must be done then some code work could be done to get this
>>         added as a new feature for JobControl.
>>
>>         Thanks,
>>
>>         Lee.
>>
>>
>>         On 07/07/2017 12:21 PM, Rehman wrote:
>>>         Thanks, is it possible that I specify the page size a4,b4
>>>         etc in the JobControlcmd command ? If I change the page
>>>         type, I get the required result.
>>>
>>>         What parameter do I set in hylafax config or JobControlcmd
>>>         file to set the page size AFTER sendfax is executed. I don't
>>>         seem to find the right parameter.
>>>
>>>         The page type is =3D=3D> na-let , It is present within my
>>>         pagesize database
>>>
>>>         North American Letter=C2=A0=C2=A0 NA-LET=C2=A0 10200 13200=C2=
=A0=C2=A0=C2=A0 9240=C2=A0=C2=A0=C2=A0
>>>         12400=C2=A0 472=C2=A0=C2=A0=C2=A0=C2=A0 345
>>>
>>>
>>>
>>>
>>>
>>>         --=20
>>>         Best Regards,
>>>         Rehman
>>>         Voice : +971-55-3157060 <tel:+971%2055%20315%207060>
>>>         IM: [email protected] <mailto:[email protected]>
>>>
>>>
>>>
>>>         On Fri, Jul 7, 2017 at 7:48 PM, Lee Howard
>>>         <[email protected] <mailto:[email protected]>>
>>>         wrote:
>>>
>>>             On 07/07/2017 06:46 AM, Rehman wrote:
>>>
>>>                 No matter what Page Margins I am setting in the
>>>                 config file (/var/spool/hylafax/etc/config), there
>>>                 seems to be NO impact whatsoever. I am literally
>>>                 pulling my hair on this one
>>>
>>>                 PageMargins: l=3D0.25in,r=3D0.25in,t=3D0.00in,b=3D0.1=
0in
>>>
>>>                 What could be I am doing wrong ? Please help
>>>
>>>
>>>             PageMargins is an option for textfmt and faxmail only.=C2=
=A0
>>>             See the end of 'man faxmail' and 'man textfmt' for
>>>             options on a configuration file, but
>>>             /var/spool/hylafax/etc/config is not one of them.=C2=A0 M=
y
>>>             advice would be to use /etc/hylafax/hyla.conf (if you
>>>             installed via RPM or dnf/yum).
>>>
>>>             Be aware, therefore, that PageMargins will only have
>>>             affect on documents processed through faxmail or textfmt.
>>>
>>>             If you're using sendfax to submit faxes then the page
>>>             margins will largely be defined by the document, itself,
>>>             that you submit.=C2=A0 (You have to set the margins withi=
n
>>>             the document.)
>>>
>>>             Thanks,
>>>
>>>             Lee.
>>>
>>>
>>
>
>


--------------F21B1B252FBE3147602F576E
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=
-8">
  </head>
  <body text=3D"#000000" bgcolor=3D"#FFFFFF">
    <div class=3D"moz-cite-prefix">I'm guessing that you already found
      another solution, but for the jobcontrol feature request see:<br>
      <br>
      <a class=3D"moz-txt-link-freetext" href=3D"https://sourceforge.net/=
p/hylafax/HylaFAX+/2451/">https://sourceforge.net/p/hylafax/HylaFAX+/2451=
/</a><br>
      <br>
      Thanks,<br>
      <br>
      Lee.<br>
      <br>
      <br>
      On 07/08/2017 11:05 AM, Rehman wrote:<br>
    </div>
    <blockquote type=3D"cite"
cite=3D"mid:[email protected]=
ail.com">
      <div dir=3D"ltr">Well, I won't mind that as long as it works :)<br>
      </div>
      <div class=3D"gmail_extra"><br clear=3D"all">
        <div>
          <div class=3D"gmail_signature" data-smartmail=3D"gmail_signatur=
e">
            <div dir=3D"ltr">
              <div>
                <div dir=3D"ltr"><br>
                  <br>
                  <br>
                  -- <br>
                  Best Regards,<br>
                  Rehman<br>
                  Voice : +971-55-3157060<br>
                  IM: <a href=3D"mailto:[email protected]"
                    target=3D"_blank" moz-do-not-send=3D"true">a.rehmans@=
gmail.com</a><br>
                  <br>
                  <br>
                </div>
              </div>
            </div>
          </div>
        </div>
        <br>
        <div class=3D"gmail_quote">On Sat, Jul 8, 2017 at 8:40 PM, Lee
          Howard <span dir=3D"ltr">&lt;<a
              href=3D"mailto:[email protected]" target=3D"_blank"
              moz-do-not-send=3D"true">[email protected]</a>&gt;</s=
pan>
          wrote:<br>
          <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor=3D"#FFFFFF" text=3D"#000000">
              <div class=3D"m_-7228710304209235533moz-cite-prefix">Do you
                want a patch?<br>
                <br>
                Thanks,<br>
                <br>
                Lee.<br>
                <br>
                <br>
                On 07/07/2017 07:17 PM, Rehman wrote:<br>
              </div>
              <blockquote type=3D"cite">
                <div dir=3D"auto">Tried to alter sendq for page width and
                  length. The values did change but the output had no
                  effect. Unfortunately didn't work.
                  <div dir=3D"auto"><br>
                  </div>
                  <div dir=3D"auto"><br>
                  </div>
                </div>
                <div class=3D"gmail_extra"><br>
                  <div class=3D"gmail_quote">On 8 Jul 2017 3:27 a.m., "Le=
e
                    Howard" &lt;<a href=3D"mailto:[email protected]=
"
                      target=3D"_blank" moz-do-not-send=3D"true">faxguy@h=
owardsilvan.com</a>&gt;
                    wrote:<br type=3D"attribution">
                    <blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div bgcolor=3D"#FFFFFF" text=3D"#000000">
                        <div
                          class=3D"m_-7228710304209235533m_-8565858514454=
680060moz-cite-prefix">Possibly
                          you could use JobControl to edit the
                          sendq/qfile directly to change the "pagewidth"
                          and/or "pagelength" values.=C2=A0 However, I
                          haven't tested that or determined if the qfile
                          is re-read after JobControl completes.=C2=A0 I =
am
                          doubtful it will work, but perhaps it is worth
                          trying.<br>
                          <br>
                          I think it would be better to provide the page
                          size information in the client end of things.=C2=
=A0
                          However, if this must be done then some code
                          work could be done to get this added as a new
                          feature for JobControl.<br>
                          <br>
                          Thanks,<br>
                          <br>
                          Lee.<br>
                          <br>
                          <br>
                          On 07/07/2017 12:21 PM, Rehman wrote:<br>
                        </div>
                        <blockquote type=3D"cite">
                          <div dir=3D"ltr">
                            <div>Thanks, is it possible that I specify
                              the page size a4,b4 etc in the
                              JobControlcmd command ? If I change the
                              page type, I get the required result.<br>
                              <br>
                            </div>
                            <div>What parameter do I set in hylafax
                              config or JobControlcmd file to set the
                              page size AFTER sendfax is executed. I
                              don't seem to find the right parameter.<br>
                            </div>
                            <div><br>
                            </div>
                            The page type is =3D=3D&gt; na-let , It is
                            present within my pagesize database<br>
                            <br>
                            North American Letter=C2=A0=C2=A0 NA-LET=C2=A0=
 10200=C2=A0=C2=A0
                            13200=C2=A0=C2=A0=C2=A0 9240=C2=A0=C2=A0=C2=A0=
 12400=C2=A0 472=C2=A0=C2=A0=C2=A0=C2=A0 345<br>
                            <br>
                          </div>
                          <div class=3D"gmail_extra"><br clear=3D"all">
                            <div>
                              <div
                                class=3D"m_-7228710304209235533m_-8565858=
514454680060gmail_signature"
                                data-smartmail=3D"gmail_signature">
                                <div dir=3D"ltr">
                                  <div>
                                    <div dir=3D"ltr"><br>
                                      <br>
                                      <br>
                                      -- <br>
                                      Best Regards,<br>
                                      Rehman<br>
                                      Voice : <a
                                        href=3D"tel:+971%2055%20315%20706=
0"
                                        value=3D"+971553157060"
                                        target=3D"_blank"
                                        moz-do-not-send=3D"true">+971-55-=
3157060</a><br>
                                      IM: <a
                                        href=3D"mailto:[email protected]=
m"
                                        target=3D"_blank"
                                        moz-do-not-send=3D"true">a.rehman=
[email protected]</a><br>
                                      <br>
                                      <br>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                            <br>
                            <div class=3D"gmail_quote">On Fri, Jul 7, 201=
7
                              at 7:48 PM, Lee Howard <span dir=3D"ltr">&l=
t;<a
                                  href=3D"mailto:[email protected]"
                                  target=3D"_blank" moz-do-not-send=3D"tr=
ue">[email protected]</a>&gt;</span>
                              wrote:<br>
                              <blockquote class=3D"gmail_quote"
                                style=3D"margin:0 0 0 .8ex;border-left:1p=
x
                                #ccc solid;padding-left:1ex">On
                                07/07/2017 06:46 AM, Rehman wrote:<br>
                                <blockquote class=3D"gmail_quote"
                                  style=3D"margin:0 0 0
                                  .8ex;border-left:1px #ccc
                                  solid;padding-left:1ex"> No matter
                                  what Page Margins I am setting in the
                                  config file
                                  (/var/spool/hylafax/etc/config<wbr>),
                                  there seems to be NO impact
                                  whatsoever. I am literally pulling my
                                  hair on this one<br>
                                  <br>
                                  PageMargins:
                                  l=3D0.25in,r=3D0.25in,t=3D0.00in,b=3D0<=
wbr>.10in<br>
                                  <br>
                                  What could be I am doing wrong ?
                                  Please help<br>
                                </blockquote>
                                <br>
                                PageMargins is an option for textfmt and
                                faxmail only.=C2=A0 See the end of 'man
                                faxmail' and 'man textfmt' for options
                                on a configuration file, but
                                /var/spool/hylafax/etc/config is not one
                                of them.=C2=A0 My advice would be to use
                                /etc/hylafax/hyla.conf (if you installed
                                via RPM or dnf/yum).<br>
                                <br>
                                Be aware, therefore, that PageMargins
                                will only have affect on documents
                                processed through faxmail or textfmt.<br>
                                <br>
                                If you're using sendfax to submit faxes
                                then the page margins will largely be
                                defined by the document, itself, that
                                you submit.=C2=A0 (You have to set the
                                margins within the document.)<br>
                                <br>
                                Thanks,<br>
                                <br>
                                Lee.<br>
                              </blockquote>
                            </div>
                            <br>
                          </div>
                        </blockquote>
                        <br>
                      </div>
                    </blockquote>
                  </div>
                </div>
              </blockquote>
              <br>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>

--------------F21B1B252FBE3147602F576E--


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe [email protected] < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail [email protected].*