Date: Thu, 10 Nov 2011 20:13:13 +0000
Reply-To: "DUELL, BOB" <bd9439@ATT.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "DUELL, BOB" <bd9439@ATT.COM>
Subject: Re: Sysprint error when I did not invoke Sysprint
Content-Type: text/plain; charset="us-ascii"
Very strange! I suppose it's possible that something in that Excel workbook is doing this (like an Excel macro that executes when opened). I often get mysterious errors related to "bad" printers with SAS, although I almost never actually print anything. I've never understood why printers cause problems in SAS, especially in cases like this. Importing a data source doesn't suggest a "printer" would ever be involved. This is one reason why I try to avoid Excel for data exchanges. CSV files are more reliable (to me).
Anyway, the SYSPRINT option just names the "default" destination printer. Unless it is being hard-coded in some configuration file, it will be set to whatever is defined in Windows print manager. Mine is set to "Microsoft XPS Document Writer".
If it happens again, use the "Print Setup..." dialog in SAS to see what it says. If you select a different printer the SYSPRINT option will also change; no need to restart SAS.
Again, I think your sanity is intact. Good luck,
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Erin McMullen Jonaitis
Sent: Thursday, November 10, 2011 9:09 AM
Subject: Sysprint error when I did not invoke Sysprint
I just got the sort of error message that makes me wonder if I'm quite sane. Here it is.
7503 /* Brain data are already clean */
7504 PROC IMPORT OUT = WORK.Brain_dirty
7505 DATAFILE = "W:\Aim 2 Analyses\Insulin resistance\raw data\gm.xls"
7506 DBMS = EXCEL REPLACE;
7507 SHEET = "data";
7508 GETNAMES = YES;
7509 MIXED = NO;
7510 SCANTEXT = YES;
7511 USEDATE = YES;
7512 SCANTIME = YES;
ERROR: The setting of the SYSPRINT option to "Home- Deskjet 3050 @ Lauren Wielgus's MacBook Pro
(from Erin Jonaitis's)" will be ignored
because "Home- Deskjet 3050 @ Lauren Wielgus's MacBook Pro (from Erin Jonaitis's)" is not the
name of a currently installed printer.
This error may be due to changes in SYSPRINT option syntax.
Please refer to your host companion for details of those changes.
I closed SAS and restarted and the error message did not reappear. However, I'm fairly disturbed. What is the SYSPRINT option, and how might I have accidentally invoked it? And how did it infer that I wanted to print to someone else's printer? I do in fact own a MacBook Pro, although I do not have SAS installed on it. I have used it to Remote Desktop into this current machine, however, and was working on this program remotely yesterday. I also do not know anybody named Lauren Wielgus; Google tells me she is a talented young physicist, though it does not confirm or deny whether she owns a Deskjet 3050...
Erin Jonaitis, Ph.D.
Assistant Scientist, Wisconsin Alzheimer's Institute
7818 Big Sky Drive
Madison, WI 53719