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!

Recent content by Steve Yu

  1. Steve Yu

    Sorting an array

    =asort(texto)
  2. Steve Yu

    how to send Esc code to Epson LQ-590II for draft, courier, etc.

    Thanks for the advice always.
  3. Steve Yu

    how to send Esc code to Epson LQ-590II for draft, courier, etc.

    I'm now mostly certain the SET PRINTER TO will empty the print queue buffer as I recall years ago we had issue with printer output of REPOR FORM hanging up in the print queue forever after the report had been finished and then it printed immediately after we added the SEST PRINTER TO command...
  4. Steve Yu

    how to send Esc code to Epson LQ-590II for draft, courier, etc.

    Sorry, the testing is still in progress and very slow due to the fact I'm working from remote and have to work with people in the office, where the printer is located, who are not familiar with VFP printing so I'm only getting test results piece by piece and therefore wasn't able to report back...
  5. Steve Yu

    how to send Esc code to Epson LQ-590II for draft, courier, etc.

    Chris We don't use linefeed,formfeed codes for printing anymore; only when we are building HTML or EDI text files. We use ??? and ?? only for sending font settings Esc codes to Epson and we did not want the code to change print positions. And the reason for using ??? is we are not able to put...
  6. Steve Yu

    how to send Esc code to Epson LQ-590II for draft, courier, etc.

    Esc codes are used here primarily for printer font selection purpose for Epson LQ-590 dot-matrix printer (unfortunately we are still searching for laser alternatives for multi-part paper apps, or paperless options, but still, people need that piece of paper). The build-in Set Printer Font...
  7. Steve Yu

    how to send Esc code to Epson LQ-590II for draft, courier, etc.

    I'm familiar with start/stop procedures of spooler under Windows Services. Here it seems I need to use Generic/Text as driver (vs Epson printer driver) and disable print spool; that's what I did by selecting 'Print directly to printer' instead of 'Spool print documents' under printer property...
  8. Steve Yu

    how to send Esc code to Epson LQ-590II for draft, courier, etc.

    That did it. Changed the driver from Epson to Generic/Text and the Esc code went through and reconfigured the fonts. Thanks everyone. One note: even I set Widows printer property to no spool (print direct), the print job still went to the print queue and won't go away until multiple 'set printer...
  9. Steve Yu

    how to send Esc code to Epson LQ-590II for draft, courier, etc.

    Hello colleagues, https://www.tek-tips.com/threads/sending-printer-command-from-vfp.76448/ Above is an old thread that deals with exactly the same issue as I'm having now. My code: mpname = GETPRINTER() SET PRINTER TO NAME &mpname SET DEVICE TO print SET PRINTER on ??? chr(27) + "x" + "0" &&...
  10. Steve Yu

    sorting

    index on str(val(grade),2) tag tag1
  11. Steve Yu

    Sum of values in a Report Detail band

    Sorry, that's all I know. Help, anyone ?
  12. Steve Yu

    Sum of values in a Report Detail band

    You know you can have grand totals at the end too, correct ? Just in case, the grand totals can be coded in group footer, outside and after detail band, in similar coding to detail band.
  13. Steve Yu

    Sum of values in a Report Detail band

    If the totals are for each detail record then you'll have to use (tarimarbr + tpormarbr + tranmarbr + servmarbr), which I assume are data fields, instead of TotalMarBR. To do that, insert a field type in detail band after 'Totals:' and use the expression to define the total you wanted:

Part and Inventory Search

Back
Top