Resolution: [U2] Again with Setting a Network Printer in Linux

2005-06-09 Thread Peter Ivanick
And this is exactly it, and extreme thanks to all who helped out, and 
especially to Jerry Banker who had the correct answer pretty much right 
off the bat although the control character issues confused me into 
thinking it was something else.


What was happening was a conflation of events: I could easily get the 
stairstepping issue to go away when using a proper printer driver, but 
the printer did not then interpret the printer control codes properly. 
When using RAW devices/no drivers, the printer control graphics & bolded 
text, etc, printed properly but no text because it was stairstepping 
right off the page. However, we were additionally led astray because 
converting the captured PCL output to PDF produced the same thing, i.e. 
the graphics but no text. Another hitch in my gitalong was that I had 
assumed that setting the CR Mode  to : Convert LF to CR/LF would take 
care of the issue, but Joel Yates @ IBM tells me that so long as you're 
using /dev/null & not an actual device, this setting has no effect.


Adding this:

perl -ne 'chop; print $_,"\r\n"' | lp -dPRINTER

to our printer driver works a treat; Joel pointed me at lponlcr & xtod, 
neither of which exist under the standard linux distros that I can find 
(still looking for equivalents), which reinforces Wol's point. If anyone 
knows of equivalencies, give a shout.


Again, many, many thanks to everybody here, I'm a happy sysadmin again.

[EMAIL PROTECTED] wrote:

[EMAIL PROTECTED] wrote:


Dear Peter,

As the lp concept of printing is to temporarily capture a file (frequently
to the hard drive) as it is generated by an application, and then send it to
a defined destination once the file is completely created, it is possible
for system issues (such as number of open files) to impede the proper
creation of the file to be printed.



Don't forget also, that modern Unix (and linux especially) seems to assume that 
all printers are postscript. That really cheeses me off, in that it's a right 
pain if you actually want to control the printer yourself for some reason (like 
in this case, sending HP control sequences to an HP printer!)

It's pretty much a certainty that, by default, this print job is being spooled 
throught ghostscript. Which will detect it is a text file, and wrap it in the 
necessary postscript code, fooling the printer into treating it as postscript 
(if it's a postscript printer) or ghostscript will mangle it itself (if it's 
not a postscript printer).

To my mind, modern linux printing is one of the worst bits of linux. It tries to force you to use 
CUPS (totally ignoring the linux mantra of "choice"); while CUPS, even by the standard of 
Unix, is exceptionally user-vicious. Just read ESR's "Aunt Tilley" diatribe about CUPS 
... My worst experience is where I tried to connect to a network printer. I wanted to tell it where 
the printer was, so I told it to NOT do a network scan. Next thing I knew, the configuration 
utility had started (uninteruptably) scanning the network looking for printers ...

Cheers,
Wol
---
u2-users mailing list
u2-users@listserver.u2ug.org
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.2306Fax: 215.573.8777
http://www.vet.upenn.edu/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Again with Setting a Network Printer in Linux

2005-06-09 Thread u2
[EMAIL PROTECTED] wrote:
> Dear Peter,
> 
> As the lp concept of printing is to temporarily capture a file (frequently
> to the hard drive) as it is generated by an application, and then send it to
> a defined destination once the file is completely created, it is possible
> for system issues (such as number of open files) to impede the proper
> creation of the file to be printed.
> 
Don't forget also, that modern Unix (and linux especially) seems to assume that 
all printers are postscript. That really cheeses me off, in that it's a right 
pain if you actually want to control the printer yourself for some reason (like 
in this case, sending HP control sequences to an HP printer!)

It's pretty much a certainty that, by default, this print job is being spooled 
throught ghostscript. Which will detect it is a text file, and wrap it in the 
necessary postscript code, fooling the printer into treating it as postscript 
(if it's a postscript printer) or ghostscript will mangle it itself (if it's 
not a postscript printer).

To my mind, modern linux printing is one of the worst bits of linux. It tries 
to force you to use CUPS (totally ignoring the linux mantra of "choice"); while 
CUPS, even by the standard of Unix, is exceptionally user-vicious. Just read 
ESR's "Aunt Tilley" diatribe about CUPS ... My worst experience is where I 
tried to connect to a network printer. I wanted to tell it where the printer 
was, so I told it to NOT do a network scan. Next thing I knew, the 
configuration utility had started (uninteruptably) scanning the network looking 
for printers ...

Cheers,
Wol
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Again with Setting a Network Printer in Linux

2005-06-08 Thread Paul Tykodi
Dear Peter,

Since you are working in an environment with Linux and Irix based servers,
you should be able to create a print to file queue serviced by an LPD daemon
on a *nix based machine in your network. You could then print the same
sample form from the old Irix environment and the new RH environment to this
destination instead of the actual printer.

After you have the two sample *.prn files, representing the particular form
generated in one of the two different environments, you can see what is
different between the two files.

If you are missing some formatting information at the beginning of the file
from the new environment, you can then check the part of the program
responsible for generating the missing information to see whether it might
be suffering some form of processing issue in the new environment or whether
the environment itself is most likely causing the difficulty.

As the lp concept of printing is to temporarily capture a file (frequently
to the hard drive) as it is generated by an application, and then send it to
a defined destination once the file is completely created, it is possible
for system issues (such as number of open files) to impede the proper
creation of the file to be printed.

HTH

Best Regards,

/Paul

>Date: Wed, 8 Jun 2005 12:08:53 -0400
>From: "George Gallen" <[EMAIL PROTECTED]>
>Subject: RE: [U2] Again with Setting a Network Printer in Linux
>
>When we switched from Digital Unix to Redhat & (UV 8.3 -> UV 10)
>we had a printer problem where the top of a print job was lost.
>
>Our fix was to change the number of open files allowed on the system
>somehow, there were too many files open, and it messed up our print jobs,
>
>it was extremely inconsistant,and would change in where it cut off the
>print job.
>
>However, our problem existed with the &HOLD& file, and was not printer
>specific.
>
>George
>
>>-Original Message-
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] Behalf Of Peter Ivanick
>>Sent: Wednesday, June 08, 2005 11:44 AM
>>To: u2-users@listserver.u2ug.org
>>Subject: Re: [U2] Again with Setting a Network Printer in Linux
>>
>>
>>Well, it's doing a bit more than that, it's drawing a few
>>boxes as well,
>>we had but fixed that stairstepping issue on other printers.
>>No script,
>>straight out through lp.
>>
>>Many, many thanks for your help.
>>
>>Jerry Banker wrote:
>>> The print only at the top of the page sounds like the
>>printer is not getting
>>> or not interpreting a carriage return at the end of the
>>line. We had the
>>> same problem on our Sun system with HP printers. Are you sending the
>>> printout through a script before going to the device?
>>> Jerry
>>> - Original Message -
>>> From: "Peter Ivanick" <[EMAIL PROTECTED]>
>>> To: 
>>> Sent: Tuesday, June 07, 2005 6:26 PM
>>> 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.
>>&g

RE: [U2] Again with Setting a Network Printer in Linux

2005-06-08 Thread George Gallen
When we switched from Digital Unix to Redhat & (UV 8.3 -> UV 10)
we had a printer problem where the top of a print job was lost.

Our fix was to change the number of open files allowed on the system
somehow, there were too many files open, and it messed up our print jobs,

it was extremely inconsistant,and would change in where it cut off the
print job.

However, our problem existed with the &HOLD& file, and was not printer
specific.

George

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Peter Ivanick
>Sent: Wednesday, June 08, 2005 11:44 AM
>To: u2-users@listserver.u2ug.org
>Subject: Re: [U2] Again with Setting a Network Printer in Linux
>
>
>Well, it's doing a bit more than that, it's drawing a few
>boxes as well,
>we had but fixed that stairstepping issue on other printers.
>No script,
>straight out through lp.
>
>Many, many thanks for your help.
>
>Jerry Banker wrote:
>> The print only at the top of the page sounds like the
>printer is not getting
>> or not interpreting a carriage return at the end of the
>line. We had the
>> same problem on our Sun system with HP printers. Are you sending the
>> printout through a script before going to the device?
>> Jerry
>> - Original Message -----
>> From: "Peter Ivanick" <[EMAIL PROTECTED]>
>> To: 
>> Sent: Tuesday, June 07, 2005 6:26 PM
>> 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
>>>>u2-users@listserver.u2ug.org
>>>>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.2306Fax: 215.573.8777
>http://www.vet.upenn.edu/
>---
>u2-users mailing list
>u2-users@listserver.u2ug.org
>To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Again with Setting a Network Printer in Linux

2005-06-08 Thread Peter Ivanick
Well, it's doing a bit more than that, it's drawing a few boxes as well, 
we had but fixed that stairstepping issue on other printers. No script, 
straight out through lp.


Many, many thanks for your help.

Jerry Banker wrote:
The print only at the top of the page sounds like the printer is not getting 
or not interpreting a carriage return at the end of the line. We had the 
same problem on our Sun system with HP printers. Are you sending the 
printout through a script before going to the device?

Jerry
- Original Message - 
From: "Peter Ivanick" <[EMAIL PROTECTED]>

To: 
Sent: Tuesday, June 07, 2005 6:26 PM
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
u2-users@listserver.u2ug.org
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.2306Fax: 215.573.8777
http://www.vet.upenn.edu/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Again with Setting a Network Printer in Linux

2005-06-08 Thread Peter Ivanick

Hola all -

Some more details might help.  
Are you in Universe ? 


Yes, that's where it's failing. From the TCL prompt, SP-ASSIGN F24 & the 
printing output seems to work fine, but from within the programs, it's 
not so good.



If so, what does your record for the printer look
like in the &DEVICE& file ?


|
| Printer Name: pr24Baud Rate : 9600 
   |
| Pathname? /dev/null   Parity: NONE 
   |
| Driver  : /usr/spool/uv/pr.PR24   CR Mode   : None 
   |
| Form: 24  Tab Expansion : OFF 
   |
| Flow control: FF Delay  : No formfeed 
   |
| Enable Printing : Y   LF Delay  : None 
   |
| Enable Queuing  : Y   Word Length   : 8 
   |
| Lock file 1 : PR24 
   |
| Lock file 2 : 
   |
| Other Options   : LF to CR/LF 
   |


> What does your 'driver' look like ?

lp -dVHP1101PRT1 (works for most other printers/forms, only 24 & 25 are 
giving us problems)



Exactly what kind of printer is it that you are using ?


Well we've tried it on a couple, HP LJ 8150 is the 'true' destination, 
and an HP LJ 4200 we're using for testing, which again work fine for 
most other print jobs, just not (so far) for these particular forms. 
I've been able to replicate this on another test system as well.


Inside the code, the programmer is using SETPTR as oppposed to SP-ASSIGN 
as in:


ED MD SETF24
0001: PQ
0002: HSETPTR 0,80,59,0,0,1,FORM 24,NOHEAD,BRIEF
0003: P

Same code works aces on the current uv 9.6 on Irix 6.5 system against 
the same printer, bails entirely on the uv 10.1.4 / RH 3.5  systems.


U2 tech support & the programmers are looking into this, unfortunately 
he's a consultant & typically here only once a week.


Many, many thanks for your help.

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


RE: [U2] Again with Setting a Network Printer in Linux

2005-06-08 Thread Anthony Dzikiewicz
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: u2-users@listserver.u2ug.org
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
>> u2-users@listserver.u2ug.org
>> 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.2306Fax: 215.573.8777
http://www.vet.upenn.edu/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Again with Setting a Network Printer in Linux

2005-06-08 Thread Jerry Banker
The print only at the top of the page sounds like the printer is not getting 
or not interpreting a carriage return at the end of the line. We had the 
same problem on our Sun system with HP printers. Are you sending the 
printout through a script before going to the device?
Jerry
- Original Message - 
From: "Peter Ivanick" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, June 07, 2005 6:26 PM
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
>> u2-users@listserver.u2ug.org
>> 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.2306Fax: 215.573.8777
http://www.vet.upenn.edu/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/ 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Again with Setting a Network Printer in Linux

2005-06-07 Thread Peter Ivanick

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
u2-users@listserver.u2ug.org
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.2306Fax: 215.573.8777
http://www.vet.upenn.edu/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/