baanpuff
7th October 2002, 08:07
We have a line printer(Printronix P5000) and configure it to Baan as windows printer previously it was setup as direct printer, but we have a problem.
1. Every time there is a paper jam I need to clean up the device queue in unix {lpc clean}, so its time and effort consuming so what I did is I install scripting tool to the user that can clean up the queue in unix. (User: root)
2. Another problem... we need to disable the scripting tool for security purposes bcos the logon is root.
3. So to solve the problem in security we planned to changed the configuration from direct printing to windows printing.
I configure it but I got another problem I CAN'T GET A READABLE OUTPUT in reports using the standard fonts (small and 17 cpi).
Please Help!!!! :(
brugmanrad
8th October 2002, 16:42
Which windows driver are you using?
For W95 and W98 we are using the Printronix LP+ Driver, version 1.00P and all is working well.
You can download it from www.printronix.com.
baanpuff
14th October 2002, 08:51
Hi! Brugmanrad, we are using printronix P5000 driver for Windows 2000 and I ca'nt get a readable output. Is there a problem on bwprint , what bw version you are using? We are using B4063.
thanks,
baanpuff:confused:
brugmanrad
14th October 2002, 14:37
We are using bw version 62, and bwprint version 0602.
Is it possible to make a readable testprint from windows?
Can you try to change fonts by using the preview?
baanpuff
16th October 2002, 09:16
I updated my bw version from 063 to 066 and still got the same output.
Characters printed in baan is different from characters printed in Microsoft Word. I changed the font through bwprint still.... the font is not enhanced.
I do not know what will I do now..... I wana jump in a window.
If I can't configure the printer in Windows please help me to configure it in unix differently from our existing setup in unix.
brugmanrad
17th October 2002, 13:58
Hi baanpuff,
I am sorry, but we work on NT, and I do not know how to configure the printer in unix.
Good luck with your problem
Han Brinkman
17th October 2002, 16:58
What's exactly the problem? If the paper jams you can hardly blame unix for that or ?
It should be possible to start the lpclean command via a sticky bit so that the user gets temporarily the authorization to run it without having all the time root permissions.
On the other hand it should work from Windows as well.
By sending the output to bwprint with the preview option you can change the used fonts to any of the installed fonts. So if word prints fine bwprint should be able to produce something readable as well.
Rgrds,
Han
baanpuff
18th October 2002, 04:36
Hi Han,
Yes I agree that if word prints fine bwprint should be able to produce something readable as well, on other printer it works , like in epson fx1050, lq1120 but not in Printronix P5000 and that my big problem, If I'll stick with my unix setup I don't know the command to access the lpc clean by normal user.
thanks,
baanpuff
Han Brinkman
18th October 2002, 14:40
chmod 4555 /usr/ucb/lpc
This means that the user gets the rights of the owner during the execution of the program.
This means that you users must have shell access. I don't allow my users to have that. You could write a little script and link that in to the owners menu to cleanup the queue.
Rgrds,
Han
baanpuff
24th October 2002, 08:11
I can't find lpc in /usr/ucb, I found it in /usr/sbin and I changed permission but I can't execute the command using ordinary user "lpc not found".
r-sr-xr-x root bin lpc
Thanks,
baanpuff
Han Brinkman
24th October 2002, 14:02
So you need to add /usr/sbin to the PATH variable...
Best way is to hang a script in the menu of the user. The script should contain as one of the first lines
PATH=$PATH:/usr/sbin
lpc clean <printername>