Re: Page Margins - No effect at all

Lee Howard <[email protected]> Fri, 07 Jul 2017 16:27:12 -0700
Newsgroups gmane.comp.telephony.fax.hylafax.user
Message-ID <[email protected]>
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
> 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=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.
>
>