ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: Re: [Ltib] Reg - Printer Support for IMX31


From: Stuart Hughes
Subject: Re: Fwd: Re: [Ltib] Reg - Printer Support for IMX31
Date: Fri, 29 Jun 2007 08:50:52 +0100

Hi R.J,

I don't know much about samba printing at all other than it can do
remote printing.  The mpc8349itx in LTIB sets up a samba config (but I
don't know if it does printing).  To get an idea of the config files it
uses take a look at (in the CVS version of LTIB) at:
config/platform/mpc8349itx/merge/etc/samba/....

If you need local printing then you will need a package like cups that
knows how to deal with real local printer hardware.  As far as cross
compiling goes it depends on the package.  The first thing to establish
if it depends on any other packages and make sure they are available (or
add them yourself).  Once that's done find something that is similar in
construction to the package you want to build and then use its spec file
as a guide.

I'm not expert on printing.  Google is your best best, or maybe some
other forums.

Regards, Stuart

On Fri, 2007-06-29 at 11:55 +0530, R.J.Sivakumar wrote:
> 
> Dear Stuart,
>                Thanks for your information as i successfully build samba in
> Ltib. But i couldnt find the smb.conf file which is the core file for samba
> configuration.Also i dont have any folders named samba which consist
> configuration files .Can you please suggest me how get the smb.conf file and
> to enable the local printer in the target through samba.
>      Also i just want to know wheather samba needs CUPS or any other printing
> system to support the local printer.Can you suggest me how to cross compile a
> seperate printing system like CUPS or Gutenprint with LTIB.
> 
> Thanks in advance
> 
> Best Regards,
> Sivakumar.R.J
> 
> On Wednesday 27 June 2007 2:05 pm, you wrote:
> > Hi R.J,
> >
> > Which BSP are you using (& version)?  the error output looks like you
> > have an old samba.spec file (gcc4 errors).  The current
> > dist/lfs-5.1/samba/samba.spec should look like this:
> >
> > Source          : %{name}-%{version}.tar.gz
> > Patch1          : samba-3.0.2-configure-cross-2.patch
> > Patch2          : samba-3.0.2-gcc4-fix.patch
> >
> > As far as printing goes, I'm no expert, gutenprint has not been added
> > into LTIB by me.
> >
> > For LPR and other information take a look on google, one interesting
> > page is here: http://www.linux-foundation.org/en/OpenPrinting
> >
> > Regards, Stuart
> >
> > On Wed, 2007-06-27 at 13:01 +0530, R.J.Sivakumar wrote:
> > > hi Stuart & giovan,
> > >           Thanks for your information, but when i try to include samba in
> > > the Ltib configuration its giving some compiler error which i copied
> > > below.Also is this gutenprint supported by LTIB?.please give me some
> > > information regarding that old unix LPR package.
> > >
> > >
> > >   Compiling dynconfig.c
> > > In file included from include/smb.h:1627,
> > >                  from include/includes.h:783,
> > >                  from dynconfig.c:21:
> > > include/popt_common.h:25: error: array type has incomplete element type
> > > include/popt_common.h:26: error: array type has incomplete element type
> > > include/popt_common.h:27: error: array type has incomplete element type
> > > include/popt_common.h:28: error: array type has incomplete element type
> > > make: *** [dynconfig.o] Error 1
> > > error: Bad exit status
> > > from /home/skumar/freescale/ltib-imx31ads-20060709/tmp/rpm-tmp.68956
> > > (%build)
> > >
> > > RPM build errors:
> > >     Bad exit status
> > > from /home/skumar/freescale/ltib-imx31ads-20060709/tmp/rpm-tmp.68956
> > > (%build) Failed building samba
> > >
> > > Best regards,
> > > Sivakumar.R.J
> > >
> > > On Tuesday 26 June 2007 4:39 pm, you wrote:
> > > > Hi Sivakumar.R.J,
> > > >
> > > > I have fronted something similar for a project that is in standby, at
> > > > the moment. The way I tried is to use "gutenprint" suite of drivers. I
> > > > arm-cross-compiled it and started testing. The problem is that is very
> > > > poorely documented for a direct usage (without CUPS infrastructure or
> > > > GIMP).
> > > >
> > > > It could be useful for you to look at:
> > > >
> > > > http://sourceforge.net/forum/forum.php?thread_id=1649374&forum_id=4359
> > > >
> > > > The best thing, I think, is to focus on a family of printers and use
> > > > the driver from the gutenprint package.
> > > >
> > > > Bye.
> > > >
> > > > Stuart Hughes said:
> > > > > Hi Sivakumar.R.J,
> > > > >
> > > > > Currently there is no package in LTIB intended to provide printing
> > > > > services.
> > > > >
> > > > > Most people on Desktops use cups as you say, but this is quite big
> > > > > and I'm not sure how cross compile friendly it is.
> > > > >
> > > > > Depending on what you're trying to achieve, it may be better to try
> > > > > to use a remote printer rather than install a package that knows how
> > > > > to print to a huge database of local printers. Maybe you could try
> > > > > adding the old unix LPR package?  Another option maybe to try
> > > > > smbprint from samba (which is in LTIB), I'm not sure what that needs
> > > > > though.
> > > > >
> > > > > Maybe someone else knows of a good small remote printing package for
> > > > > embedded?
> > > > >
> > > > > Regards, Stuart
> > > > >
> > > > > On Tue, 2007-06-26 at 14:35 +0530, R.J.Sivakumar wrote:
> > > > >> Dear all,
> > > > >>            As we are working in USB driver of IMX31ADS in support of
> > > > >> printer, we couldn't find any resources in the BSP for testing
> > > > >> printer.When i come  across some linux printer forum,i came to know
> > > > >> CUPS should be installed for  supporting lp program which is not
> > > > >> there in the BSP.Is there any package in  the BSP will support the
> > > > >> printer device? .Is Busy Box consists of any  commands for
> > > > >> it?.Please give us a suggestion.
> > > > >>
> > > > >> Thanks in advance
> > > > >
> > > > > _______________________________________________
> > > > > LTIB home page: http://bitshrine.org
> > > > >
> > > > > Ltib mailing list
> > > > > address@hidden
> > > > > http://lists.nongnu.org/mailman/listinfo/ltib
> 
> --
> Best regards,
> Sivakumar.R.J
> 
> -------------------------------------------------------
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]