[EMAIL PROTECTED] wrote:
> Hi gang,
> 
> I'm in the process of tweaking one of our reports which use a "LIST ...
> LPTR" command line to spool the output to the default printer. However, the
> results are too wide for portrait orientation and was wanting to find a way
> to set the orientation with SETPTR prior to the execution of the LIST
> statement.
> 
> I tried to use the following statement but that doesn't seem to change the
> default orientation of the printer:
> 
> UDTEXECUTE 'SETPTR 0,,,,,1,,"Orientation=LANDSCAPE"' CAPTURING ASPMSG
> 
There's no way to do this from within UniVerse that I know of - there might be 
in UniData - without mucking about with print queues and making a special queue 
or format or something.

I've got a WIDELIST command I've written that knows about printers and will 
wrap the necessary escape sequences around things. Email me offline at work 
(Anthony dot Youngman at ECA dash International dot com) if you want to adapt 
my code. I really ought to put it up on PickWiki ...

Cheers,
Wol
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to