[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: print-direct
I think that the printer will print anything in _its_ buffer if you switch to double-sided. You will probably have to try a few different things in SQR and may still end up with a completely blank page.
print-direct does not "write the output buffer" -- things written this way sorta go "behind" the page buffer, but first try issuing it when the page buffer is empty -- right after new-page. At this point the _printer's_ buffer should be empty too.
Also, it may work differently depending on how you print. If I had a duplex printer, I'd want to try producing the .LIS file and then print it. At least this way you can examine the file and see where the PCL command for duplex falls. This may give you a clue as to how and when to produce it in SQR.
Good luck
Dave
At 01:55 AM 11/11/1999 PST, you wrote:
>Hello,
>
>I am using the print-direct command within an SQR report to change the
>report to print double sided half way through e.g
>
>let $esc = chr(27)
>let $duplex = $esc || '&l1S'
>print-direct nolf printer=hp $duplex
>
>and then executing the report with the -PRINTER:HP option.
>
>Just before this statement I print out the page number. The effect of the
>code above is to print out a new blank page with the same page number
>repeated and then to print the rest of the report double sided.
>
>I undestand that the print-direct command also writes out the output buffer
>which I assume is where I am getting the extra Page n from. Can I prevent
>this is any way.
>
>Thanks for any help,
>Gary
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>
Dave Donnelly <dave@isisbio.com> or <isisdave@usa.net>
ISIS BioComp phone (909) 677-2446 fax (909) 677-3991