UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old September 20th, 2003, 09:05 AM
alexseys alexseys is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 2 alexseys User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
SCO and Print issue

| I have a client with a SCO running on a Proliant 800 system, they run some kind of DB on it, during printing, system does not send form feed signal,i.e. if 2 documets sent, they are printed on same page. Does any one know what could be the problem and how to fix it. I have some knowlege of Linux but not SCO.

# uname -X

System = SCO_SV
Node = scosysv
Release = 3.2v5.0.5
KernelID = 98/07/02
Machine = PentII(D)
BusType = ISA
Serial = 2GA051257
Users = 5-user
OEM# = 0
Origin# = 1
NumCPU = 1

#
# lpstat -p -D
l1:
queuing is enabled
l2:
queuing is enabled
#


The database/program is AccuPlus ( no version) I called them and they claim that they have nothing to do with unix and this is a unix problem

Thank you
Al

Reply With Quote
  #2  
Old September 24th, 2003, 01:03 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
Re: SCO and Print issue

Quote:
Originally posted by alexseys
I called them and they claim that they have nothing to do with unix and this is a unix problem

They're right. Printing in unix is usually not implemented in client programs, but they simply produce postscript output and pipe it to "lpr". The printer daemon ("lpd", "cupsd", ...) will take care of the rest.

Edit your /etc/printcap file and remove the ":sf:" option ("suppress formfeed")

hth,
M.
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Reply With Quote
  #3  
Old September 25th, 2003, 08:03 PM
alexseys alexseys is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 2 alexseys User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Re: Re: SCO and Print issue

Quote:
Originally posted by M.Hirsch
They're right. Printing in unix is usually not implemented in client programs, but they simply produce postscript output and pipe it to "lpr". The printer daemon ("lpd", "cupsd", ...) will take care of the rest.

Edit your /etc/printcap file and remove the ":sf:" option ("suppress formfeed")

hth,
M.


Here is the content of the file you point to I do not see what I should change on it Please advise

# Remote Line Printer (BSD format)
printer1:\
:lp=:rm=lanpres1:ex:rp=l1:sd=/usr/spool/lpd/l1:mx#0:
printer2:\
:lp=:rm=lanpres1:ex:rp=l2:sd=/usr/spool/lpd/l2:mx#0:
# #

Thank You Al

Reply With Quote
  #4  
Old September 26th, 2003, 01:02 AM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
The default in FreeBSD is "sf=false", not sure if SCO is different here. "man 5 printcap" will reveal this.
I expected it to have a ":sf:" somewhere, but if SCO's default is "sf=true", you would have to add it:
:lp=:rm=lanpres1:ex:rp=l1:sd=/usr/spool/lpd/l1:mx#0:sf:

You are using a printer not attached to this machine, you probably have to set it up on the other machine where the printer is connected to. (In case it directly connects to your ethernet, try to telnet to it for configuration).

hth,
M.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > SCO and Print issue


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway