|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
Problem in setting up printers
Hi, We are facing an issue while setting up printers in solaris 5.10 . We have Oracle EBS installed over it. We have configured the printer and when we try printing a page from EBS it is printing fine. But the problem arises when we print two copies of the page. The first page is printing fine and the next page instead of starting from the next paper, it starts from the left over line of the first paper. We have the same printing setups as of solaris 5.9 where we do not face any issues. Printer setup in Solaris 5.9 Code:
# lpstat -lp purchasing
printer purchasing is idle. enabled since Mon Oct 16 09:22:32 2006. not available.
Form mounted:
Content types: simple, postscript
Printer types: epson2500
Description:
Connection: direct
Interface: /usr/lib/lp/model/netstandard
PPD: none
On fault: write to root once
After fault: continue
Users allowed:
(none)
Forms allowed:
(none)
Banner page never printed
Character sets:
character_set_1
character_set_2
usa
french
german
uk
danish1
swedish
italian
spanish1
japanese
norwegian
danish2
spanish2
latin_american
Default pitch: 10 CPI 6 LPI
Default page size: 136 wide 66 long
Default port settings:
Options: dest=15.1.1.7:9900, protocol=tcp, protocol=tcp
Printer setup in Solaris 5.10
# lpstat -lp purchasing
printer purchasing is idle. enabled since Mon Jul 23 14:52:59 2012. available.
Form mounted:
Content types: text/plain, application/postscript
Description:
Printer types: epson2500
Connection: direct
Interface: /usr/lib/lp/model/netstandard
On fault: write to root once
After fault: wait
Users allowed:
(all)
Forms allowed:
(none)
Media supported:
(none)
Banner page never printed
Character sets:
(none)
Default pitch:
Default page size:
Default port setting:
Options: PageSize=A4, dest=15.1.1.3:9900, protocol=tcpCan you help me whether is there any other configuration setups to be done other than this. Code:
# lpadmin -p purchasing -v /dev/null # lpadmin -p purchasing -m netstandard # lpadmin -p purchasing -o dest=15.1.1.7:9900 -o protocol=tcp # lpadmin -p purchasing -I simple,postscript -T epson2500 # accept purchasing Destination "purchasing" now accepting requests # enable purchasing printer "purchasing" now enabled # lpstat -p purchasing printer purchasing is idle. enabled since Fri Jul 13 16:31:29 2012. available. # ---------- Post updated at 03:53 AM ---------- Previous update was at 03:47 AM ---------- I also tried netstandard__foomatic instead of netstandard , in that case the page alignment is perfect (ie) is automatically goes to the next paper to print the second copy but the font and the page alignment varies as a result we are missing some data on the right side of the page. Thanks, Srinath
Last edited by Corona688; 07-26-2012 at 11:03 AM.. |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
Hi Srinath, It sounds like there is a form feed directive missing from the interface files. I have seen this before a long time ago. I think from memory the files will be in; Code:
/usr/lib/lp/model Regards Dave |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Hi Dave, Thanks for your reply... This is the diectory where all the interface files are present. The list is Code:
netstandard ppd standard_foomatic tsol_netstandard_foomatic tsol_standard_foomatic netstandard_foomatic standard tsol_netstandard tsol_standard uri What do you mean by form feed directive? Do i need to make any changes in the interface files. Last edited by Scott; 07-27-2012 at 10:00 AM.. Reason: Code tags |
|
#4
|
|||
|
|||
|
Hi, Sorry about the delay in responding, if you check in the directory; Code:
/etc/lp/printers/printername There should be a file called configuration I think, in the file there should be the name of the interface file. This will tell you which interface is being used and the model. You should then be able to modify the "terminfo" database, to do this you have to use "infocmp" and "tic" to put the correct information for your interface file and model file in place. If you check the Oracle site you will find the information that you need, it will be in the systems administration guides. Regards Dave Last edited by gull04; 07-27-2012 at 09:57 AM.. Reason: More information. |
| Sponsored Links | |
|
|
#5
|
|||
|
|||
|
Hi Dave,
No problem. Yes I have the config file in that specified location and it got created by me. I added the printer using the lpadmin command as i said earlier and you can see the output of that from the earlier post. My doubt is how do I set the default page size and pitch. And is it beacuse of this that I am not able to get the proper page break in reports. Thanks, Srinath |
| Sponsored Links | |
|
|
#6
|
|||
|
|||
|
Hi, All your page lenght and pitch commands can be changed when you amend the terminfo file for the printer. If you look at the file below you will see the information is pretty easy to read, although you should be carefull what you change. Code:
su01sa001> cd /usr/share/lib/terminfo
su01sa001> ls
1 2 3 4 5 6 7 8 9 A B G H M P S a b c d e f g h i j k l m n o p q r s t u v w x y z
su01sa001> cd e
su01sa001> ls
emots ep2500+basic ep2500+low ep4080 epson2500-80 ergo4000 ex3000
env230 ep2500+color ep40 ep48 epson2500-hi esprit exidy
envision230 ep2500+high ep4000 epson2500 epson2500-hi80 ethernet exidy2500
su01sa001> infocmp ep2500+basic
# Reconstructed via infocmp from file: /usr/share/lib/terminfo/e/ep2500+basic
ep2500+basic,
cpix,
cols#136, it#8, lines#66, orc#6, orhi#60, orl#30,
orvi#180,
bold=\EG,
cpi=%?%p1%{10}%=%t^R\EP%e%p1%{12}%=%t^R\EM%e%p1%{20}%=%t^O\EM%e%p1%{17}%=%t^O\EP%;,
cr=\r,
csnm=%?%p1%{0}%=%tcharacter_set_1%e%p1%{1}%=%tcharacter_set_2%e%p1%{2}%=%tusa%e%p1%{3}%=%tfrench%e%p1%{4}%=%tgerman%e%p1%{5}%=%tuk%e%p1%{6}%=%tdanish1%e%p1%{7}%=%tswedish%e%p1%{8}%=%titalian%e%p1%{9}%=%tspanish1%e%p1%{10}%=%tjapanese%e%p1%{11}%=%tnorwegian%e%p1%{12}%=%tdanish2%e%p1%{13}%=%tspanish2%e%p1%{14}%=%tlatin_american%;,
cub1=\b, cud1=\n, cuf1=\s,
cvr=%?%p1%{0}%>%p1%{256}%<%&%t\E3%p1%c%;, ff=\f,
ht=\t, is1=^Q^X, is2=\E@\E%0\EO, ritm=\E5, rmso=\EF,
rmul=\E-0, rshm=\EF, rsubm=\ET, rsupm=\ET, rwidm=\EW0,
scs=%?%p1%{0}%=%t\E7%e%p1%{1}%=%t\E6%e%p1%{1}%>%p1%{15}%<%&%t\ER%p1%{126}%+%c%;smso=\EE,
sgr=%?%p1%t\EE%e\EF%;%?%p2%t\E-1%e\E-0%;%?%p6%t\EG%e\EH%;,
sgr0=\EF\E-0\EH\ET\EW0\E5, sitm=\E4,
slines=%?%p1%{0}%>%p1%{128}%<%&%t\EC%p1%c%;,
smglp=%?%p1%{256}%<%t\El%p1%{1}%+%c%;,
smgrp=%?%p1%{256}%<%t\EQ%p1%{2}%+%c%;, smul=\E-1,
snlq=\Ex1, snrmq=\Ex0, sshm=\EE, ssubm=\ES1,
ssupm=\ES0, swidm=\EW1,
u9=%?%p1%{0}%>%p1%{128}%<%&%t\EC%p1%c%;,
su01sa001>The sequence of commands would be as follows, please remember to make a backup of the files before you edit them. Code:
# infocmp ep2500+basic > new_file.txt # vi new_file.txt # tic new_file.txt > ep2500+basic You will have to decide on the changes that you need such as pitch etc, it may well be that the file being used is the colour file or one of the other ep2500 files. So you will have to be specific and edit the correct file with the correct values. Regards Dave ---------- Post updated at 12:57 PM ---------- Previous update was at 12:22 PM ---------- Hi, For the values that you will be changing, you can look here this should give you a good start. Regards Dave |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem setting up CD-ROM drive | jdsnatl | SCO | 2 | 04-10-2012 10:20 AM |
| Picking problem with printers | enkei17 | UNIX for Dummies Questions & Answers | 5 | 02-04-2011 04:00 PM |
| Setting Ulimit problem | Waitstejo | UNIX for Advanced & Expert Users | 7 | 06-14-2010 11:01 AM |
| problem in setting PS1 variable | sanjay1979 | Solaris | 3 | 02-10-2009 04:49 PM |
| Problem defining remote printers on solaris 10 | bonovox | Solaris | 2 | 10-16-2008 09:53 AM |
|
|