tldm-universe/Ardent/UV/BP/PRINTER

40 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2024-09-09 21:51:08 +00:00
******************************************************************************
*
* Routine to handle UniVerse Spooled Device Management
*
* Module %M% Version %I% Date %H%
*
* (c) Copyright 1998 Ardent Software Inc. - All Rights Reserved
* This is unpublished proprietary source code of Ardent Software Inc.
* The copyright notice above does not evidence any actual or intended
* publication of such source code.
*
*******************************************************************************
*
* Maintenence log - insert most recent change descriptions at top
*
* Date.... GTAR# WHO Description........................................
* 10/14/98 23801 SAP Change copyrights.
* 11/10/92 10549 TMC New file
*
*******************************************************************************
*
*spooler
*created by: rj
*last modified by:
*rev 1.0
*
* PRINTER command just sets page width and depth
* null parameters mean to display current settings
*
get(arg.)par else goto 100
par = trim(par)
execute "TERM ,,,,,,":par
stop
100 execute "TERM", //out. > trmout
trmout=trim(trmout)
* let's display same messages as Ultimate
print
print "Page width: ":oconv(trmout<3>,'G3 1')
print "Page depth: ":oconv(trmout<4>,'G3 1')