SoftMaker.com

English-Language Support
It is currently Tue Feb 09, 2010 6:56 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: PlanMaker on OpenBSD 4.1
PostPosted: Thu May 17, 2007 7:07 pm 
Offline

Joined: Wed Sep 08, 2004 2:48 am
Posts: 11
Hi Tobias:

PlanMaker 2006 for Linux is working really well on OpenBSD 4.0 and 4.1.

For OpenBSD:

Install the RedHat or Fedora Core packages from ports (or the ftp site). PlanMaker and TextMaker seem to run better with the more recent Fedora Core *.rpms.

Copy the PlanMaker */tar.gz to /emul/linux/usr/bin/ and untar it.

Enable Linux emulation by changing the following in /etc/sysctl.conf, from
#kern.emul.linux=1
so that it reads
kern.emul.linux=1 # enable running Linux binaries

Finally, do (as root)
# sysctl -w kern.emul.linux=1
to get PlanMaker to run for the first time. On subsequent boots, the
the Linux emulation will be started by /etc/sysctl.conf

To use PlanMaker or TextMaker you have to specify the absolute path like so:
/emul/linux/usr/bin/office/textmaker

___________________________________________________
Also to enable printing in OpenBSD I am including the following:
These examples are based on OpenBSD 4.1 on i386. They should also work for OpenBSD 40. and 3.8. They are for an HP 6940 Deskjet. substitute the appropriate HP model number for your printer.

IMPORTANT: You can only use HP printers with the hpijs printer. It won't
work with Epson, Lexmark or other printers.

1) Go to http://www.openprinting.org and look for the Deskjet 6940 *.ppd (or whatever your *.ppd should be). Download the *.ppd.

2) Install a2ps from packages.
pkg_add ftp://ftp.openbsd.org/pub/OpenBSD/4.0/packages/i386/a2ps*.tgz
(where the * denotes the appropriate version.

3) pkg_add ftp://ftp.openbsd.org/pub/OpenBSD/4.0/packages/i386/hpijs*.tgz
to install the HP print driver

4) Copy HP-DeskJet_6940-hpijs.ppd to /usr/local/sbin/

5) Modify your /etc/printcap so that it looks like this:
lp|HP6940:\
:lp=/dev/ulpt0:\
:af=/usr/local/sbin/HP-DeskJet_6940-hpijs.ppd:\
:if=/usr/local/bin/foomatic-rip:\
:sd=/var/spool/output/lp:\
:lf=/var/spool/output/lp/log:\
:mx#0:\
:sh:
This assumes that you are using a USB printer.

6) Go to /var/spool/output
# cd /var/spool/output

do: #mkdir lp
then do: #chown daemon:daemon lp/
as root.

7) As root do: # touch /var/spool/output/lp/log

8) edit /etc/rc.conf by changing the variable lpd_flags=NO to lpd_flags=""

9) Add your hostname to /etc/hosts.lpd.

10) Reboot the computer and printing should be working.

11) You may need to change the defaults in /etc/a2ps-site.cfg.

See
http://www.infres.enst.fr/~demaille/a2p ... s_toc.html
for details on configuring the a2ps-site.cfg

Also, change the /etc/a2ps.cfg line:

From:
#################################################################
# 3) Default settings #
#################################################################
# Two virtual pages per sheet
Options: -2

To:
#################################################################
# 3) Default settings #
#################################################################
# Two virtual pages per sheet
# Options: -2
# One virtual page per sheet
Options: -1

Note that the Options -2 has been commented out.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 21, 2007 8:37 am 
Offline

Joined: Fri Nov 21, 2003 3:23 pm
Posts: 3423
Location: Nürnberg, Germany
Thanks for this great HowTo to run our software on OpenBSD.

_________________
Tobias Leißner
SoftMaker Software GmbH



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group