LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (March 1998, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 10 Mar 1998 13:24:54 -0600
Reply-To:     John Blodgett <john_blodgett@UMSL.EDU>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         John Blodgett <john_blodgett@UMSL.EDU>
Subject:      Setting sysprint option in Windows95
Content-Type: text/plain; charset="us-ascii"

I am responding to my own earlier posting regarding problems trying to specify the sysprint option in W95. I went ahead and included the sysprint spec as I originally coded it based on reading the on-line documentation and viewing the current value of the option using proc options. i.e.: options sysprint='LPT1:' '\\Umsl-server2\lh211-hp3si HP LaserJet IIISi'; I put this in my autoexec file and followed it with : options sysprintfont= 'SAS Monospace' 9 named 'HP LaserJet IIISi'; dm 'dlgprtsetup orient=landscape nodisplay';

When I next started up SAS with these commands in the autoexec I once again got a message saying that the specified printer/port combination was invalid (flagging the "options syprint" statement.) HOWEVER, IT SEEMS TO WORK. When I do file-print setup I see that everything has been set up as I intended, and I am able to print to that printer with the specified font and landscape orientation. It even appears to have reset by linesize and pagesize options (to 130 and 42, resp.) to conform to the "setup". So the only problem seems to be the misleading message (which, BTW, is a WARNING message, not an ERROR message.) I guess the problem is solved.

>I am trying to automate the setup for printing under Windows V6.12 >for a class. I need to be able to specify the specific printer I >what to use and the font and orientation. I was unable to find any >on-line doc. that specifies the precise details / syntax of the >sysprint system option. But I found something and it specified a syntax of: > > SYSPRINT='destination' <'driver'> > > The question is just what do I put for the entities inside the quotes. I >thought I could solve the problem by using file-print-setup -- which changes > >the value of sysprint for you. I did this and then ran > > proc options host; (because "proc options option=sysprint;" doesn't > >work for some reason) and saw that it had set the value to: > > > >SYSPRINT=(lpt1: \\Umsl-server2\lh211-hp3si HP LaserJet IIISi) > > > > I adjusted for formatting, removing the parentheses and adding the >quotes per the syntax indicated in the on-line help and tried: >options sysprint='lpt1:' '\\Umsl-server2\lh211-hp3si HP LaserJet IIISi'; > >But this was rejected when I ran it, with a message saying > >"The specified printer/port combination, \\Umsl-server2\lh211-hp3si >HP LaserJet IIISi on lpt1:, is not valid." > >Well, if it's not valid then proc options is playing tricks on me, >because I copied and pasted those values from the log into the >statement I submitted. Or is what proc options displays only some rough >estimate >of the true value? > > > >Anyone have any suggestions? >John Blodgett >Manager, Urban Information Ctr, U of Mo St. Louis >8001 Natural Bridge Rd. / 211 Lucas Hall >St. Louis, MO 63121-4499 > (314) 516-6014 FAX: (314) 516-6274 > e-mail: john_blodgett@umsl.edu > > > John Blodgett Manager, Urban Information Ctr, U of Mo St. Louis 8001 Natural Bridge Rd. / 211 Lucas Hall St. Louis, MO 63121-4499 (314) 516-6014 FAX: (314) 516-6274 e-mail: john_blodgett@umsl.edu


Back to: Top of message | Previous page | Main SAS-L page