knowing if a printer is connected
jmyepes at mac.com
Fri Nov 20 05:40:32 CST 2009
I'm very glad that this will be usefully for you. As I say, the only
problem is convert the printer name to use "_". I preparing my own
stack printer options to print using the shell commands.
Here you can found more info with more deep.
When I have something visible I send you for if can be usefully.
El 20/11/2009, a las 6:14, Phil Davis-5 [via Runtime Revolution]
> This is the best so far!
> Phil Davis
> JosepM wrote:
> > Hi,
> > Also you can use from the shell:
> > lpstat -p --> to see the available printers
> > lpstat -d --> to know the default printer name
> > and to send directly to the printer:
> > lpr -P <name of the printer> -o page-ranges=1 -o landscape <path
> to the file
> > to print>
> > If you check the lpr command in CUPS manual you can see a lot of
> options to
> > control the job sended to the printer. The question is capture the
> name of
> > the printer or class.
> > The name use "_" for spaces, assigning the name directly don't
> work, almost
> > for me.
> > Salut,
> > Josep
> Phil Davis
> PDS Labs
> Professional Software Development
> use-revolution mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> View message @ http://n4.nabble.com/knowing-if-a-printer-is-connected-tp624188p624409.html
> To unsubscribe from Re: knowing if a printer is connected, click here.
View this message in context: http://n4.nabble.com/knowing-if-a-printer-is-connected-tp624188p624552.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode