Prevent Form Feed On Report
Posted 26 July 2006 - 02:06 PM
I'm using v.5.5 Rev.3.1.2, GUI and greenscreen. The printer I am using for this report is an OKI Microline 320.
I am trying to suppress the form feed at the end of a report. It is a label print where the user has the option of printing one or more labels to the printer. I would like the print job to finish at the end of the last label without doing a form feed to the end of the page. The report has one LS. The page length is defined as "blank". I have suppressed page header, first line and first form feed. I have an EOF control break with no line skips. (I have tried the report with no control breaks, and this did not stop the form feed.) Does anyone have any ideas or suggestions?
Posted 26 July 2006 - 02:41 PM
Are you sure that it is not the next running of a Report function that is causing the page-throw?
Alternately, it could be being put there by the spooler software that is driving the printer (assuming you have some).
Posted 26 July 2006 - 03:16 PM
One other solution is to referene the printer by its physical device name e.g /dev/rmt/printerdevice (for UNIX) or \myprinterserver\myprinter (for windows). Ensure that you have set the spooler switches to be a physical device (or use the correct report type when using @RPTOPT).
Posted 26 July 2006 - 06:45 PM
I have never seen PRO-IV append a print file with FF - it has always been the OS.
Posted 27 July 2006 - 12:46 PM
I had EXACTLY the same problem when I was trying to get our PRO-IV based acctg system to correctly print on preprinted invoice forms. Both the form tossing at start of report, and stopping dead at the last line of the report were new tricks to me.
Lewis has one possible solution - check your model printer script, look for an "ECHO 14" being sent after the last file.
I lost a lot of hair trying to nail that one down. BTW, there are TWO incantations of the OKI 32x series - OKI emulation and IBM emulation. try to avoid any hard coding of control chars because if you replace one with the other, well . . . . . . . . . . . .
I used vvars to hold the start and end control sequences.
Posted 27 July 2006 - 02:56 PM
Reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users