From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,3959dfcd7ef80b66,start X-Google-Attributes: gidf8c9b,public X-Google-Thread: fee84,3959dfcd7ef80b66,start X-Google-Attributes: gidfee84,public X-Google-Thread: 1164f8,3959dfcd7ef80b66,start X-Google-Attributes: gid1164f8,public X-Google-Thread: fbc0e,3959dfcd7ef80b66,start X-Google-Attributes: gidfbc0e,public X-Google-Thread: f678f,3959dfcd7ef80b66,start X-Google-Attributes: gidf678f,public From: "Frank J. Perricone" Subject: Printing to parallel port in Digital UNIX without lpd -- odd problems Date: 1997/11/26 Message-ID: <65hme8$sa4$1@vtsis05.state.vt.us>#1/1 X-Deja-AN: 292899923 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.2039.0 Organization: Vermont Department of Liquor Control Newsgroups: alt.unix.wizards.free,comp.sys.dec,comp.unix.osf.misc,comp.unix.osf.osf1,comp.unix.questions I've been trying to set up my Digital UNIX 4.0b system to print via the parallel port for some time now and am stuck. Since we're using some queueing software, I'm not using lp or lpr, as lpd isn't running at all. I'm trying to be able to print directly to the port. Yet when I try something like this: > date >/dev/lp0 ksh: /dev/lp0: cannot create Following up on a lead someone else had posted somewhere, I rebooted and went into ECU on my AlphaStation to see if maybe the parallel port hadn't been set up. It had, and I started the system back up, fired up a shell on the console, and even though I hadn't changed anything I tried again. It printed! I rushed to my PC, fired up a terminal window, logged in, and did it again (this time with the echo command). Still worked. Elated, I announced the results to the others in MIS, then sat down to do some more thorough testing. Tried to cat a whole file there and bang, got the same "cannot create" error as ever. Tried the date command again, and now it wouldn't work. I doubt the cat command killed it, so I have to assume something loaded in in between tests that screwed it up; but what? I've tried unloading the queueing software (QMaster) but it doesn't change anything. I've also killed and re-mknod-ed the /dev/lp0 file without it accomplishing anything. Any suggestions would be greatly, greatly appreciated. -- Frank J. Perricone frank@dlc.state.vt.us DP Systems Manager 802-828-2345 Vermont Department of Liquor Control Fax: 802-828-2803 http://www.state.vt.us/dlc/ http://www.sover.net/~hawthorn/f-pgp.txt