Skip to Content
0

PrintText Issue with PrintDatawindow Landscape pdf

May 03, 2017 at 01:39 PM

56

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers