Some more details might help.  
Are you in Universe ?  If so, what does your record for the printer look
like in the &DEVICE& file ?  What does your 'driver' look like ? Can cat
that in the os ?  Exactly what kind of printer is it that you are using
?

We have a printer 'FUJI' and here is what it looks like in &DEVICE&
>ED &DEVICE& FUJI
The file "&DEVICE&" is read-only and cannot be updated.
19 lines long.
 
----: P
0001:
0002: /dev/null
0003:
0004: P
0005:
0006: /usr/spool/uv/fuji.drv
0007: FUJI
0008: 4
0009: 1
0010: 1
0011: 11
0012:
0013: 1
0014: 1
0015: 1
0016: 1
0017: 8
0018:
0019:
Bottom at line 19.

Here is what the 'driver' (/usr/spool/uv/fuji.drv) looks like;

[EMAIL PROTECTED] alp.oe]$ cat /usr/spool/uv/fuji.drv
cat -| lp -dfuji -o "nofilebreak" -s


Anthony




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Ivanick
Sent: Tuesday, June 07, 2005 7:26 PM
To: [email protected]
Subject: [U2] Again with Setting a Network Printer in Linux


Hola all -

So, I've tried the various options outlined here & in other related 
email, but our setup is failing consistently.

What happens is this: I can setup a printer, B009A for example, in CUPS 
or as an lp printer, doesn't seem to matter. Linux (RH 3.5) printing is 
fine, test are all ok & lp from the bash line are good as well, output 
is dandy. When printed from the TCL prompt like this:

SP-ASSIGN F24 (and the printer B009A has form 24 loaded up) COPY CRIT
PTEST (P

I get good output. But when I try to print from within local PICK 
programs, which work fine on our 
hopefully-soon-to-be-replaced-if-I-can-fix-this-issue Irix system, 
nothing, they disappear entirely. My spooler log shows:

P Print PR24 2 528 UniVerse 24 06/07/2005 18:49:51

lpstat is clear, but no output. The only exception to this is when I 
have the printer setup as a RAW printer, in which case I do get output 
but it is incomplete -- a few boxes are drawn & a small amount of text 
is output at the top of the page.

My programmer assures me he's doing nothing odd with the printing, and I

believe him (can post some code here if that will help, I need to find 
the explicit printing code first) but damned if I can think of anything 
else going on. Again, all jobs are properly logged in my spooler log 
files but no output.

ANY hints/thoughts/ideas greatly appreciated.

Peter

Stu Glancy wrote:
> You need to setup &DEVICE& by edit or uv admin.  UV admin is best
> because you will need to reread the spooler configuration files and
you 
> are prompted for this.  On my Linux the TCl command is "MOTIF 
> SYSTEM.ADMIN" or SYSTEM.ADMIN  in the "uv" account.
> Marc Hilbert wrote:
> 
>> I have tried reading the manual. How can I set up access to a network
>> printer under UV 10 with Linux Redhat 9.0. From the Linux shell I can

>> successfully print, but from UV all I get is the following message 
>> every minute or so...
>>
>> "Unable to open device. Verify that the printer is on line..."
>>
>> Thanks in advance,
>> Marc
>> -------
>> u2-users mailing list
>> [email protected]
>> To unsubscribe please visit http://listserver.u2ug.org/
> 
> 
> 

-- 
Peter Ivanick
Sr. Programmer/Analyst
School of Veterinary Medicine, University of Pennsylvania
Email: [EMAIL PROTECTED]
Phone: 215.573.2306    Fax: 215.573.8777
http://www.vet.upenn.edu/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to