[Gambas-user] Is there an Lprint equivalent

nando nando_f at ...951...
Thu Apr 2 20:25:02 CEST 2009


Same issue for me but it was for a printer connected serially 
(a point of sale printer)
I used the serial component, created an instance and WRITE to it
directly.  I did this with computers with serial ports and without
where I used a USB to serial converter.  Works wonderful.

As for parallel, for direct chars out, I think it is easier to 
use a USB to parallel port converter and WRITE chars to the USB port.
This is closest to the old QB days of direct printing.

When you plug in a usb to something, it becomes a device names something like
/dev/ttyUSB0  (or 1 or 2...)
-Fernando



---------- Original Message -----------
From: CelticBhoy <weldon_gary at ...67...>
To: gambas-user at lists.sourceforge.net
Sent: Thu, 2 Apr 2009 05:56:29 -0700 (PDT)
Subject: [Gambas-user]  Is there an Lprint equivalent

> The last time I coded i used the old QuickBasic under windows 3.1. What I
> want to know is if there is an equivalent to the Lprint command to send a
> line to the printer?
> 
> If not how do I print to the printer ???
> 
> I had a look at the documentation but couldn't find anything.
> -- 
> View this message in context: http://www.nabble.com/Is-there-an-Lprint-
> equivalent-tp22847224p22847224.html Sent from the gambas-user mailing list 
> archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
------- End of Original Message -------





More information about the User mailing list