Re: Page Margins - No effect at all

Rehman <[email protected]> Sat, 8 Jul 2017 22:05:30 +0400
Newsgroups gmane.comp.telephony.fax.hylafax.user
Message-ID <CAACNsh0D0OPSxfBbN7g9OSDUGrNtxcCCO=pzpADMKxrbW1V9Ew@mail.gmail.com>
Well, I won't mind that as long as it works :)




-- 
Best Regards,
Rehman
Voice : +971-55-3157060
IM: [email protected]



On Sat, Jul 8, 2017 at 8:40 PM, Lee Howard <[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]> wrote:
>
>> Possibly you could use JobControl to edit the sendq/qfile directly to
>> change the "pagewidth" and/or "pagelength" values.  However, I haven't
>> tested that or determined if the qfile is re-read after JobControl
>> completes.  I am doubtful 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 ==> na-let , It is present within my pagesize database
>>
>> North American Letter   NA-LET  10200   13200    9240    12400  472
>> 345
>>
>>
>>
>>
>>
>> --
>> Best Regards,
>> Rehman
>> Voice : +971-55-3157060 <+971%2055%20315%207060>
>> IM: [email protected]
>>
>>
>>
>> On Fri, Jul 7, 2017 at 7:48 PM, Lee Howard <[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=0.25in,r=0.25in,t=0.00in,b=0.10in
>>>>
>>>> What could be I am doing wrong ? Please help
>>>>
>>>
>>> PageMargins is an option for textfmt and faxmail only.  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.  My 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.  (You have to
>>> set the margins within the document.)
>>>
>>> Thanks,
>>>
>>> Lee.
>>>
>>
>>
>>
>