I've just tried running a custom landscape report in dBase 5 for DOS which I created with lots of custom loops, ifs, dos, etc. So this time I did not use CREATE REPORT, MODIFY REPORT, or REPORT FORM. All the printer codes worked except landscape! Even if the only printer code command I give is the one shown below without any other printer codes, it still fails to print landscape. When I went back to my code library, I noticed that all of my prior reports ran landscape successfully but I had always used REPORT FORM. Since I can't use a report form in this case, is there something I'm missing? Why will REPORT FORM do it but not my hand-written custom code using simple "?" and "??" commands (no "@ SAY")? Here's what I've researched so far and I'll post more when and if I determine a successful landscape fix.
[b]??? CHR(27) + "&l#O"[b] && traditional landscape command
(I also tried using ?? instead of ???. No differnece.)