Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Landscape and portrait print formats

Status
Not open for further replies.

jaimejimenez

Programmer
Aug 6, 1999
1
US
I tried to print a report in a portrait format and another report in a landscape format. If a fix in one format, I can not print in the other format. I tried to code instructions to control the print format but I couldn't get good results.<br>
The only way is to change from Windows NT the format of the print. But the users of my sistem have not privileges to change printer setings. Does any body have a hint for my problem?<br>

 
The way I do it is to send a print line to the printer composed of the the printer codes. <br>I also have a screen where the user can select the type of printer they are using that way I can tell what printer codes to send to the printer. <br>I have two database;<br>- one containing the a list of printers thst the user can choose from<br>- the other contains a record for each code for each printer<br>&nbsp;&nbsp;for example: Printer: HP5SI<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Type: CPI17 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CODE: CHR(029) + CHR(040) + CHR(115) + &quot;17&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+ CHR(072)<br><br>Where I have to change the format of the report I compose<br>a print line as the first line of the report from the CODE<br>retrieved from the above two databases.&nbsp;&nbsp;
 
If you program in Paradox for DOS environement and you are spanish please contact with me at <A HREF="mailto:laso@bbvnet.com">laso@bbvnet.com</A>. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top