Skip to Content
avatar image
Former Member

PrintText Issue with PrintDatawindow Landscape pdf

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers