Big help this. Thanks Tim.Ed.Sent from my mobile device.
-------- Original message --------From: Tim Rude <[email protected]> Date: 
1/31/20  2:20 PM  (GMT-08:00) To: [email protected] Subject: Re: 
[Dataperf] DP Print orientation; is there an option to change print orientation 
to landscape? 
Hi Ed,

Yes, the DPSpool printer commands to set the various printer options such as 
page orientation, paper size, bin, etc. take one of the following forms:

<249>P<249>    Specifies Portrait mode
<249>L<249>    Specifies Landscape mode
<249>Dx<249>    Specifies Duplex mode (x = N for No, H for Horizontal, or V for 
Vertical)
<249>Bnum<249>    Specifies Paper Bin number (num = predefined bin-number)
<249>Snum<249>    Specifies Paper Size number (num = predefined size-number)
<249>Sw;h<249>    Specifies Custom Paper Size (w = width in inches, h = height 
in inches)
<249>Qx<249>    Specifies Print Quality (x = H for High, M for Medium, L for 
Low, or D for Draft)
<249>Cnum<249>    Specifies Number of Copies
<249>R<249>    Resets Printer Options to defaults

In order for these codes to take effect, they must be sent before any other 
codes on a page. This even includes margin codes. Otherwise, they won't take 
effect until the next page of the report starts. The effect of these codes 
depends on the capabilities of
 the printer and driver. If the printer or driver being used doesn't support a 
given code, it will simply be ignored.

Note that you may not specify multiple printer settings within one single code. 
Each setting must begin and end with the <249> code character in order for 
DPSpool to properly recognize it.

Tim Rude


On 1/31/2020 1:28 PM, Ed Marfil, MAST UNITED wrote:



<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas",serif;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
-->

Hi Tim,

 
Is there a command to set orientation of page or document to landscape?
 
Thanks,
Ed.



_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/cgi-bin/mailman/listinfo/dataperf



_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/cgi-bin/mailman/listinfo/dataperf

Reply via email to