Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing Isuue

Status
Not open for further replies.

123qweasd

IS-IT--Management
May 19, 2003
5
US
I have a client with a SCO running on a Proliant 800 system, they run AccuPlus accounting package 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
 
The answer from AccuPlus is of a bad customer support one. If they have their system working on Unix then they should at least be able to configure the Printers correctly.
Furthermore it is the responsability of any good Software to handle all printing issues including page eject at the end of a job.
I would ask them if their software issues a Eject Page at the end of each print request, and if it doesn't I would ask why not.



There are various options, but the simplier is to change your printer interface, and add a "form feed" control at the end of each printout.

For example if using the "dumb" interface you would uncomment or add the following code
do
for file in $files
do
0<${file} eval ${FILTER} 2>&1
echo &quot;\014\c&quot; ------ code to add/uncomment
done
i=`expr $i + 1`
done

If using a smart interface you would for example configure a &quot;FF&quot; on the terminfo of the printer.

If you are not sure of where /what to change then please give us your full printer interface (if too big you can send it by email to me at frederico_fonseca at syssoft-int.com)).
The interfaces are located on
/var/spool/lp/admins/lp/interfaces




Regards

Frederico Fonseca
SysSoft Integrated Ltd
 
There is nothing in /var/spool/lp/admins/lp/interfaces just &quot;.&quot; & &quot;..&quot; dirs.
Just for the sake of it I have the /etc/printcap file here:

# 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:
# #

Please advise
Al
 
If the lanpres1 box is not running SCO OSR5 you should remove the ex flag.
Then you can also try to play with the definition of the l1 and l2 printers on the lanpres1 machine.

Hope This Help
PH.
 
Another way is to define a new local printer, says Local1, with device /dev/null and model dumb. Then you can modify the interface script /var/spool/lp/admins/lp/interfaces/Local1 to add a echo &quot;\f&quot; (as Frederico said) and add | lp -dRealPrinter near the done.

Hope This Help
PH.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top