try also

cat file > /dev/lp0

or

echo "test" > /dev/lp0

did i help you?

On Wed, Sep 23, 2009 at 5:54 PM, Vassilis K <vka...@otenet.gr> wrote:
> Actually it is a serial matrix impact printer (panasonic KX-P1150) with a 9
> pins head and parallel port (LTP)
> So I think it is only possible to print with Shell command like
>
> SHELL lp -d ltp2 printfile.ps
>
> I only need an example for this action. If somebody has done it before it
> would be nice to know how.
> I want to print one line each time without paper feeding. Only one line feed
> on every action.
> In Visual Basic 6 this command was:
>
> Open "LPT3" For Output As #8
>            Print #8, "Hello World"
>  Close #8
>
> The result was:
>
> Hello World
>
> with page feed. The printer only feeded the current line.
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 

Γεια χαρα σε όλους!!!

Regards,

Demosthenes Koptsis

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to