dbTalk Databases Forums  

Printing Problems in Universe running on Fedora (Redhat)

comp.databases.pick comp.databases.pick


Discuss Printing Problems in Universe running on Fedora (Redhat) in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
mike@cvp
 
Posts: n/a

Default Printing Problems in Universe running on Fedora (Redhat) - 01-23-2006 , 03:09 PM






I am running Universe 10.1.12 for RHLINUX on Fedora 4.
When my database software prints a job in Universe, it works ok, but any
jobs printed after that are stored in spool hold and are never output. I
have to manually go into /usr/spool/uv, find the print job and then do a
#cat uv(printjobnumber) | lpr to get it to print.

Or I can completely log off of universe and then log back in and then print
the job each time.
Has anyone experienced this problem? Does anyone know a fix for this?

More details.....
I was running this same system on AIX/Universe and transferred over to a PC
based system running Fedora. This problem did not occur on AIX. On Fedora,
everything is working fine except for some terminal emulation issues and
this one printing problem.
Printing system in Universe is set up to where :
LP0 /dev/null BAUD 9600 DRIVER /usr/spool/lpd XOFF STARTANY OFF PARITY None
TABS
ON FFDELAY 1 LFDELAY 0 DATABITS 8
and /usr/spool/lpd says:
#!/bin/sh
#
#simple interface to glue UniVerse to Network printer
#
cat -|lpr -P lpd

Anyhelp is appreciated,
Mike



Reply With Quote
  #2  
Old   
Martin Kent
 
Posts: n/a

Default Re: Printing Problems in Universe running on Fedora (Redhat) - 01-24-2006 , 03:32 AM






It's submitting all print jobs to the DRIVER /usr/spool/lpd. Find one
of your uv job numbers then type;

cat <uv job number> | /usr/spool/lpd

This is what the universe spooler does with jobs. If it comes back with
a job number, then the driver file is OK. If it fails, change
/usr/spool/lpd to
cat -| lpr - this will submit the print job to the default
printer.

If it still fails, either (1) the spooler system in not running
correctly - restart it from the uvadmin menu in the UV account, or (2)
you need to load a form for the printer

Hope this helps.


Reply With Quote
  #3  
Old   
jra
 
Posts: n/a

Default Re: Printing Problems in Universe running on Fedora (Redhat) - 01-25-2006 , 03:27 PM



I am not sure if it can be your problem. Fedora uses CUPS as RHES. I do
not work with Universe, but with D3 sometimes i have had problems with
CUPS. You can deinstall CUPS and reinstall the old LPD.

Hope this help

joseba


Reply With Quote
  #4  
Old   
mike@cvp
 
Posts: n/a

Default Re: Printing Problems in Universe running on Fedora (Redhat) - 01-26-2006 , 06:36 PM



Thanks, that could be the problem, I will try to change over.


"jra" <frelance (AT) sarenet (DOT) es> wrote

Quote:
I am not sure if it can be your problem. Fedora uses CUPS as RHES. I do
not work with Universe, but with D3 sometimes i have had problems with
CUPS. You can deinstall CUPS and reinstall the old LPD.

Hope this help

joseba




Reply With Quote
  #5  
Old   
mike@cvp
 
Posts: n/a

Default Re: Printing Problems in Universe running on Fedora (Redhat) - 01-26-2006 , 06:45 PM



I changed over and still have the same problem. The jobs get spooled and sit
in a hold file and are not released. Universe list them as being in a wait
mode. What are they waiting for? They are waiting for me to go into the
spool file and manualy send them to the printer.....

Anyone else have any ideas?
"mike@cvp" <lbpipe (AT) sbcglobal (DOT) net> wrote

Quote:
Thanks, that could be the problem, I will try to change over.


"jra" <frelance (AT) sarenet (DOT) es> wrote in message
news:1138224475.413010.313100 (AT) g49g2000cwa (DOT) googlegroups.com...
I am not sure if it can be your problem. Fedora uses CUPS as RHES. I do
not work with Universe, but with D3 sometimes i have had problems with
CUPS. You can deinstall CUPS and reinstall the old LPD.

Hope this help

joseba






Reply With Quote
  #6  
Old   
mike@cvp
 
Posts: n/a

Default Re: Printing Problems in Universe running on Fedora (Redhat) - 01-26-2006 , 06:45 PM



The DRIVER /usr/spool/lpd consists of the command cat -| lpr already.


"Martin Kent" <martin.kent (AT) post-relational (DOT) co.uk> wrote

Quote:
It's submitting all print jobs to the DRIVER /usr/spool/lpd. Find one
of your uv job numbers then type;

cat <uv job number> | /usr/spool/lpd

This is what the universe spooler does with jobs. If it comes back with
a job number, then the driver file is OK. If it fails, change
/usr/spool/lpd to
cat -| lpr - this will submit the print job to the default
printer.

If it still fails, either (1) the spooler system in not running
correctly - restart it from the uvadmin menu in the UV account, or (2)
you need to load a form for the printer

Hope this helps.




Reply With Quote
  #7  
Old   
Martin Kent
 
Posts: n/a

Default Re: Printing Problems in Universe running on Fedora (Redhat) - 01-27-2006 , 03:02 AM



What is the output from the SETPTR command? Sounds like printing a job
sets the Print Mode to 3 - "Output to Hold File"


Reply With Quote
  #8  
Old   
mike@cvp
 
Posts: n/a

Default Re: Printing Problems in Universe running on Fedora (Redhat) - 01-31-2006 , 11:56 AM



Here is the output of SETPTR
Quote:
SETPTR
Unit Number : 0
Page Width : 132
Page Depth : 60
Top Margin : 3
Bottom Margin : 3
Print mode : 1 - Spooled Output

Suppress spool banner : On
Display job numbers : On
Destination printer : LP0
Output form name : 0



"Martin Kent" <martin.kent (AT) post-relational (DOT) co.uk> wrote

Quote:
What is the output from the SETPTR command? Sounds like printing a job
sets the Print Mode to 3 - "Output to Hold File"





Reply With Quote
  #9  
Old   
mike@cvp
 
Posts: n/a

Default Re: Printing Problems in Universe running on Fedora (Redhat) - 02-08-2006 , 09:15 AM



Anyone have any ideas of what the cause of this would be? Again, if I log
off and log back on,. it will let me print again. Other then that, I can not
print more then once.
Thanks

"mike@cvp" <lbpipe (AT) sbcglobal (DOT) net> wrote

Quote:
I am running Universe 10.1.12 for RHLINUX on Fedora 4.
When my database software prints a job in Universe, it works ok, but any
jobs printed after that are stored in spool hold and are never output. I
have to manually go into /usr/spool/uv, find the print job and then do a
#cat uv(printjobnumber) | lpr to get it to print.

Or I can completely log off of universe and then log back in and then
print the job each time.
Has anyone experienced this problem? Does anyone know a fix for this?

More details.....
I was running this same system on AIX/Universe and transferred over to a
PC based system running Fedora. This problem did not occur on AIX. On
Fedora, everything is working fine except for some terminal emulation
issues and this one printing problem.
Printing system in Universe is set up to where :
LP0 /dev/null BAUD 9600 DRIVER /usr/spool/lpd XOFF STARTANY OFF PARITY
None TABS
ON FFDELAY 1 LFDELAY 0 DATABITS 8
and /usr/spool/lpd says:
#!/bin/sh
#
#simple interface to glue UniVerse to Network printer
#
cat -|lpr -P lpd

Anyhelp is appreciated,
Mike





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.