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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PrintText Issue with PrintDatawindow Landscape pdf

Status
Not open for further replies.

RajeshPoojari

Programmer
May 3, 2017
1
US
If anybody could help me...
PDF Issue : PRINTTEXT with printdatawindow landscape Prints only on First Page below code.....

ll_printJob = PrintOpen('test')
for ll_ctr = 1 to 3 // printdatawindow n printtext 3 Times
ll_temp = PrintText(ll_printJob , "100 Memorial Drive, Veteran Plz. 1", 5200, 450, 1)
ll_temp2 = PrintText(ll_printJob, "Great City, PA 12345", 5200, 600, 1)

lds.Modify("Datawindow.Print.OverridePrintJob=yes")
lds.Object.DataWindow.Print.Duplex = '2'
lds.Object.DataWindow.Print.Orientation = '1'
lds.object.Datawindow.Print.Paper.Source = '254'
li_ret = PrintDatawindow(ll_printJob, lds) // lds - its LANDSCAPE DATAWINDOW
next
li_prnt_close = PrintClose(ll_printJob)

Result: The PRINTTEXT is Printing "Only" on First Page. If datawindow portrait it prints on ALL Pages. Why Landscape datawindow not able to print on all pages
 
 http://files.engineering.com/getfile.aspx?folder=bccb2db4-729a-4449-ad72-cc6af8b97cea&file=abc_-05-03-17-09.22.58.pdf
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top